Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Driver vs more recent ODBC driver
Message
From
23/11/2018 16:07:09
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01663573
Message ID:
01663756
Views:
34
>>>Did you apply anything extra for your VFP? I'm running VFP9 latest hotfix.
>>
>>Come to think of it, I don't access memo fields using SPT. It can be done, but I can't find the reference (one of which supposedly exists on the UT). The other way is to use a cursoradapter, where you can mapvarchar or mapbinary as needed Because we a) generate all the "normal" views including ones parameterized on the PK and each one of the FK's and b) have some really complex views, we work with remote views, created in xCase, exported to SQL Server format and generated into remote views. We use SPT for quick queries that don't need an entire record.
>>
>>Hank
>
>That's probably why you don't have problems in your application. In ours we use solely SPT and also updateable views. We don't use CursorAdapter.

If you use hungarian notation, even in the absence of a data dictionary you would write a very simple prg to turn a sql statement for sql server into a CA that maps the memo fields. That would provide you insurance against the ultimate deprecation of the TEXT data type in SQL Server.

Hank
Previous
Reply
Map
View

Click here to load this message in the networking platform