Bret
|
| Posted: 12/07/2004, 12:11 PM |
|
I am a new user to CodeCharge and am having trouble populating a field using DLookup. I got the correct value (verified with a Response.Write) but when I try to set the field value I get errors.
EmployeeName.Value = CStr(CCDLookUp("EmployeeName","Master","formid = 1",DBConnection1))
I get the following error
Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'EmployeeName'
/Test/CheckList_events.asp, line 11
Fieldname = EmployeeName, Form = Form1, Page = CheckList
I have tried adding the CheckList., CheckList.Form1., ME., anything that corresponds to the examples in the help file -- but no luck.
Would someone volunteer to mentor me a little?
Thanks!
|