Desktop productivity for business analysts and programmers

Setting the default value of a prompt to a function

Reply
Occasional Contributor
Posts: 17

Setting the default value of a prompt to a function

I want to create a prompt in EG that has the default value of  %SYSFUNC(PUTN(%SYSFUNC(TODAY()),YYMMDDN8.)) .  But I also want the user to be able to put in other values when appropriate.

If I enter this into the default value my log generates:

%LET RD = %nrstr(%%)SYSFUNC(PUTN(%nrstr(%%)SYSFUNC(TODAY()),YYMMDDN8.);

And this is not what I want.

How do I set the default value of a PROMPT in EG to the result of %SYSFUNC ?

Ask a Question
Discussion stats
  • 0 replies
  • 160 views
  • 0 likes
  • 1 in conversation