G
Guest
Can i first say thanks for all the help i have recieved so far from here.
i am new to VBA so please bear with me!!
I am trying to use the Dlookup function to populate an email from the
current form, i have had no problems using the current form. i also want to
pull data from a subform which is where i am having difficulties
The main form is Attendees, the subform is Attendee Subform
Attendee Subform get data from Events Table
i want EventName from the Subform,
i came up with this
DLookup("EventName", "Events",_ "[EventName]='" & Form![Attendee
Subform]![EventName]& "'")
it gives an error
can any one help
i am new to VBA so please bear with me!!
I am trying to use the Dlookup function to populate an email from the
current form, i have had no problems using the current form. i also want to
pull data from a subform which is where i am having difficulties
The main form is Attendees, the subform is Attendee Subform
Attendee Subform get data from Events Table
i want EventName from the Subform,
i came up with this
DLookup("EventName", "Events",_ "[EventName]='" & Form![Attendee
Subform]![EventName]& "'")
it gives an error
can any one help