Is there some way to "catch" the number of a record on a form and use it as a veriable...same number that would show on the record selector
As I feared.
In a way, you are trying to use the primary key as a way of "counting" records. The primary key is to uniquely identify each record. With a database, you may wish to display records in any order that is appropriate. For example, display invoices by InvoiceNumber. But you may also want to display the invoices largest to smallest, or oldest unpaid to current. You use the Order By clause to control the order of the reocrds. Bottom line is that the primary key should only be used to identify each record. I suspect many of us hide the "numbered" field.
Why does AutoNumber not count records?
Well, first, if you start creating a record, and then cancel out, the autonumber will have advanced. Or if you delete a bunch of old records, do you renumber the autonumber? It may be considered a large waste of time for something often considered cosmetic.
When do you need a sequential number?
For control and audit purposes. Cheque numbers for example.
...Moving on
I would like for the scheduler to work with this form and be able to change the run order.
The way I handle something like this is to use a SortOrder number. For example, questions in a survey or check list. If I want to move a question up or down, I change the SortOrder number. I then use the Order By clause to ensure the questions appear in the order I want.
Example:[tt]
QuestionID SortOrder Question
1 1100 What is your name?
2 1500 Enter your address.
3 1400 How old are you?
4 1600 What is your level of education?
5 1200 What is your gender?
6 1300 Are you married?
[/tt]
Although the question about gender is record #6, it will the second question in the survey because 1200 follows 1100 and preceeds 1300.
Now, if I have another question to add in the middle...
[tt]
7 1250 How many kids do you have?
[/tt]
The question can be inserted within the others because I left a gap between SortOrder numbers even though the record is entered much later.
I surmise you can use a similar approach with your issue.
Richard