Automatic Screen Refresh
Peter Bateman
pfbcs@hotmail.com
Thu, 24 Jun 2004 16:04:59 -0300
Paul:
I like Bill's idea. I used to use a cursor on the inventory table which
had the
phrase "SELECT FOR UPDATE OF <col>, <col>". This would place a lock on the
row the required
quantity would be deducted and the row updated and the transaction
commited.
If the customer said he didn't want the item after all. The cursor would
again be called
and the quantity put back.
Regards,
Peter
_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines