SilverFox4me
Registered User.
- Local time
- Today, 00:33
- Joined
- Sep 11, 2007
- Messages
- 13
Having just entered a Suppliers details in a table that has the usual fields,
SupplierID [autoNumber]
SupplierName [Text]
SupplierAddress [Text]
etc
I now need to enter a Products details in a table,
ProductID [autoNumber]
ProductName [Text]
ProductSupplierID [Number]
etc
The Supplier of the Product is selected by using a ComboBox, using RowSource...
SELECT DISTINCT [Suppliers].[SupplierID], [Suppliers].[SupplierName] FROM Suppliers ORDER BY [Suppliers].[SupplierName];
Is there any way the ComboBox can default to selecting the last SupplierID that I've just previously created, ie the last record of [Suppliers].
SupplierID [autoNumber]
SupplierName [Text]
SupplierAddress [Text]
etc
I now need to enter a Products details in a table,
ProductID [autoNumber]
ProductName [Text]
ProductSupplierID [Number]
etc
The Supplier of the Product is selected by using a ComboBox, using RowSource...
SELECT DISTINCT [Suppliers].[SupplierID], [Suppliers].[SupplierName] FROM Suppliers ORDER BY [Suppliers].[SupplierName];
Is there any way the ComboBox can default to selecting the last SupplierID that I've just previously created, ie the last record of [Suppliers].