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!

SPT ?? Help Please

Status
Not open for further replies.

nengie

Programmer
Jan 7, 2002
14
0
0
TH
I have cursor in VFP (cr_item)
Then with VFP table I can do this

select itemno, itemdesc from itemmaster
where itemno not in (select itemno from cr_item)

But if itemmaster is table in MS SQL, how can I do it with SPT ? TIA
 
Hi nengie,

I have written a VFP7 front-end client that connects to a postgres back-end database server. The code in the free example application could be slightly modified to work with MSSQL. The application can be downloaded from:


It can be found under option 21 after you enter the site.

Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox
 
Hi nengie,

you can access your data in MS SQL Server trought ODBC.

Define an ODBC connection to your SQL database, then connect:

nConnHandle=sqlconnect("YOURCONNECTION")

cSql="select itemno, itemdesc from itemmaster
where itemno not in (select itemno from cr_item)"

sqlexec(nConnHandle, cSql, "MYCURSOR")
browse
Andrea C.P.
Italy
 
Thanks Leland, I will give it a try :)
Thanks Andrea
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top