all groups > sql server connect > september 2005 >
You're in the

sql server connect

group:

Need Basic Help


Need Basic Help Preacher Man
9/23/2005 1:51:32 PM
sql server connect:
At my workplace our ERP software in on a VFP database. I have learned quite
a bit about extracting data with the select statements from the VFP
database. We are in the talks of converting the the SQL version of our ERP
and I have some very basic questions since I am extremely new to the SQL
world.

I have created executable forms in VFP that queries the VFP tables for
certain users. Can I continue to use these forms or do I need to go to
another software. Is my understanding correct that SQL cannot create forms
like the VFP does? If I can use the VFP interface what is the Select syntax
to access the SQL database from within the VFP interface?

The VFP looks like this: Select 'field names' from 'database name'!'table
name'
What would the SQL look like? I can use the Query Analyzer to do Select
statements but I would like to be able to query the SQL database from within
the VFP interface. Thanks for your help.


Re: Need Basic Help John Bell
9/24/2005 12:00:00 AM
Hi

You can use VFP as a front end.

For a starter try checking out:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_bko02.asp?frame=true

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/dgPutting_It_All_Together.asp?frame=true

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/dgimplementing_a_client_server_application.asp

John

[quoted text, click to view]

Re: Need Basic Help Cindy Winegarden
9/24/2005 9:20:44 PM
Hi,

You'll get much better help posting questions like this in a FoxPro
newsgroup. Many FoxPro developers use SQL Server as a back end for their
applications and have much experience with it. SQL Server is a database
only - it has no front end to produce forms.

You can use the exact same SQL commands that you use in Query Analyzer to
access SQL Server via SQL Pass-through. Please look at SQLConnect,
SQLStringConnect, and SQLExec in the VFP Help.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


[quoted text, click to view]

AddThis Social Bookmark Button