Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution slow
Message
 
 
To
23/06/2000 11:52:55
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00383777
Message ID:
00384194
Views:
42
Bob,

Are you saying there is a significant timing difference between these two versions of code in the exact same place in code:

Version 1:

select * from contacts where UPPER(NLAST)="SMITH" AND UPPER(NFIRST)="JOHN" into table c:\temp\foundit

Version 2:

pcFilterString='UPPER(NLAST)="SMITH" AND UPPER(NFIRST)="JOHN"'
select * from contacts where &pcFilterString into table c:\temp\foundit

It should be pretty insignificant for the compile time of this simple macro
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform