Results 1 to 6 of 6

Thread: Multi User Problems

Threaded View

  1. #1

    Thread Starter
    Lively Member Xium's Avatar
    Join Date
    Jan 2007
    Posts
    78

    Multi User Problems

    i have a table name BILLS. main field is BillNo which contain bill number. when user want to creat new bil, program select MAX(BillNo) from BILLS table, New BillNo will be MAX(BillN0) +1 , then program add new record in this table with new BillNo.. now problem is this , we have 20 user who access same table at the same time for new bill. now there's heavy chance to get same MAX(BillNo). but we dont wanna BillNo duplication. so how we resolve this issue ?
    Last edited by Hack; Feb 5th, 2007 at 07:24 AM. Reason: Edited Thread Title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width