My form connects to a database when opened.
I have an attachment interface where users click a custom button, browse and select a file on the PC, then that file is attached to the form in the attachments pane (which remains closed). The filename appears in a list box object. There are two other buttons. One to open whichever filename is selected and one to delete whichever filename is selected.
The problem i am experiencing is when i open the form after saving and there is at least one file attached, connecting to the database clears the list box filenames. If when connecting to the database, I answer "No" so it does not have permission to connect, the filenames remain in the list box as they should.
I tried changing the list box to a drop down object and when connecting to the databse the drop down button no longer works and the drop down is cleared of any file name.
Can someone please help me with this?