Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP form not using indexes 1

Status
Not open for further replies.

petes123

Technical User
Jun 8, 2001
11
US
I have a VFP 6.0 form and it doesn't appear to use the index tag when I use the wizard geberated find button. Is there a way to insure it does? Is there a way to access the code the find button uses and modify it?
 
Hi,
1. In your data environment...
Select the file and set the index order to the index you want.
2. If the searching index tag is different than the index order you otherwise set, (when you click on the Find button)
Put the code in the Click event of the Find Command

SET ORDER TO TAG myTag IN myAlias
DODEFAULT()
SET ORDER back to oldtag

Hope this helps
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top