scouser
Registered User.
- Local time
- Today, 14:02
- Joined
- Nov 25, 2003
- Messages
- 767
Hi. I have been modifying an old access database to give it a new lease of life.
I have a Sales Orders from with sub form Sales Order Details. When user selects a package (Sales Order Details) from cboPackageID the remaining fields are updated. The form is based on a query’s ‘qrySalesOrders’ and ‘qrySalesOrderDetails’. When a user selects a ‘Package’ I would expect the ‘PackageID’ value to get written to the underlying table ‘tblOrderDetails’. However it is the PackageDescription that gets written.
In table tblOrderDetails the ‘PackageID field has a data type number. When user selects ‘Package ‘A’ I would expect ‘PackageID’ value ‘1’ to get written to ‘tblOrderDetails’ however value ‘1 10x8 2 7x5’ is written.
Sample DB attached (last edited using access 2010). The DB opens to show the 'Sales Order Form'.
Many Thanks,
Phil.
I have a Sales Orders from with sub form Sales Order Details. When user selects a package (Sales Order Details) from cboPackageID the remaining fields are updated. The form is based on a query’s ‘qrySalesOrders’ and ‘qrySalesOrderDetails’. When a user selects a ‘Package’ I would expect the ‘PackageID’ value to get written to the underlying table ‘tblOrderDetails’. However it is the PackageDescription that gets written.
In table tblOrderDetails the ‘PackageID field has a data type number. When user selects ‘Package ‘A’ I would expect ‘PackageID’ value ‘1’ to get written to ‘tblOrderDetails’ however value ‘1 10x8 2 7x5’ is written.
Sample DB attached (last edited using access 2010). The DB opens to show the 'Sales Order Form'.
Many Thanks,
Phil.