Hi everybody:
I have a form with two parts:
First part contains a query field Request No., and the second part contains dataFields from Main data source, Employee Id,
Employee First Name, Employee Last Name , ... etc.
The FORM:
From Test
(New Record button)
Request No. 21_______ (Request Search button)
Employee Id : ______
Employee First Name: _________
Employee Last Name: ___________
Query Field:
The form has one query field "ReqNo" from a MAIN data source (MS Access db )
Below are the query fields from Main data source:
-myFields
-queryFields
-q:TblAccessCardReq
:ReqNo
:EmplId
.
DataFields:
-myFields
-DataFields
-d:TblRequest
:ReqNo
:EmplId
:EmplLastName
:EmplFirstName
.
My Problem:
When I query the form with a request no. for example 21, I get all the information in the form, It works fine,
then I click the "New Record" button to clear the whole form, but the query field request number remains to the value
that previously I used, in this example I use the value 21. In other words the "New Record" can't clear my query field.
How can I clear the query fields in the form with the "New Record" button?
I am doing something wrong?
Please Help.
Thanks a lot.