This going to sound so simple.. but I've just spent more than 2 hours and I haven't solved it yet.
Hope you can...
I have a table of several thousand records with an Autonumber field called RecNum.
I am trying to figure a way of deleteing say the first ( oldest) x number of records. Bearing in mind that some records will already have been deleted manually on an ad-hoc basis and not sequentially - so RecNum values are no longer contiguous.
My purpose is that I am creating a demo version of an application but I want everything except the main data table to operate as normal. With the main table I want to restrict the maximum number of records so that before the new records are imported the equivalent number of old records are automatically deleted. Of course the number of incomming records will be known before the delete process begins.
Thanks in anticipation.
Rod
Hope you can...
I have a table of several thousand records with an Autonumber field called RecNum.
I am trying to figure a way of deleteing say the first ( oldest) x number of records. Bearing in mind that some records will already have been deleted manually on an ad-hoc basis and not sequentially - so RecNum values are no longer contiguous.
My purpose is that I am creating a demo version of an application but I want everything except the main data table to operate as normal. With the main table I want to restrict the maximum number of records so that before the new records are imported the equivalent number of old records are automatically deleted. Of course the number of incomming records will be known before the delete process begins.
Thanks in anticipation.
Rod