Apprentice101
IS-IT--Management
I have a child (detail) block in tubular form. I need to have a field that will number the regults after the master is queried. ie.
MASTER = company
details= employees
details block looks like this:
NUMBER | NAME | LAST_NAME |ADDRESS
1
2
3
4
so I need that for every record on the detail block, a number is generated. So if a new employee gets inserted for this compay, the field "Number" created 5. by the same token if a company has 2, then the next time someone gets inserted they receive 3 ans so on.
can you guys please help me with this? I dont even know where to start.
thanks!
MASTER = company
details= employees
details block looks like this:
NUMBER | NAME | LAST_NAME |ADDRESS
1
2
3
4
so I need that for every record on the detail block, a number is generated. So if a new employee gets inserted for this compay, the field "Number" created 5. by the same token if a company has 2, then the next time someone gets inserted they receive 3 ans so on.
can you guys please help me with this? I dont even know where to start.
thanks!