crystalize
Vendor
I am trying to print certain records based on the value of one line. For example if userfield.fieldposition=1200 and
userfield.numberfield= 1 then print certain lines.
{USERFIELD.FIELDPOSITION} in [1000.00, 1100.00, 1200.00, 1600.00, 1800.00, 1850.00, 100.00, 2000.00, 2100.00, 2200.00, 2400.00, 2500.00, 2525.00, 2550.00, 2575.00, 2600.00, 2700.00, 2800.00, 2900.00, 22.00, 23.00, 3000.00, 3100.00, 3200.00, 3300.00, 3400.00, 3425.00, 3450.00, 3475.00, 600.00, 700.00, 75.00, 800.00, 900.00]and
if {USERFIELD.FIELDPOSITION} = 1200.00 and
{USERFIELD.NUMBERFIELD} = 1.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4200.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 2.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4500.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 3.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4800.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 4.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5100.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 5.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5400.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 6.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5700.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 7.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 6000.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 8.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 6300.00]
Currently it only prints the data on line 1200 and all the other data in the first field positon range, but it doesn't print like I want it to.
I am using Crystal Reports 9 and Oracle 8i.
userfield.numberfield= 1 then print certain lines.
{USERFIELD.FIELDPOSITION} in [1000.00, 1100.00, 1200.00, 1600.00, 1800.00, 1850.00, 100.00, 2000.00, 2100.00, 2200.00, 2400.00, 2500.00, 2525.00, 2550.00, 2575.00, 2600.00, 2700.00, 2800.00, 2900.00, 22.00, 23.00, 3000.00, 3100.00, 3200.00, 3300.00, 3400.00, 3425.00, 3450.00, 3475.00, 600.00, 700.00, 75.00, 800.00, 900.00]and
if {USERFIELD.FIELDPOSITION} = 1200.00 and
{USERFIELD.NUMBERFIELD} = 1.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4200.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 2.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4500.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 3.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 4800.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 4.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5100.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 5.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5400.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 6.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 5700.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 7.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 6000.00] else
if {USERFIELD.FIELDPOSITION} = 3900.00 and
{USERFIELD.NUMBERFIELD} = 8.0 then
{USERFIELD.FIELDPOSITION} in [3500.00 to 6300.00]
Currently it only prints the data on line 1200 and all the other data in the first field positon range, but it doesn't print like I want it to.
I am using Crystal Reports 9 and Oracle 8i.