Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor to String
Message
 
 
To
23/09/2008 21:40:58
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350079
Message ID:
01350143
Views:
29
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform