Guest_imported
New member
- Jan 1, 1970
- 0
I am using the subroutine below, which loads at start-up. The routine takes the User Name Date and TIme and appends this to a UserHistory Table. I would like to be able to do this without a message box coming up on the users computer telling them that a row is going to be appended. The database is run on a large number of computers, and it would be practically impossible to physically set each one up not to display the Append box. Is there any way I can make this diappear? Thanks!<br><br>Private Sub Form_Load()<br>Dim strSQL As String<br>Dim strUserName As String<br><br>'This will get the user name<br>strUserName = Environ("USERNAME"
<br>'----------------------------<br>strSQL = "INSERT INTO UserHistory (UserName,UserDate,UserTime) VALUES ('" & strUserName & "','" & Date & "','" & Time() & "')"<br>DoCmd.RunSQL strSQL<br>End Sub <p>John Vogel<br><a href=mailto:johnvogel@computerwiz.net>johnvogel@computerwiz.net</a><br><a href= Home Page</a><br>Check out