cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Jeeves -Crystal - macro

Former Member
0 Likes
556

I'm using Jeeves and Crystal reports.

Im trying to activate a report by using a macro without having to fill in the parameter.

I have entered the code below, but when activating the macro, I still have to fill in the parameter (fr.ftgpostadr5) in a popup.

What have I done wrong?

function

q_skriv_frakt: boolean;

begin

crystalprint('\\Fvh\Jvsmast\rpt\cr\se\Fraktsedel_levadress_1.rpt',false,'DIALOG',1,'',true,true,(fr.ftgpostadr5),true);

  q_skriv_frakt := true;

end;

bool1 :=
FocusListField('olhutpl', 'ftgpostadr5');

     antal:=
1


end;

  q_skriv_frakt := true;

end;

View Entire Topic
Former Member
0 Likes

Hi John,

nice too see I' not the only one using jeeves an Crystal Reports together.

(I know it is an old question) but hier the way I do:

Parameter1:=(fr.ftgpostadr5);

crystalprint('\\Fvh\Jvsmast\rpt\cr\se\Fraktsedel_levadress_1.rpt',false,'DIALOG',1,'

fr.ftgpostadr5=Parameter1',true,true,'',true);