I have an application where on my main form I have a subform acting on a table lets say called tTempItems. This subform is used so that people can add in as many items as they can. The table has the following fields:
ItemID
ItemNum
ItemDesc
Qty
I need to make it so that as they fill each record on the form the ItemID is automatically updated since it contains the number of items. Such as Item 1 or 2 or 3. If i make this field autonumber it works ok but once I close the form and clear the table for the next person to type in an order it does not start at 1 anymore. I use this data for output in a txt file so I don't store it in any tables for later use, its all temporary.
Any help would be great,
Marcin
ItemID
ItemNum
ItemDesc
Qty
I need to make it so that as they fill each record on the form the ItemID is automatically updated since it contains the number of items. Such as Item 1 or 2 or 3. If i make this field autonumber it works ok but once I close the form and clear the table for the next person to type in an order it does not start at 1 anymore. I use this data for output in a txt file so I don't store it in any tables for later use, its all temporary.
Any help would be great,
Marcin