simongallop
Registered User.
- Local time
- Today, 05:21
- Joined
- Oct 17, 2000
- Messages
- 611
I think that there is an easy solution to this problem.
Table keeping details of contacts. As details can never be deleted, just flagged as old, whenever they change a new record is created. This means that if I have 10 contacts, in theory, the last record in the table could be the details of contact number 1. How do I find the last issued contact number, so that I can create a new contact?
I don't want to have to loop through the table finding the largest number as after time it will take too long. Is there a Max command (and how to use it)?
Thanks in advance
Simon
Table keeping details of contacts. As details can never be deleted, just flagged as old, whenever they change a new record is created. This means that if I have 10 contacts, in theory, the last record in the table could be the details of contact number 1. How do I find the last issued contact number, so that I can create a new contact?
I don't want to have to loop through the table finding the largest number as after time it will take too long. Is there a Max command (and how to use it)?
Thanks in advance
Simon