J
JohnE
I have a form that shows what reports are available along
with what the user needs to do. One of the fields is
instructions telling the user what they need to do. I am
trying to fill the field using a click event in a listbox
of the report names. I am trying to use the following
code. Originally was using a query but it was cutting off
the instructions.
The table is usrtblReportModule.
The field is called Instructions.
The table field is a memo data type.
The report name is in the usrtblReportModule as ReportName.
Me.txtInstructions.Value = DLookup
("[Instructions]", "usrtblReportModule", "[Instructions]
=Forms![usrfrmReportModule]![ReportName]")
If anyone can see the error, I say thanks in advance for
the assistance.
*** John
with what the user needs to do. One of the fields is
instructions telling the user what they need to do. I am
trying to fill the field using a click event in a listbox
of the report names. I am trying to use the following
code. Originally was using a query but it was cutting off
the instructions.
The table is usrtblReportModule.
The field is called Instructions.
The table field is a memo data type.
The report name is in the usrtblReportModule as ReportName.
Me.txtInstructions.Value = DLookup
("[Instructions]", "usrtblReportModule", "[Instructions]
=Forms![usrfrmReportModule]![ReportName]")
If anyone can see the error, I say thanks in advance for
the assistance.
*** John