enquirerfm Posted May 3, 2012 Posted May 3, 2012 Say, I have a file which has 1000 records in it. Is there a quick and easy way to find record numbers 500-900, for example? I could write a script that would go to record 500 then put something into a field up until 900 and then do a 'find' on this field but that all seems rather complicated. Thx.
Ocean West Posted May 3, 2012 Posted May 3, 2012 provided you had a field defined with auto-incremented serial number you can find with 500...900 as a range. if you don't have a serial number field you will need to create one then serialize it by performing a Replace on that field with a serial number.
comment Posted May 3, 2012 Posted May 3, 2012 I could write a script that would go to record 500 then put something into a field up until 900 Or you could show all records, go to record number 500, omit 400 records, then show omitted only. Not sure what sense it makes, though. 1
bcooney Posted May 3, 2012 Posted May 3, 2012 @enquirefm - record "positions" are not fixed -- they change with the found set and sort order. So, what are you trying to achieve?
enquirerfm Posted May 4, 2012 Author Posted May 4, 2012 If I show 'all records' I have all the records (unsorted) in creation date order. I want to (working backwards) take, say, the last 500 records I created and export these to a list (say, for emailing purposes). I suppose this suggests a solution show all records go to, say record no 500 and see the creation date find records created after this date... Not a bad solution but I can't FIND on this field - why not?
bcooney Posted May 4, 2012 Posted May 4, 2012 You certainly can find on creation date. However, if you are processing records, it is most likely better to set a flag in each record, something like "flag_emailSent." Then, just find records where flag_emailSent is empty. Can't help you more without more details.
comment Posted May 4, 2012 Posted May 4, 2012 Or create a mailing record every time you mail, so you can find records created (or modified) after the last mailing.
Recommended Posts
This topic is 4587 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now