If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
creating a log file with MS Access
I currently have a database that uses MS Access, with a login system. I
used the built in security system of access to do this, which is in (.MDW) format. The problem i have now is that I want to create a log file of all the people that logged in the database. Which means, it would display: There username, date/time they logged in etc. My system also has a splashscreen and a switchboard. |
#2
|
|||
|
|||
creating a log file with MS Access
"snipersix" wrote in message
oups.com... I currently have a database that uses MS Access, with a login system. I used the built in security system of access to do this, which is in (.MDW) format. The problem i have now is that I want to create a log file of all the people that logged in the database. Which means, it would display: There username, date/time they logged in etc. My system also has a splashscreen and a switchboard. And your question regarding that is? -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#3
|
|||
|
|||
creating a log file with MS Access
well my question is, how do i create a log file given this situation,
like what are the codes necessary to do this. Rick Brandt wrote: "snipersix" wrote in message oups.com... I currently have a database that uses MS Access, with a login system. I used the built in security system of access to do this, which is in (.MDW) format. The problem i have now is that I want to create a log file of all the people that logged in the database. Which means, it would display: There username, date/time they logged in etc. My system also has a splashscreen and a switchboard. And your question regarding that is? -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#4
|
|||
|
|||
creating a log file with MS Access
"snipersix" wrote in message
oups.com... well my question is, how do i create a log file given this situation, like what are the codes necessary to do this. Create the table with the desired fields. In your startup code run an append query to add a row to that table. EXAMPLE: INSERT INTO TableName (UserNameField, LoginTimeField) VALUES(CurrentUser, Now()) -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#5
|
|||
|
|||
creating a log file with MS Access
where do i insert the code in my splash screen or in the table?
Rick Brandt wrote: "snipersix" wrote in message oups.com... well my question is, how do i create a log file given this situation, like what are the codes necessary to do this. Create the table with the desired fields. In your startup code run an append query to add a row to that table. EXAMPLE: INSERT INTO TableName (UserNameField, LoginTimeField) VALUES(CurrentUser, Now()) -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#6
|
|||
|
|||
creating a log file with MS Access
"snipersix" wrote in message
oups.com... where do i insert the code in my splash screen or in the table? If you have a form that is automatically opened at startup you can execute the query in the Open or Load event of that form. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#7
|
|||
|
|||
creating a log file with MS Access
another question, what is the code for called an append query in a
form? Rick Brandt wrote: "snipersix" wrote in message oups.com... where do i insert the code in my splash screen or in the table? If you have a form that is automatically opened at startup you can execute the query in the Open or Load event of that form. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#8
|
|||
|
|||
creating a log file with MS Access
"snipersix" wrote in message
ups.com... another question, what is the code for called an append query in a form? If you create a saved query you can use... CurrentDB.Execute "QueryName", dbFailOnError As an alternative the same command above could be used with a SQL statement substituted for the query name. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#9
|
|||
|
|||
creating a log file with MS Access
Sorry i meant, whats the code for calling an append query in a form?
snipersix wrote: another question, what is the code for called an append query in a form? Rick Brandt wrote: "snipersix" wrote in message oups.com... where do i insert the code in my splash screen or in the table? If you have a form that is automatically opened at startup you can execute the query in the Open or Load event of that form. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#10
|
|||
|
|||
creating a log file with MS Access
where do you place this code
INSERT INTO TableName (UserNameField, LoginTimeField) VALUES(CurrentUser, Now()) snipersix wrote: Sorry i meant, whats the code for calling an append query in a form? snipersix wrote: another question, what is the code for called an append query in a form? Rick Brandt wrote: "snipersix" wrote in message oups.com... where do i insert the code in my splash screen or in the table? If you have a form that is automatically opened at startup you can execute the query in the Open or Load event of that form. -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|