gary.newport
Registered User.
- Local time
- Today, 22:47
- Joined
- Oct 14, 2009
- Messages
- 79
I am using the following to place data from a given field into the defined textbox, called txtBreakNo:
The field txtPrimary reports the correct value (from the test side I would be expecting a value of 44 and that is what I am getting), but I get a Null value.
The field name and the table name are correct so where am I going wrong?
Code:
txtPrimary.Value = txtPrimary.ItemData(0)
txtBreakNo.Value = DLookup("intBreakNo", "tblActivityStaffDate", "WeeklyActivity_ID" = txtPrimary.Value)
The field txtPrimary reports the correct value (from the test side I would be expecting a value of 44 and that is what I am getting), but I get a Null value.
The field name and the table name are correct so where am I going wrong?