READ a display file without user input.

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Stuart
Profound User
Posts: 30
Joined: Tue Apr 17, 2012 4:37 pm
First Name: Stuart
Last Name: Leonard
Company Name: Summit Holdings
Phone: 813-665-6060
Address 1: 2310 Commerce Point Drive
City: Lakeland
State / Province: Florida
Zip / Postal Code: 33594
Country: United States
Contact:

READ a display file without user input.

Post by Stuart »

I need to be able to read a record format in a display file, and continue processing. In other words, no user input (pressing enter) is required to continue. Seems like there was a way to do this on the green screen (certain DDS keywords), not sure how to do this within ProfoundUI.

Thanks!
User avatar
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: READ a display file without user input.

Post by David »

How would you read w/o user input? Are you interested in timing out the display after a certain interval? Or can you explain what you're trying to accomplish?
Stuart
Profound User
Posts: 30
Joined: Tue Apr 17, 2012 4:37 pm
First Name: Stuart
Last Name: Leonard
Company Name: Summit Holdings
Phone: 813-665-6060
Address 1: 2310 Commerce Point Drive
City: Lakeland
State / Province: Florida
Zip / Postal Code: 33594
Country: United States
Contact:

Re: READ a display file without user input.

Post by Stuart »

I am using 2 display files in the application. The 1st display file displays a subfile, and then the 2nd display file displays input fields

Esssentially, I want the grid (subfile) displayed without user intervention, and then display the 2nd display file record format, overlaying the subfile.

Do the program does this:

write subfileFMT
read subfileFMT
exfmt inputFMT

You could use the FRCDTA keyword to accomplish this, or specify an INVITE on the display file and set the wait record time to 0.
User avatar
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: READ a display file without user input.

Post by David »

Is the intent just to get the content from both display files onto the screen at once and to then get input from them without the user having to respond twice?

If that is the case, I think there is not a need for the FRCDTA or INVITE type stuff.

You could do something like this:

Write SubfileControlFormat;
ExFmt InputFormat; (Use "assume" / "overlay" props if this is in 2nd display file)
Read SubfileControlFormat;

Even though there are technically 2 input operations going on there, the 2nd one will not go back to the user, because the input from 'SubfileControlFormat' is already available.

Is that it? Or have I misunderstood?
Stuart
Profound User
Posts: 30
Joined: Tue Apr 17, 2012 4:37 pm
First Name: Stuart
Last Name: Leonard
Company Name: Summit Holdings
Phone: 813-665-6060
Address 1: 2310 Commerce Point Drive
City: Lakeland
State / Province: Florida
Zip / Postal Code: 33594
Country: United States
Contact:

Re: READ a display file without user input.

Post by Stuart »

Thanks, David. Yes, you are correct about the behaviour that I am expecting.

Turns out I do not need to read the subfile. Just writing the subfile format and EXFMT on the input format does the trick.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest