torturedmind
Programmer
i have this small code:
my question is, how can i put the orpic.gif file in a report if its path will depend on the temporary folder of the logged user?
thanks in advanced and have a nice day. peace! [peacemen]
kilroy![[knight] [knight] [knight]](/data/assets/smilies/knight.gif)
philippines
"Once a king, always a king. But being a knight is more than enough."
Code:
wait window "Generating signature files..." nowait
if not directory(sys(2023) + "\tmpsgn")
mkdir (sys(2023) + "\tmpsgn")
endif
wait window "Generating signature files..." timeout 1
select ecn4app1
set filter to alltrim(ecn4app1.idkey) == alltrim(xidkey)
go top
if ecn4app1.or_ok
strtofile(ecn4app1.orpic, sys(2023) + "\tmpsgn\orpic.gif")
else
copy file ("v:\vfp6\dccsys\others\qmarks.gif") to (sys(2023) + "\tmpsgn\orpic.gif")
endif
wait window "Generating signature files..." timeout 2
report form ecncover preview in screen to printer prompt
erase (sys(2023) + "\tmpsgn\*.*")
rmdir (sys(2023) + "\tmpsgn")
set filter to
go top
my question is, how can i put the orpic.gif file in a report if its path will depend on the temporary folder of the logged user?
thanks in advanced and have a nice day. peace! [peacemen]
kilroy
![[knight] [knight] [knight]](/data/assets/smilies/knight.gif)
philippines
"Once a king, always a king. But being a knight is more than enough."