Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varchars in Foxpro?
Message
 
 
À
08/10/2003 08:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00836147
Message ID:
00836226
Vues:
7
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform