M
Maurita
Hi All, hope someone can help with a problem that I can't figure out.
I previously posted this problem, but it was never resolved. I have
continued working on the problem, with no luck. I would appreciate
any help that would lead to a resolution to the following problem.
I am trying to pass two fields from PATIENT HISTORY-Form to
frmPersonalHabits. The main form is PATIENT HISTORY-Form which needs
to remain open so that the user can return after the frmPersonalHabits
is completed. I am using a command button named cmdReturnPHForm on
the frmPersonalHabits to return to the main form PATIENT HISTORY-
Form. I have researched this and other Google Access sites for help
but keep having problems, so I posted the other day and received help,
but the help did not resolve the problem, so I am reposting. I am
trying to pass the following by way of the click event of the command
button:
From: PATIENT HISTORY-Form DateSFESigned
Combo91 (includes PatientID)
To: frmPersonalHabits
PHDate copy of Combo91
Anyway, the last code I am using is as follows. I keep getting an
error stating that the "Switchboard can't find the frmPersonalHabits",
but this form is going through a command button on a form, not the
switchboard.
Forms![frmPersonalHabits]![PHDate] = Forms![PATIENT HISTORY-Form]!
[DateSFESigned]
Forms![frmPersonalHabits]![Combo91] = Forms![PATIENT HISTORY-Form]!
[Combo91]
Refresh
P.S.- I tried changing the form name PATIENT HISTORY-Form to
frmPatientHistory but then I received errors stating that the form
name was not recognized.
I really appreciate any help that can be given. I've spent over a
week working on this problem and am ready to pull my hair out. This
is a project for a volunteer organization for which I am not getting
any compensation, so I need to get it done as soon as I can because
it's putting me behind other projects.
Thanks.
Maurita Searcy
I previously posted this problem, but it was never resolved. I have
continued working on the problem, with no luck. I would appreciate
any help that would lead to a resolution to the following problem.
I am trying to pass two fields from PATIENT HISTORY-Form to
frmPersonalHabits. The main form is PATIENT HISTORY-Form which needs
to remain open so that the user can return after the frmPersonalHabits
is completed. I am using a command button named cmdReturnPHForm on
the frmPersonalHabits to return to the main form PATIENT HISTORY-
Form. I have researched this and other Google Access sites for help
but keep having problems, so I posted the other day and received help,
but the help did not resolve the problem, so I am reposting. I am
trying to pass the following by way of the click event of the command
button:
From: PATIENT HISTORY-Form DateSFESigned
Combo91 (includes PatientID)
To: frmPersonalHabits
PHDate copy of Combo91
Anyway, the last code I am using is as follows. I keep getting an
error stating that the "Switchboard can't find the frmPersonalHabits",
but this form is going through a command button on a form, not the
switchboard.
Forms![frmPersonalHabits]![PHDate] = Forms![PATIENT HISTORY-Form]!
[DateSFESigned]
Forms![frmPersonalHabits]![Combo91] = Forms![PATIENT HISTORY-Form]!
[Combo91]
Refresh
P.S.- I tried changing the form name PATIENT HISTORY-Form to
frmPatientHistory but then I received errors stating that the form
name was not recognized.
I really appreciate any help that can be given. I've spent over a
week working on this problem and am ready to pull my hair out. This
is a project for a volunteer organization for which I am not getting
any compensation, so I need to get it done as soon as I can because
it's putting me behind other projects.
Thanks.
Maurita Searcy