Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange change in table
Message
From
25/09/2012 18:52:11
 
 
To
25/09/2012 18:08:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01553633
Message ID:
01553636
Views:
45
Why do you need a loop?

REPLACE ALL nRank WITH RECNO()

>I have a table and had to add a field to it to hold a record number so the records position would appear in a list box in a report to be developed.
>
>I named the field 'rank' and added a bit of code to a prg to loop through the table replacing rank with recno() to fill the field for display.
>
>Everytime I run the code an error "variable 'rank' is not found." is presented. When I check the table, the field I added is gone.
>
>I restarted my computer and added the rank field to the table again and when the code is run, the same trouble occurs and the field is gone from the table.
>
>How can I correct this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform