Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 21 MAY 1999 01:39:52PM S Berger wrote:

I have a data entry screen that I have created that collects an ID number. I have created a screen opens a second window and allows the user to do a search on a name to find the ID number. What I am not sure about, is how to pass the data from my "popup" window back to my main window.

Thanks

S


At 21 MAY 1999 04:52PM Stephen Revelation wrote:

S.Berger,

You may want to consider utilizing the DIALOG_BOX function to pass the data. Another option would be to use the COMMON statement.

Hope this helps,

Stephen Revelation


At 22 MAY 1999 02:36AM Bob Carten,WinWin Solutions, Inc wrote:

You included 'WEB' in your title

Are you building OI forms or HTML forms?

Bob


At 24 MAY 1999 12:00PM S. Berger wrote:

I guess I wasn't clear. I am building web forms.

S


At 24 MAY 1999 12:42PM Cameron Revelation wrote:

S Berger,

On the web, you do not typically "pass back" a value. Instead look at it this way:

Page #1: Empty form, user clicks on "options" button, which goes to …

Page #2: Options list, user clicks on an item (a key), which goes to …

Page #3: Same form as #1, but filled in with the information from the selected key

In other words, there is only "forwards" on the web. You can do some mighty clever stuff with JavaScript etc. but this is a good starting point.

Cameron Purdy

Revelation Software


At 24 MAY 1999 02:21PM S Berger wrote:

So you have to re-load the form when you pass the data back?

Thanks

S


At 24 MAY 1999 03:13PM Cameron Revelation wrote:

S Berger,

So you have to re-load the form when you pass the data back?

In a word, yes. It is better, though, to imagine it as a different request. In my example, page #1 is a response to the request "give me form x", page #2 is a response to the request "give me a list of keys for form x", and page #3 is a response to the request "give me form x with key y". The magic is that the link from 1 to 2 and from 2 to 3 is generated by your INET_ procedure(s), so the user is just clicking.

Cameron Purdy

Revelation Software


At 27 MAY 1999 07:51PM S Berger wrote:

I ended up resolving this using Java script. I used the window.open and opener properties.

Thanks for the help.

S

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/98109f060a177ca085256778006108a8.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1