Passing information to forms

K

Kim

I am using my own security, not the userlevel builtin so
I need to know how I can either a) instead of using the
QueryDef for a temporary query, how I can pass the
paramaters to keep the query for the entire runtime. or b)
pass the user information from form to form to form.
 
S

Scott McDaniel

You could always store the user information in public variables in the
General Declarations section of a module. all objects would then have access
to them. Of course, unhandled errors can cause you to lose the value of
these variables, so many people use a class module to serve up the
variables.

Of course, using the builtin security would eliminate these issues, even if
all you do is validate users and never use any of the security features.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top