N
Niz406
Hi All Newbie here...
I'm having problems trying to figure out how to do the following:
Insert into an Access DB table the date from a hidden text box using the
now() function that only happens once as in when the reference text box is
populated the date will not change, and then select an Auto number as a
reference number for a different text box that was created by inserting the
date in the previous step.
This will obviously be in an If statement to check if the refreence number
form field is blank. for example:
If txtReference ... 'code to check if its blank or not' Then
Populate the reference table using the date in the form of the following
SQL that relates to the hidden text box. Once this SQL has been fired, then
pull back the reference number for the date that has been inserted in the
text box.
Else
Do nothing
End If
or something similar, in all honesty I have no idea what I'm doing with the
coding, I have done the form creation without the need for scripts or coding
of any sort, but now other managers want to see further functionality that I
have had no experience in.
So any help would be great.
Does my question make any sense?
I'm having problems trying to figure out how to do the following:
Insert into an Access DB table the date from a hidden text box using the
now() function that only happens once as in when the reference text box is
populated the date will not change, and then select an Auto number as a
reference number for a different text box that was created by inserting the
date in the previous step.
This will obviously be in an If statement to check if the refreence number
form field is blank. for example:
If txtReference ... 'code to check if its blank or not' Then
Populate the reference table using the date in the form of the following
SQL that relates to the hidden text box. Once this SQL has been fired, then
pull back the reference number for the date that has been inserted in the
text box.
Else
Do nothing
End If
or something similar, in all honesty I have no idea what I'm doing with the
coding, I have done the form creation without the need for scripts or coding
of any sort, but now other managers want to see further functionality that I
have had no experience in.
So any help would be great.
Does my question make any sense?