I have searched and searched, and I can’t create conditional calculated fields.
HSQLDB
Writing a query to later use in a form.
The main fields i need to use is
Weight
Quantity
Sellby with one of 3 entries which are PC, EA and SET
Wholesale$ and Retail$
WholesalePrice needs to be conditionally calculated.
Calculated fields to create are WholesalePrice and RetailPrice but I am going to address just one as the second calculated field is basically the same
IF Sellby ="PC" the WholesalePrice - Weight * Wholesale$
If Sellby = EA the WholesalePrice is Quantity * Wholesale$
IF Sellby = SET WholesalePrice is Wholesale$
I have tried everything i can find.
Any help will be appreciated.
Thanks,
Randy