|
-
July 23rd, 1999, 07:21 AM
#1
last record
How can I find out which record has last been added to a table
(without using autonumber)
-
July 23rd, 1999, 07:55 AM
#2
Re: last record
I think there is a switch (SQL) called Top1 which returns the last record (maximum ID). So, you might use something like:
select Top1 from 'Table'
Michael Vlastos
Company MODUS SA
Development Department
Athens, Greece
Tel: +3-01-9414900
-
July 23rd, 1999, 08:37 PM
#3
Re: last record
There is a .LastModified property of the Recordset that provides the last edited/added record for BookMarking purpose. It doesn't return you the record. But you can use something like
with tmprecset
.BookMark = .LastModified
' here you can use the fields
end with
Ravi Kiran
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|