Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use foxpro command in sql server
Message
From
27/03/2006 09:37:51
 
 
To
27/03/2006 09:29:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01107916
Message ID:
01107928
Views:
25
>>can i use in the code the foxpro command directly like
>>
>>use tablename
>>
>>browse
>>
>>or do i have to use something else

>
>
>Your question is not clear. Do you mean xBase commands in SQL Server?
>No. SQL Server uses T-SQL.
>
>If you mean accessing data from SQL Server inside VFP, then you have to change your software architecture to 2 or more tiers.
>The data access layer gets to SQL Server data with one of many available options:
>
>- ODBC or OleDB
>- CursorAdapters (using ODBC, OleDB or XML)
>- SQL Passthrough (using ODBC)
>- Remove Views (using ODBC)

I always thought views could be used but now you're telling us to remove them. Hmmm. 8-D

Robert, Alex made a typing error. It should be Remote Views in case you're not familiar with views.

>Check the Client/Server section in the help files for mopre info.
>See the SQLSTRINGCONNECT() and SQLEXEC() functions for examples.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform