Of course not!! In fact, that is the first thing I always do, whether in SQL or in VFP. The problem is that if a record is deleted, the id is no good, especially if id numbers go from 10000 to 49000 , the code number goes from 1 to 999999 and there are only 2000 records in the table.
BTW, I used Stephen's suggestion and it works very well Rafael Copquin El 01/06/2011 5:20, Alan Bourke escribió: > > On Tue, 31 May 2011 13:04 -0300, "Rafael Copquin" > <[email protected]> wrote: >> But, what is the equivalent to the recno() function in TSQL, if there is >> one? And if there is not, how do I get to the particular record? > > Wait ... are you telling me the first thing you did when designing the > SQL Server table wasn't to add an auto-incrementing id field? :) _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

