I am trying to open the window pictured in the following link using a commmand button in a form. Is it possible that anyone can show me how to do that?
http://www.utteraccess.com/forum/Launching-Attachments-Dia-t1652872.html
Thank you in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am not sure if you can call this specific dialog, but what you can do is use the generic FileDialog with the FilePicker option. Then save use that path to the file and copy the specific file to a shared location (probably somewhere where your backend is stored too). Then in your table, you save the path to that new location.
The use of the filedialog is explained in the help:
And through Google, I came across this (old) topic giving even more reasons not to use the attachement type in your table (update, insert,… queries won’t work that easily i.e.).
Since I follow David.W.Fenton’s comment on my answer, I would also recommend reading the following topic on SO. Especially the answer by Mitch Weath gives some extra information about using the Win32 API for the Open file dialog.