NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on September 14, 2012, 08:01:13 AM
-
I've been putting off dealing with deleting images associated with a client's record.
I delete the record, but I believe the pointer to the image is a URL type pointer, not a Windows pointer.
1. Do I need to also store the Windows path with the record, or build a routine to convert it to a useful Windows path?
2. My biggest problem is finding an embed point to do the delete before the record and its path info is gone.
Thanks in advance for any ideas.
-
Hi Mike
I'm not sure if this is answering your question but what I do is save the path to the record to a session variable before deleting the record and then delete the image using the session variable after the record deletion.
-
Thank you for the suggestion Terry. I seem to always have trouble finding the right embed. I'm either too early or too late in deleting the images, but this might help.
-
Hi Mike,
>> I delete the record, but I believe the pointer to the image is a URL type pointer, not a Windows pointer.
It's whatever you stored when image was uploaded, or set, or whatever.
>> 2. My biggest problem is finding an embed point to do the delete before the record and its path info is gone.
ValidateDelete routine in the Form.
cheers
Bruce