I have a table in my database called T_Param which will contain defaults for the forms used within the database.
One form auto creates a folder location, but I want the user to be able to specify where the default location will be.
I created a public variable called location and a form which allows the user to change the location. The location is changed whenever the user changes it on the param form as it updates the public variable.
However, if the user just goes into the main form, it obviously does not find the default location, as the public variable has not been set.
Is there a way, whenever the database is opened, or when the form is opened, to tell the public variable to use whatever is stored in the T_Param table in the field called FName?
Hope that makes sense!!
One form auto creates a folder location, but I want the user to be able to specify where the default location will be.
I created a public variable called location and a form which allows the user to change the location. The location is changed whenever the user changes it on the param form as it updates the public variable.
However, if the user just goes into the main form, it obviously does not find the default location, as the public variable has not been set.
Is there a way, whenever the database is opened, or when the form is opened, to tell the public variable to use whatever is stored in the T_Param table in the field called FName?
Hope that makes sense!!