hi.. I've had several problems with drilling down trying to pass values from a htmlform... so here's what I discovered.. if you put them in the data statement...
It was a real pain to figure out but the slash characters are continuations, so set all variables you need so you can effectively create an equivilant set of variables in the new report request... in first fex and then pass them all to your drill down fex using the data=
Here's an example of my code:
TABLE FILE A050
WRITE PRINTFIELD
BY SORTFIELD
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=HEADING,FONT=ARIAL,SIZE=15,COLOR=NAVY,$
TYPE=DATA, COLUMN=N1, TARGET=_BLANK,
FOCEXEC=CASSRCH1(COMPONENT=N1 CAS=N2 REVIEWNUM='&REVIEWNUM' \
FILFOOT ='&FILFOOT' CHEMINPUT='&CHEMINPUT' NICKNAME ='&NICKNAME' YSDATE ='&YSDATE' YEDATE ='&YEDATE' RSDATE ='&RSDATE' REDATE ='&REDATE' USERID ='&USERID' SYSTEM ='&SYSTEM'),$
TYPE=TITLE, COLUMN=N1, FONT='ARIAL', SIZE=15, COLOR=NAVY, STYLE=BOLD, $
ENDSTYLE
END