R
RedHeadedMonster via AccessMonster.com
Im designing a Registration database for a conference. I have a Main form
that opens and asks for the Password and an email address. Possible
Registrants have been given a password, obviously, to access the DB. If they
have previous registered for a conference their previous registration
information appears in the registration form based on the supplied email
address. Working fine No problem.
However, here's the question, if they've never registered before the form
opens on a new record. What I want to happen is the email they have entered
to be automatically entered into the email field. Currently the form is
opening with all fields completely blank, which would force the Registrant to
re-Enter their email address, and I'd like to skip that step.
Currently using the following code:
stDocName = "frmRegistration"
stLinkCriteria = "[regEmail]=" & "'" & Me![regEmail] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
As always, any suggestions are appreciated.
Thanx!
RHM
that opens and asks for the Password and an email address. Possible
Registrants have been given a password, obviously, to access the DB. If they
have previous registered for a conference their previous registration
information appears in the registration form based on the supplied email
address. Working fine No problem.
However, here's the question, if they've never registered before the form
opens on a new record. What I want to happen is the email they have entered
to be automatically entered into the email field. Currently the form is
opening with all fields completely blank, which would force the Registrant to
re-Enter their email address, and I'd like to skip that step.
Currently using the following code:
stDocName = "frmRegistration"
stLinkCriteria = "[regEmail]=" & "'" & Me![regEmail] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
As always, any suggestions are appreciated.
Thanx!
RHM