I have a report based no Two views. 

I use the second view to choose specific parts that I do not want shown
in the detail section.

I am trying to do this with the component Ids

 

I get the parts I do not want to show with this code in the On after
generate EEP:

SELECT (LISTOF(DISTINCT numpart)) INTO vPartlist INDIC IvPartlist FROM
tpackhdwr

 

I then use this code in the On Before Generate EEP in the Detail
section:

IF Partnum IN (&vPartlist) THEN

PROPERTY Comp_partnoshow VISIBLE 'FALSE'

ENDIF

RETURN

 

Each control in the detail section has the component ID Comp_partnoshow

When I run this and trace it I get this error

Column or variable Partnum not found (2515)

 

Partnum is the name of one of the columns in the detail section.

Can anyone point me in the right direction?

Using 7.6

 

James Belisle

 

Reply via email to