Heidebloempje
New member
- Local time
- Today, 21:18
- Joined
- Jul 26, 2012
- Messages
- 4
Hi all,
I have a salescontract database with contractnumbers being filled in by hand. It happens sometimes that clients have signed a contract and later on decide to order a new service relating to the existing contract. For that new service a new contract is made.
Now users give the new contract a number that looks like the related previous contract so some wise guy should be able to figure out the relation.
We now want this to be more clear and be able to see the order of which the contract has been sold.
I was thinking of adding two new colums and make a incremental order for each client.
For example I was thinking of this:
Contractnumber Contractincrement
NIBG0001 1
NIBG0001 2
NIBG0002 3
So, when a user decides the new contract is related to a previous one, the Contractnumber field gets the Contractnumber of the previous one and the Contractincrement field is incremented by one.
Hence, if a new contract is not related the Contractnumber should increment.
Am I thinking in the right direction here?
If so, how can I make these kind of Contractnumber ranges since the examples are for client NIBG. So other ranges should be made for other clients. (Like NPO0001)
And, ofcourse, how can I implement the incremental value of the Contractincrementfield when the user enters a related contract in a form?
Thanks a lot in advance.
I have a salescontract database with contractnumbers being filled in by hand. It happens sometimes that clients have signed a contract and later on decide to order a new service relating to the existing contract. For that new service a new contract is made.
Now users give the new contract a number that looks like the related previous contract so some wise guy should be able to figure out the relation.

We now want this to be more clear and be able to see the order of which the contract has been sold.
I was thinking of adding two new colums and make a incremental order for each client.
For example I was thinking of this:
Contractnumber Contractincrement
NIBG0001 1
NIBG0001 2
NIBG0002 3
So, when a user decides the new contract is related to a previous one, the Contractnumber field gets the Contractnumber of the previous one and the Contractincrement field is incremented by one.
Hence, if a new contract is not related the Contractnumber should increment.
Am I thinking in the right direction here?
If so, how can I make these kind of Contractnumber ranges since the examples are for client NIBG. So other ranges should be made for other clients. (Like NPO0001)
And, ofcourse, how can I implement the incremental value of the Contractincrementfield when the user enters a related contract in a form?
Thanks a lot in advance.