J
Joe Jeffcoat
Hello All...
I have a form that will allow a user enter information with one of the
fields being a date. I have a button beside this date field that will open
a new form that has a calendar on it. The purpose of this new form will
allow the user to browse the calendar, click on a date, click an "ok"
button, then be returned to the previous form with that date field populated
with the selected date from the calendar. I have been able to successfully
pass the form name to the form being opened (docmd.OpenForm
"frmCalendar",acNormal,,,,Me.Name or something close). Now I'm stuck... I'm
not sure where to go from here. How do I link back to the form that opened
the calendar form? Better yet... how do I link back to the field on the
form that opened the calendar form?
I'm wanting to do this so that I can have a "generic" calendar form that all
I have to do is provide an argument and it will send back the information.
This way, I don't clutter my database with copies of a form that have to
interact with different forms.
If you could help, I would greatly appreciate it. If I've confused you
more, reply back and I'll try to explain better.
Thanks!
Joe
I have a form that will allow a user enter information with one of the
fields being a date. I have a button beside this date field that will open
a new form that has a calendar on it. The purpose of this new form will
allow the user to browse the calendar, click on a date, click an "ok"
button, then be returned to the previous form with that date field populated
with the selected date from the calendar. I have been able to successfully
pass the form name to the form being opened (docmd.OpenForm
"frmCalendar",acNormal,,,,Me.Name or something close). Now I'm stuck... I'm
not sure where to go from here. How do I link back to the form that opened
the calendar form? Better yet... how do I link back to the field on the
form that opened the calendar form?
I'm wanting to do this so that I can have a "generic" calendar form that all
I have to do is provide an argument and it will send back the information.
This way, I don't clutter my database with copies of a form that have to
interact with different forms.
If you could help, I would greatly appreciate it. If I've confused you
more, reply back and I'll try to explain better.
Thanks!
Joe