Solved strange attachment behavior in a form

TipsyWolf

Member
Local time
Today, 03:39
Joined
Mar 20, 2024
Messages
249
i have a main table with one of the 2 data type
1712004923336.png


when i add these 2 fields into a form, one of these 2 acts very wierd for me. it adds "FileData" into a countrol source without me wanting it.
1712005102866.png


when i manually go to change countrol sourse it already set *FileData to it.
1712005153920.png

and chaning it to"picbefore" doesnt help... like it doesnt care my seleciton. it still goes back to *FileData.

I tried to remove 2 data type field from main table and add again. - no luck.

its very impormant to me as when i double click on it - it doesnt suggest me to add some attachmets. or even when i right click on it - a Manage Attchments is grey out

1712005354933.png


what do u guys think might be a problem is ?
 
Can you post a sample db with test data?
 
Can you post a sample db with test data?
sure ! here it is.
open a RiskPage form and try to add 2 attachment objects. picbefore and picafter.
i removed evertything that makes a db weights less than 1mb.
thanks for helping
 

Attachments

Last edited:
and not only fix such problems in a future, but also i need to know it cause i need to implement it in my original DB. I just copied these 2 objects and they have the same issues (picbefore is not allowing me to attach an attachments.
it must be some manipulaiton in database itself
 
Last edited:
and not only fix such problems in a future, but also i need to know it cause i need to implement it in my original DB. I just copied these 2 objects and they have the same issues (picbefore is not allowing me to attach a attachments.
it must be some manipulaiton in database itself
Check the record source of the table.
Your record source was not correct.
Copy the record source of the file I attached and use it in your original database.

2024-04-02_15-03-52.jpg
 

Users who are viewing this thread

Back
Top Bottom