Hi,
I just need suggestion on how to get rid of this Duplication Data Entry.
What I did in my program is that
I use a temporary table before I save it to the main database
Supposed to be the output will be:
Computer1 orders: Computer2 orders:
Sales No1 Sales No2
-Soap -Pencil
-Shampoo -Paper
But what happens is
Sales No1
-Soap
-Shampoo
-Pencil
-Paper
Do you have any idea how to handle this problem?
FYI, I use DMAX() function to get the lastTransaction Number..
the code is trigger during saving.
Why I didn't use Autonumber or Autoincrement?.. because the customer requires a series number.
So if I use Autocrement... let say 1,2,3.. and suddenly I deleted / canceled the transaction 4.. it would look like this 1,2,3,5,6..
I hope you will understand what I mean..
Thanks
I just need suggestion on how to get rid of this Duplication Data Entry.
What I did in my program is that
I use a temporary table before I save it to the main database
Supposed to be the output will be:
Computer1 orders: Computer2 orders:
Sales No1 Sales No2
-Soap -Pencil
-Shampoo -Paper
But what happens is
Sales No1
-Soap
-Shampoo
-Pencil
-Paper
Do you have any idea how to handle this problem?
FYI, I use DMAX() function to get the lastTransaction Number..
the code is trigger during saving.
Why I didn't use Autonumber or Autoincrement?.. because the customer requires a series number.
So if I use Autocrement... let say 1,2,3.. and suddenly I deleted / canceled the transaction 4.. it would look like this 1,2,3,5,6..
I hope you will understand what I mean..
Thanks