Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor to String
Message
De
24/09/2008 00:29:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/09/2008 21:40:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350079
Message ID:
01350102
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>UPDATE: Nevermind. I did a scan and built the variable that way. Not sure if it's the best, but it works.

_vfp.datatoclip(,,3)

may be a fast way to build such a string into _cliptext. You need to remove the first line (field names), but the rest is one line per record, tab delimited. You can replace the tabs with whatever you want, split this into lines, or get it one record at a time.

>I have a cursor that I want to get the results into a memory variable. I'm trying this, but it returns an error that it cannot find the file. I thought using DBF() on an alias would return the physical table name. Or is it something different? Is there another way to do this? What I'm really looking for is a variable of the cursor where each row is on a separate line.
>
>m.Temp = FILETOSTR(DBF('ReportCursorSummary'))
>

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform