Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bad performance
Message
 
 
To
29/01/2002 14:16:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00612305
Message ID:
00612364
Views:
30
>Thanks Sergey -
>
>If we remove the alltrim() and set exact does not come into play, how can we assure ourselves of an exact match? ANy ideas?
>
>Great input as always
>
Hi Larry,

You can change
ALLTRIM(b.TRANNUMBER) = ALLTRIM(m.trannumber) 
to 
b.TRANNUMBER = PADR(m.trannumber, LEN(b.TRANNUMBER ))

and 

ALLTRIM(PRO_SCHT.SPFLAG)="*" 
to 
PRO_SCHT.SPFLAG = PADR("*", LEN(PRO_SCHT.SPFLAG))
It's possible to simplify those conditions based on your tables layout.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform