Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor to String
Message
 
 
À
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:
01350143
Vues:
28
>UPDATE: Nevermind. I did a scan and built the variable that way. Not sure if it's the best, but it works.
>
>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'))
>
That's weird. The FILETOSTR() command looked OK so I tried it myself and it worked fine. I see you found an alternative approach so probably no big deal. Maybe something to revisit at some point if performance of that code is an issue.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform