Re: Finding a record number using SQL
- From: "JTH" <jhoward@xxxxxxxxxxxx>
- Date: Fri, 7 Dec 2007 10:25:22 -0700
I am using a query and have a DBGrid with a datasource pointing to the query
which is using an order by to sort the data by a specific field. What I want
to do is after inserting or updating a record I want to execute another SQL
statement to find the new inserted or updated records location with the data
result and move the record pointer within my DBGrid to point to that record.
Hope this makes more sense!
Jeff
"Del Murray" <Del.Murray@xxxxxxxxxxxxxx> wrote in message
news:47589ea1$1@xxxxxxxxxxxxxxxxxxxxxxxxx
What database?
What exactly are you asking ?>?? In most databases, except for FoxPro,
CLipper, DBase .. there is no "relative" record number.
You can have an identify field or a unique key .. is that what you mean?
.
- Follow-Ups:
- Re: Finding a record number using SQL
- From: Bill Todd
- Re: Finding a record number using SQL
- References:
- Finding a record number using SQL
- From: JTH
- Re: Finding a record number using SQL
- From: Del Murray
- Finding a record number using SQL
- Prev by Date: Re: Finding a record number using SQL
- Next by Date: Re: Finding a record number using SQL
- Previous by thread: Re: Finding a record number using SQL
- Next by thread: Re: Finding a record number using SQL
- Index(es):
Relevant Pages
|