Returning a value from a Popup

L

Layne

I have a popup that attaches files and stores them in the db. I would like
to know if it is possible, and if so, how, to pass the file name back to the
original screen and retain it as a hyperlink. I have created a separate
table for the attachment and have links to the primary screens table key.

Please assist.


Regards,

Layne
 
O

Ofer

On the unload event of the second form you can write the code

Forms![First Form Name]![FieldName] = FileName
 
L

Layne

Ofer,

Thanks for the info. It worked. Brilliant!


Layne

Ofer said:
On the unload event of the second form you can write the code

Forms![First Form Name]![FieldName] = FileName

--
I hope that helped
Good luck


Layne said:
I have a popup that attaches files and stores them in the db. I would like
to know if it is possible, and if so, how, to pass the file name back to the
original screen and retain it as a hyperlink. I have created a separate
table for the attachment and have links to the primary screens table key.

Please assist.


Regards,

Layne
 
Top