Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Memo Field
Message
De
17/12/2004 09:25:44
 
 
À
16/12/2004 21:56:24
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00969922
Message ID:
00970022
Vues:
40
Hi John,

off the top of my head in VFP7, you would need to do a two part process to achieve this. One way is to create a one record table with a blank memo field and add that field into your original query, then process the concatenation of the memo fields into this blank field after your SQL has run.

In VFP9 you may be able to use the CAST() function for this (but have only read about it so I'm not positive).

>I have 4 memo fields: Dispatchers Notes, Technician Notes, Billing Notes, and Parts Notes.Most of these are empty most of the time. Ocasionally, there will be a note in one or two and very rarely in all four.
>
>I have a function that takes all four memo fields and returns:
> Dispatcher: + Dispatches Notes
> Technician: Technician Notes
> Billing: Billing Notes
> Parts: Parts Notes
>
>When I use the function as a field parameter for a SQL Select, I sooner or later get a "string is too long to fit" error.
>
>If the Select were trying to put the results of the function call into a memo field, it wouldn't be a problem but, it is clearly attempting to put it into a characte field.
>
>Is there any way around this problem in VFP 7.0?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform