Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increment Field
Message
From
11/04/2008 15:53:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01309981
Message ID:
01310068
Views:
29
>>>Yes.
>>>
>>>select MyField1, myField2, recno() from (select myField1, myField2 from myTable...)
>>>
>>>That was a tip by Tamar Granor on the last NY User Group meeting.
>>
>>Ok, I simplified the issue, but there are multiple tables and JOINs. Seems to get confused then with RECNO().
>
>Hi Jay,
>
>Did you read my suggestion too quickly? I said, it can be done with derived table, e.g.
>
>select *, recno() as myRec from (select * from Table1 inner join Table2 ... etc.)
I did and it may work, not sure given some of the other posts, but I was able to fit Al's solution into my code within a couple minutes and it's very non-complex. It worked very well with what I needed and now I'm on my way to the next challange.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform