| ||||||||||||
|
How To Open Email Using SendObject Access Example Download Send Email Access Sample Download (Advanced) Programming MS Access Security Alternative Inventory Calculations Down Load ( Single User) How To Perform Inventory Calculations (Multi-User) Make Dependent Combo Box Code Access Database Download How To Fill Fields From Combo Box Use Global Variables as Parameters Download Continuous Form Dependent Combo Box How To Program Continuous-Continuous Master/Detail Forms Download Example for Bar Chart/ Bar Graph on Access Forms Programming Crosstab Query Example TransferText & OutputTo Examples DoCmd.OpenForm & OpenArgs VBA Example |
Inventory Calculations Multi-User EnvironmentInventory software data management in a multi-user Microsoft
Access environment must be able to take into account locking of data records.
Recordset edits should use error handling to prevent the loss of data when
updating records that may be locked by other users of the database.
In this database example we use the Recordset Edit and After Update commands combined with error handling to check for general errors and also check for error number 3188, locked record. If the program encounters any error then the edits are undone and the user is warned of the problem. Access does not perform true record locking. Instead Access locks a page of data on this disk. The page contains approximately 2000 bytes of data. An efficiently designed inventory table may have as many as 200 records locked at one time - this could represent a significant portion of a table depending on the amount of inventory records. Here is the afterupdate event code we use: Private Sub Qty_Out_AfterUpdate() Use this link to download our Microsoft Access Multi-user Inventory Database. |
|
|
Access Database Examples • Microsoft Access Templates • MS Access Tutorials |