Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL syntax

Status
Not open for further replies.

ds50137

Programmer
May 12, 2003
2
0
0
US
Yes, I am new too.

I have been trying to create a join using sql, however I cannot find specific enough examples of the sql. When I try to run it, I get 'A word is not recognized: SQL'. Does anyone see what I am doing wrong.

I am trying to add this into an existing fex to resolve a many to many join issue that I have.

I have:

TABLE FILE filename
SQL
SELECT field1, field2
FROM filename
WHERE criteria;
END
ON TABLE HOLD AS table FORMAT FOCUS INDEXfield;
END


Thanks
 
try to change your request such this.

SQL
SELECT field1, field2
FROM filename
WHERE criteria;
TABLE
ON TABLE HOLD AS table FORMAT FOCUS INDEXfield
END

this will work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top