benjee
Personal Jesus
- Local time
- Today, 21:51
- Joined
- Mar 19, 2003
- Messages
- 53
Hey,
i have two questions: -
1. My subform uses combo boxes linked to indepedent tables to show values. These values once saved update fields in tableA. However when i lookup certian values in the tableA it displays primary/foreign keys.
As im eventually going to create a report on the values in tableA, how can i store descriptive names i.e fldarDesc rather than the primary keys in the table.
The fields in the 'lookup' combo box are (made up) :-
fldcarId
fldcarDesc
fldcarCost
2. Part of the same subform contains a subtotal text box that uses an unbound control to calculate several values in comboboxes etc i.e. -
=(Val(Nz([car1]))+Val(Nz([car2))*(Val(Nz([car3].Column(2)))+Val(Nz([lcar4].Column(2)))
Now this code occupies the Control Source field in properties. My proplem is i want to set the Control Source to SubTotal, so the SubTotal field in TableA is updated. However theres a conflict.
Is there a way of keeping the unbound control and saving the SubTotal to tableA
I hope you get an idea of what im on about
i have two questions: -
1. My subform uses combo boxes linked to indepedent tables to show values. These values once saved update fields in tableA. However when i lookup certian values in the tableA it displays primary/foreign keys.
As im eventually going to create a report on the values in tableA, how can i store descriptive names i.e fldarDesc rather than the primary keys in the table.
The fields in the 'lookup' combo box are (made up) :-
fldcarId
fldcarDesc
fldcarCost
2. Part of the same subform contains a subtotal text box that uses an unbound control to calculate several values in comboboxes etc i.e. -
=(Val(Nz([car1]))+Val(Nz([car2))*(Val(Nz([car3].Column(2)))+Val(Nz([lcar4].Column(2)))
Now this code occupies the Control Source field in properties. My proplem is i want to set the Control Source to SubTotal, so the SubTotal field in TableA is updated. However theres a conflict.
Is there a way of keeping the unbound control and saving the SubTotal to tableA
I hope you get an idea of what im on about
