Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select recno() from table1, table2 (which table??)
Message
From
31/12/2001 09:30:52
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00599330
Message ID:
00599345
Views:
16
Change your query to use join, like this:
SELECT *, (receipt.receipt_qty * receipt.receipt_cost), RECNO('receipt') ;
FROM receipt <b>JOIN purchase_head </b> ;
<b>ON purchase_head.order_numb = receipt.order_numb </b>;
<b>WHERE</b> BETWEEN(receipt.receipt_date, pd_start, pd_end) AND ;
purchase_head.cc_name = lc_name ;
AND &l_str ;
ORDER BY purchase_head.vendor_id, ;
purchase_head.ven_invoice, ;
receipt.pack_slip ;
INTO TABLE (gcOld_Dir)+'recon.DBF'
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform