Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Radio Button problem when using Logical Databases.

Former Member
0 Likes
682

Hi,

I have a report that uses logical database PCH. I'd like to default the reporting period radio button so that when the report is run it is defaulted to today.

The name of the screenfield is PCHZTR_D so I set

PCHZTR_D = 'X'.

in the initialisation event but this doesn't work.

Any suggestions how I can get the reporting period to default to 'today' programmatically.

I don't want to use a variant.

Thanks,

Paul

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
623

Try doing it in the AT SELECTION-SCREEN output Event.



report zrich_0001.

nodes: objec.

<b>at selection-screen output.

PCHZTR_A = space.
PCHZTR_D = 'X'.</b>

REgards,

Rich HEilman

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
624

Try doing it in the AT SELECTION-SCREEN output Event.



report zrich_0001.

nodes: objec.

<b>at selection-screen output.

PCHZTR_A = space.
PCHZTR_D = 'X'.</b>

REgards,

Rich HEilman

Read only

suresh_datti
Active Contributor
0 Likes
623

Hi Paul,

The 'Other Period' option is being set inside the LDB program. So, whatever you default in 'INITIALIZATION' will be overrdien. YOu have to do the following..

at selection-screen output.

PCHZTR_Z = space.

PCHZTR_D = 'X'.

Regards,

Suresh Datti

Read only

0 Likes
623

Please make sure to award points for helpful answers and close your post. Thanks.

Regards,

Rich Heilman

Read only

0 Likes
623

Rich it seems you may have a serious points addiction problem

Thanks for your answer and here's your fix.

Regards,

Paul

Read only

0 Likes
623

I am seeking help.

Regards,

Rich Heilman