Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Search string and search field not matching
Message
De
02/04/1997 13:18:57
 
 
À
01/04/1997 19:24:10
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026433
Message ID:
00026609
Vues:
33
>>my WHERE CLAUSE says.
>>
>>in_fld = 'modem' && to test
>>
>>in_fld = alltrim(thisform.in_fld.value) && needs to be this..
>>
>>WHERE in_fld $ table_fld && this works until I take
>>say:
>>
>>WHERE upper(alltrim(thisform.in_fld.value)) $ table_fld
>>I have done everything..
>>
>>can somebody help?
>I'm not sure exactly what your quesion is, however, you need to strongly reconsider using the "$" as search criteria in your select statement. "$" is not optimizable, so the query is going to actually check each and every record for a match everytime you run your query. If your file is of any size, it is going to take a long time.

Hi Larry.. what should I use instead of "$"?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform