Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not to show off data
Message
From
30/04/2002 00:05:45
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
 
To
28/04/2002 22:56:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00650215
Message ID:
00650739
Views:
17
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
Map
View

Click here to load this message in the networking platform