Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchars in Foxpro?
Message
 
 
To
08/10/2003 08:31:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00836147
Message ID:
00836226
Views:
9
>I am using VFP 7 and SQL Server 2000. Foxpro does not have a varchar datatype and I am using varchars in SQL Server. I want to be able to trim the trailing spaces. Is there anyway to have foxpro pass a field to SQL Server and have it convert to a varchar. Does VFP 8 have a varchar datatype?

Tracey,
With SQL Server, you can change the ANSI_PADDING setting for the ODBC connection. This will configure how VFP sends trailing spaces for Varchar fields.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform