Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Size and Speed
Message
 
 
To
08/01/2003 20:31:10
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00738384
Message ID:
00739651
Views:
16
Yau,

You are joining to the whole table fheader. If fheader contains more than one row, you may be getting a lot more data pulled into the query than you need. If you want a single fheader.custcode to be evaluated in those queries, you should pull the value out to a memvar:
lnCustCode = fheader.custcode
select ... 
   where ... = m.lnCustCode
>The fheader.custcode is actually a field of the currently selected table.
>As for the tarmast, you're right, I should have it removed.
>Will let you know the result.
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