Hi all
I'm hoping it's me having a brain-freeze but is there any way to get the following:
write hdrfmt
exfmt mainfmt (with a grid)
now the user presses a bound image on the hdrfmt but I can see in the code that the only field moves from the pui ds's are for the mainfmt as that's the one that is read.
How can I detect the fact it was an image/icon in the hdrfmt that was clicked? I've debugged to confirm I'm seeing a blank in the pseudo indicator/bound variable.
Regards
Rob.
Reading from other formats
-
- Profound User
- Posts: 42
- Joined: Mon Jun 27, 2011 9:11 am
- First Name: Rob
- Last Name: Horton
- Company Name: Design Group Plc
- Contact:
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: Reading from other formats
You'll just need to READ the HDRFMT record if you want to retrieve its input.
Try this:
It is, however, necessary to perform that opertion to copy the received information into the record buffer for 'hdrfmt'.
Try this:
RPG CODE
The READ on 'hdrfmt' will occur without it going back to the display (meaning immediately) since the record was already sent/received from the browser by the preceeding EXFMT operation. It is, however, necessary to perform that opertion to copy the received information into the record buffer for 'hdrfmt'.
-
- Profound User
- Posts: 42
- Joined: Mon Jun 27, 2011 9:11 am
- First Name: Rob
- Last Name: Horton
- Company Name: Design Group Plc
- Contact:
Re: Reading from other formats
Thanks David
That's the problem with brain freezes - you never know you're having one.
Regards
Rob.
That's the problem with brain freezes - you never know you're having one.
Regards
Rob.
Who is online
Users browsing this forum: No registered users and 0 guests