Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT SQL Statement
Message
From
11/05/2001 13:19:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SELECT SQL Statement
Miscellaneous
Thread ID:
00506284
Message ID:
00506284
Views:
75
I have two tables with the following structures:

Table1:
DivisionName C(30)
Access N(1)



Table2: Contains information on all divisions
DivisionId N(5)
DivisionName C(30)
Address C(50)
Etc....

What I want to do is gather the DivisionId's for only the DivisionName's listed in Table1.

I tried "Select DivisionId FROM Table2 INTO CURSOR tmpCursor WHERE table1.DivisionName = table2.DivisionName" but this does not seem to work.

What am I doing wrong?

Thanks in advance for your help,
Russell Clendenon
Next
Reply
Map
View

Click here to load this message in the networking platform