i have a table called ElectricSpecs, within this table (amongst other fields) are fields "Product Type" and "size",
I have another table called LookupProductType, which has two fields: "Product ID" and "ProductName"
----------------------------------------------------------
Field "Product Type" from Table "ElectricSpecs"
Datatype = Number.
This field is displayed in the datasheet view as a combo box, which displays a product type name but holds a numeric value in the ElectricSpecs Table... retrieved by defining a lookup field property in design view.
Field "Size" from Table "ElectricSpecs"
Datatype = Number.
This field will be used in the application as a search field to find an electricspec record that meets user defined criteria for a particular size range.
i.e User wants to find all ElectricSpecs that have a size range between 1 and 5.
----------------------------------------------------------
i need to add a format property for the "Size" field so that when displayed a measure of size is displayed for that field. This measure should be based on the "Product Type" field in the table "ElectricSpecs".
i.e. There are 4 different product types each of which has a different measure of size.
1. Product - Tranformer. Size Measure - KVA.
2. Product - Power Supply. Size Measure - VAdc.
3. Product - Reactor. Size Measure - VAR.
4. Product - Choke. Size Measure I2L.
So when a user enters a number in the "size" the number is displayed along with a size measure...
i.e. user enter 0.12 in size field, this then wold be displayed as "0.12KVA" or "0.12VAR" dependant on the choice of product type.
How do i do this?
----------------------------------------------------------
So to summise all records in table "ElectricSpecs" are of a specified product type, each record has a size field whose format property will depend on the type of product choosen for that record. So i need to add this format property for the size field dependant on the product type.
Any help would be greatly appreciated.
I have another table called LookupProductType, which has two fields: "Product ID" and "ProductName"
----------------------------------------------------------
Field "Product Type" from Table "ElectricSpecs"
Datatype = Number.
This field is displayed in the datasheet view as a combo box, which displays a product type name but holds a numeric value in the ElectricSpecs Table... retrieved by defining a lookup field property in design view.
Field "Size" from Table "ElectricSpecs"
Datatype = Number.
This field will be used in the application as a search field to find an electricspec record that meets user defined criteria for a particular size range.
i.e User wants to find all ElectricSpecs that have a size range between 1 and 5.
----------------------------------------------------------
i need to add a format property for the "Size" field so that when displayed a measure of size is displayed for that field. This measure should be based on the "Product Type" field in the table "ElectricSpecs".
i.e. There are 4 different product types each of which has a different measure of size.
1. Product - Tranformer. Size Measure - KVA.
2. Product - Power Supply. Size Measure - VAdc.
3. Product - Reactor. Size Measure - VAR.
4. Product - Choke. Size Measure I2L.
So when a user enters a number in the "size" the number is displayed along with a size measure...
i.e. user enter 0.12 in size field, this then wold be displayed as "0.12KVA" or "0.12VAR" dependant on the choice of product type.
How do i do this?
----------------------------------------------------------
So to summise all records in table "ElectricSpecs" are of a specified product type, each record has a size field whose format property will depend on the type of product choosen for that record. So i need to add this format property for the size field dependant on the product type.
Any help would be greatly appreciated.