# Crystal Quote Form **Category:** [Yahoo Archive](https://www.epiusers.help/c/yahoo-archive/9) **Created:** 2001-02-06 15:00 UTC **Views:** 302 **Replies:** 0 **URL:** https://www.epiusers.help/t/crystal-quote-form/2163 --- ## Post #1 by @system
Good Afternoon,

I am on V4.0 and have customized the quote form to allow us to add an
additional unit of measure pricing field. We use the standard Vantage
quantity and Unit price field for sheet price or a Linear Foot price but
most of our customers also like to see a price per thousand square
inches(MSI). I have created a VBForm in the Quote Detail screen that has a
field for up to five thousand square inch prices for different quantities.
The fields are called QDMSIPR, QDMSIPR2, QDMSIPR3, QDMSIPR4 and QDMSIPR5. If
there is just one quoted quantity you plug in the unit price, open the
VBForm and plug in the thousand square inch price in the first field
"QDMSIPR1" and it will print on the quote form directly beneath the standard
Vantage unit price field. My problem begins when there are multiple
quantities for the same line. I cannot get the form to pick up the values
from the next four fields of the VBForm, QDMSIPR2, QDMSIPR3, QDMSIPR4 and
QDMSIPR5. The standard Vantage Unit Price prints correctly but the MSI price
will not. I currently use the following formula:

if {quoteqty.QTYNUM} = ' 1' then {quotedtl.QDMSIPR} else if
{quoteqty.QTYNUM} = ' 2' then {quotedtl.QDMSIPR2} else if {quoteqty.QTYNUM}
= ' 3' then {quotedtl.QDMSIPR3} else if {quoteqty.QTYNUM} = ' 4' then
{quotedtl.QDMSIPR4} else if {quoteqty.QTYNUM} = ' 5' then
{quotedtl.QDMSIPR5} else 0

Can anyone help me with the correct formula to make this happen?

Thanks in Advance
Todd Hofert
Spartan Graphics, Inc.
(616)887-8243
--- **Canonical:** https://www.epiusers.help/t/crystal-quote-form/2163 **Original content:** https://www.epiusers.help/t/crystal-quote-form/2163