Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing SQL table memo field via remote view
Message
De
20/06/2005 16:12:36
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Accessing SQL table memo field via remote view
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01024938
Message ID:
01024938
Vues:
98
I'm accessing a SQL Server table using a remote view in VFP. The field contains a email address -- plain text -- but the SQL column is defined as being memo type. When I browse the table and view the contents of the memo field, I see a funny special character appearing between each significant character of the email. The character is a tiny square -- best I can guess it's Unicode (hex) 25A1 or 25AB. If I use SQL Server administrator and issue "SELECT email from customer" I see the actual email address, ready to go. But if I do "SELECT email from rvCustomer" I get a query with the column and Memo or memo appearing in each row cell. If I CTRL+PageDown to open the memo field, I see the email address with the small squares. If I try "SELECT alltrim(email) or trim(email), I only get the first character of the contents of the field.

I even tried to figure out how to effect the equivalent of "SELECT STRTRAN(email,"A","ZZZZ") FROM rvcustomer" to get rid of the little squares to no avail.

Does anyone know what's going on? I called our vendor and he hadn't heard of FoxPro. I think the SQL Server is version 8.
Ernie Veniegas
Micro System Solutions
... sensible software by design
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform