Hello everyone!
I have the following query:
SELECT [forms]![frmObservation]![ObservationNumber] AS ObservationNumber, tblPerformanceActivities.ObservationType, tblPerformanceActivities.PerformanceActivityNumber, tblPerformanceActivities.PerformanceActivityDescription, tblPerformanceActivities.PerformanceActivityRating
FROM tblPerformanceActivities
WHERE (((tblPerformanceActivities.ObservationType) Like [forms]![frmObservation]![ObservationType]));
When I open frmObservation and start an observation, it assigns a number to the record in the ObservationNumber field (an AutoNumber field). However, when I run the query above, the ObservationNumber field is not carried over from the form. All I see is a square box with a question mark inside it in the ObservationNumber field.
I have never seen this before and can't see why it is happening. :banghead:
Can someone tell me why this won't pull the number from the form?
Thank you in advance.
I have the following query:
SELECT [forms]![frmObservation]![ObservationNumber] AS ObservationNumber, tblPerformanceActivities.ObservationType, tblPerformanceActivities.PerformanceActivityNumber, tblPerformanceActivities.PerformanceActivityDescription, tblPerformanceActivities.PerformanceActivityRating
FROM tblPerformanceActivities
WHERE (((tblPerformanceActivities.ObservationType) Like [forms]![frmObservation]![ObservationType]));
When I open frmObservation and start an observation, it assigns a number to the record in the ObservationNumber field (an AutoNumber field). However, when I run the query above, the ObservationNumber field is not carried over from the form. All I see is a square box with a question mark inside it in the ObservationNumber field.
I have never seen this before and can't see why it is happening. :banghead:
Can someone tell me why this won't pull the number from the form?
Thank you in advance.