nageswaragunupudi wrote:btw where is this function UrlImage() ?
nageswaragunupudi wrote:
- Code: Select all Expand view
cFileNew := StrTran( cfotografia, cFileNoExt( cfotografia ), AllTrim( oAlunno:matricola ) )
if FRename( cfotografia, cFileNew ) == 0
oAlunno:foto := cFileNoPath(cFileNew)
oAlunno:Save()
endif
cFileNew := StrTran( cfotografia, cFileNoExt( cfotografia ), AllTrim( oAlunno:matricola ) )
if FRename( cfotografia, cFileNew ) == 0
oAlunno:foto := cFileNoPath(cFileNew)
oAlunno:Save()
endif
Otto wrote:Does it work?
nageswaragunupudi wrote:I suggest this work-around.