Jump to content
The ibi Community has moved to a new platform: Please Sign In and choose Forgot Password to continue

Is anyone aware of a SET command to change/print a dash (-) ...


Terry Engle 2

Recommended Posts

Hi Terry

One route would be to try to make the field youre printing be a field that can be MISSING.

Heres how you might do this for the CAR file. I jammed in a zero - well, actually a MISSING on one car/model so we could see the SET NODATA work.

DEFINE FILE CAR

-* Force in a zero for testing on a 6,000 car.

-* leave it 'MISSING ON' so you can use SET NODATA = '-'

ZERO_COST/D12.2 WITH DEALER_COST MISSING ON =IF DEALER_COST EQ 6000 THEN MISSING ELSE DEALER_COST;

END

TABLE FILE CAR

PRINT

MODEL

DEALER_COST

ZERO_COST

WHERE CAR EQ 'BMW'

ON TABLE SET NODATA '-'

END

 

There are other ways of course.

Just at thought

Toby

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...