OnPush() PictureExists := Picture.HASVALUE; IF Picture.IMPORT('*.BMP',TRUE) = '' THEN EXIT; IF PictureExists THEN IF NOT CONFIRM(Text001,FALSE,TABLECAPTION,"No.") THEN EXIT; CurrForm.SAVERECORD;
CurrFile.CLOSE; IF Confirm(Text000, true) then ERASE(CurrDataport.FILENAME); Where Text000 = 'Would you like to delete the file?'
Answers
The Picture.IMPORT returns the filename
If you save this in a variable you can use the ERASE fucntion to delete the file after it is stored in the database
Name ConstValue
Text003 Do you want to delete the file %1 from Drive
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.BiloBeauty.com
http://www.autismspeaks.org
What part of my example do you not understand?????
The Picture.IMPORT returns the selected file including the location!!!
Let me know if you need any help.
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thought I went crazy :shock:
Glad it works now.
Very Customized Database - Upgrading is not an option anymore
http://www.BiloBeauty.com
http://www.autismspeaks.org