Mohammed,
This is the exact issue I was raising last week in your GO BOTTOM thread.
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,15,951720You need to either use autoincrementing fields or your own custom GetNextKey() function to ensure that multiple users can not create records with the same PK values.
>i'll try to insert two bills at the same time via same form via two pc
>
>1.i creat temp.table
>2.at my form i put a grid to insert my item via temp.table
>3.when i finish insert items, at save command i append all things from my grid to mstr.table
>
>but if mybill number is =14 at my pc,
>i can see the same number at another pc.
>
>how i can let every pc have another number of bill , when i open myform to add new bills
>via 2 pc or more.
>or if another way to do that