Solved How to get the Attachment in the Form:--

sbaud2003

Member
Local time
Today, 09:03
Joined
Apr 5, 2020
Messages
184
Hi Sir.....
I have a form called FrmMain which get loaded after Login by the User --- (from FrmLogin, Using USEID and the Password)
The FrmMain displays the details of the User on Login like name, ID and Address (Through unbound control boxes)
I have access the Values of the variable from the Table Tblusers (Member_ID as Pkey) and TblMember (Member_FK) (User Login) through Global Variable
Is there any possibilities to Show the Photograph of the User which in stored as attachment in the TblMember.

I have not tried anything because I don't know whether this can be done or not

Hope to get some help....
 
You could also look at the MS Northwind DB which also does that.?
 
Hi. I think, maybe, the easiest way is to use bound subform for it. You can set AllowEdits = No, if you want it to behave like an unbound control.
 
Yes you can certainly do so. In fact its one of the common uses for attachment fields.
Have a look at the MS Contacts template database which includes that feature.

Having said that I recommend you store the photos externally to avoid database bloat.
You would then store the file paths in your app and display the photos using an image control
 

Users who are viewing this thread

Back
Top Bottom