General information
Category:
Forms & Form designer
Dear Gordon,
By the way, in my practice, I add a property QUERY in my form.
In the Activate method, I implement the following codes:
thisform.query='' && provide a null string
select TheCustomer && select the table TheCustomer where the data associated
locate for TheCustomerCode==thisform.query
&& move the pointer to end of file, so that no data would be shown
thisform.refresh() && refresh the textboxes and etc
By placing a QueryCommandbutton with Click Mehtod coded:
thisform.query=TheSearchString
select TheCustomer
locate for TheCustomerCode==thisform.query
thisform.refresh()
So that the form would show no data until you preform a search action.
Regards,
Ransome
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only