G
Guest
I have a large database that people enter user information for a computer
lab. What I want to do is make it so when the switchboard loads the user is
prompted to enter a date. Then they can click to access another form to enter
information into. The date is what I want to stay the same, from when they
enter it in at the main switch board in the InputBox. To the every new record
in that form. Whin the need to change the date they go back to the main
switch board. and start again.
*****This is what I have right now, for the switchboard. ******
Option Compare Database
Option Explicit
Public Dateall As String
*****On Activate for the switchboard****
Dim strInput As String
Dateall = "Enter a date like: 5/21/05"
strInput = InputBox(Prompt:=Dateall, Title:="Date")
*****This is what I thought would work for the form, but it does not work
Date is the name of the text box. Right now it is bound to the table.*****
Private Sub Form_GotFocus()
Date.Text = Dateall
End Sub
any help anyone???
Matt
lab. What I want to do is make it so when the switchboard loads the user is
prompted to enter a date. Then they can click to access another form to enter
information into. The date is what I want to stay the same, from when they
enter it in at the main switch board in the InputBox. To the every new record
in that form. Whin the need to change the date they go back to the main
switch board. and start again.
*****This is what I have right now, for the switchboard. ******
Option Compare Database
Option Explicit
Public Dateall As String
*****On Activate for the switchboard****
Dim strInput As String
Dateall = "Enter a date like: 5/21/05"
strInput = InputBox(Prompt:=Dateall, Title:="Date")
*****This is what I thought would work for the form, but it does not work
Date is the name of the text box. Right now it is bound to the table.*****
Private Sub Form_GotFocus()
Date.Text = Dateall
End Sub
any help anyone???
Matt