![]() |
Sergey Kornilov admin 10/14/2005 |
Steve, |
|
500343 10/14/2005 |
Yes well I have 3 fields. Current, Addition and Subtraction. But I want to be able to add entries and sort them by date. So for example I currently have a qty of on 10/13/05. |
|
500344 10/14/2005 |
Steve, you can use Edit as - Readonly format for a field that should not be edited (Formatting tab in ASPRunner). As far as I understand you need to enter some value in Addition or Subtraction field on the Add page, click Save and the CurrentInventory field should change his value. Is that what you looking for?
|
![]() |
Sergey Kornilov admin 10/17/2005 |
Probably you can create two tables and setup master-details relationship between them. strUpdateSQL = "Update Inventory set CurrentInventory = CurrentInventory + " & CLng(GetRequestForm("Addition"))Â _ & " - " & CLng(GetRequestForm("Subtraction")) & " where InventoryID = " & GetRequestForm("MasterKey") dbConnection.Execute strUpdateSQL |