Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select RECNO() puzzler
Message
From
13/08/1998 16:48:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Select RECNO() puzzler
Miscellaneous
Thread ID:
00126709
Message ID:
00126709
Views:
88
Hello all,

I can use


SELECT RECNO() FROM customer ;
WHERE customer.custid = "001"

<\PRE>
to get a handy list of pointers to records in customer.dbf.

But if I use


SELECT RECNO() FROM customer, order ;
WHERE customer.custid = "001" .AND. ;
order.orderid < "999"
<\PRE>
it selects the RECNO() from order .dbf.

If I use


SELECT RECNO() FROM order, customer ;
WHERE order.orderid < "999" .AND. ;
custoemr.custid = "001"
<\PRE>
it still selects the order.dbf record number.

How do I tell a SQL SELECT statment which table I want to selct the RECNO() from?

Any ideas?

Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Next
Reply
Map
View

Click here to load this message in the networking platform