Question

I have a Access database as front end to a SQL Server back end database. I created a simple form to get the name of the user and I set this form as a display form. Now the value typed in this form is stored into a table in sql server, but since it is the backend db, it requires logging in to the SQL Server. Now the problem is: when I try to open access from a different PC, the security warning comes up and asks to enable content. Now the display form does not allow me to enable content and the vba code will not run unless I enable content. I need some help to find a solution to this problem. Can I somehow delay the display form from showing up until the enable content is clicked? Thank You.

enter image description here

Was it helpful?

Solution

Make your "Access User" form modeless; thus you'll have the possibility to Enable Content.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top