Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


vb6 and sql 2005 multi user problem


vb6 and sql 2005 multi user problem

Author
Message
june1282
june1282
Forum God
Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)Forum God (413 reputation)

Group: Forum Members
Posts: 1, Visits: 11
Dear All !



I upgrade (vb6 and access)application to sql server 2005 application(changed back end to sql). I have 2 forms, one is "Voucher" and another one is "reprint voucher".

2 forms use same one database table (gridVoucher), which is link to LIST VIEW.



When 1st user use "voucher form" (she is opening new voucher for her customer ). and 2nd user view her previous voucher with "reprintVoucher form" at the same time. gridVoucher is replace by reprintVoucher form. Then 1st user save his voucher, stock

items wrong. I use INSERT INTO statement to save voucher data. (INSERT INTO VoucherDetail SELECT * FROM gridVoucher) at "voucher form".



I want to lock gridVoucher table when it is used by user.

Please give advise better suggestion for this problem.



Yours

june1282
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search