devinh Posted September 14, 2006 Posted September 14, 2006 I've need some direction! I need to find the sq footage used. I've got three fields. Plate_type(Value List) and Plate_Count (number filed) Total_sqft (calulation) The Value list is popup list that allows the users to select the plate used. each plate type has a known sqft. but I need away to instert into the calculation the sqft # for the used plate type. 237=7 840=8 If Plate_type was 237 the calc would be. 7xPlate_count if the Plate_type was 840 8xPlate_count Thanks Devin
devinh Posted September 14, 2006 Author Posted September 14, 2006 Well I got something to work with a test calculation using if, but I've got 8 more plate types to add. But I don't think this is a good solution since later we could add more plates and that would require a change to the calc. Devin
Lee Smith Posted September 14, 2006 Posted September 14, 2006 Try a case instead of an If Statement, and see if that helps. Case( Plate_type = 237 ; Plate_count * 7 ; Plate_type = 840 ; Plate_count * 8 ; Plate_type = 123; Plate_count * 9) HTH Lee
Recommended Posts
This topic is 6646 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now