I have just discovered i cannot use the auto increment that is in paradox, I need to create my own incrementing number field. I have a form that is put into edit mode with an append button to place entries at the bottom of a table.
fields Partno, Weight, Operator.
Partno has to increment by one i.e 1000, 1001 etc all the traps and validity are set on weight.
so I thought i could use the can depart method in weight to trigger the number autoincrement like...
If weight.value>1 then
Partno.value= I need this to be the last number+1 or could i use maximum value +1
this number then needs to be saved as the new Partno
Please could someone help me with this bit of code'
Thank you
fields Partno, Weight, Operator.
Partno has to increment by one i.e 1000, 1001 etc all the traps and validity are set on weight.
so I thought i could use the can depart method in weight to trigger the number autoincrement like...
If weight.value>1 then
Partno.value= I need this to be the last number+1 or could i use maximum value +1
this number then needs to be saved as the new Partno
Please could someone help me with this bit of code'
Thank you