eveCalypso
Programmer
Good Day,
I have been asked to write a system in Access. I am quite familiar and comfortable with the DB design etc as well as VBA, but now that I am planning my user interface - I see that I have ideas which I am not sure:
1) can be done/used
2) is best practise for Access
I would appreciate some advice plus your patience as I work through this project.
Firstly, I need and have designed a logon screen.
What I would like to do on the "Login" button, is
a) check against the database that this is indeed a valid
user and
b) select the user's name off my table for display on
subsequent forms
As far as I can see, there are many ways to interrogate the DB thru Access - pre-defined queries, code within the code builder, Modules (?) and Macros.
Which method(s) do you most commonly use to extract, query and or generally communicate with the database from within your forms? I might be doing more complex things later on, but I want to start off doing things in a standard way.
Recommendations?
On a sidenote, how would you best keep global variables (such as my user's real name) for the duration of the application's life?
Let's leave it at this for the moment!
Regards,
EvE
I have been asked to write a system in Access. I am quite familiar and comfortable with the DB design etc as well as VBA, but now that I am planning my user interface - I see that I have ideas which I am not sure:
1) can be done/used
2) is best practise for Access
I would appreciate some advice plus your patience as I work through this project.
Firstly, I need and have designed a logon screen.
What I would like to do on the "Login" button, is
a) check against the database that this is indeed a valid
user and
b) select the user's name off my table for display on
subsequent forms
As far as I can see, there are many ways to interrogate the DB thru Access - pre-defined queries, code within the code builder, Modules (?) and Macros.
Which method(s) do you most commonly use to extract, query and or generally communicate with the database from within your forms? I might be doing more complex things later on, but I want to start off doing things in a standard way.
Recommendations?
On a sidenote, how would you best keep global variables (such as my user's real name) for the duration of the application's life?
Let's leave it at this for the moment!
Regards,
EvE