Jump to content

passing variables between forms on the same page


cljones81

Recommended Posts

;) Hi Everyone:

 

I was just wondering if it would be possible to pass variables between forms on the same page, for instance, if I were to select a table from a listbox/combobox would it then be possible for this information to be passed to the next form on the same page, which would have a listbox/combobox which will contain the field names of the previously selected table, code which I have already written thanks helpful respondents on a previous posting of mine.

 

I just think this would be a fair neater way than using buttons to pass variable between forms but I've not quite worked out how to do it and cannot find any suitable tutorials that deal with this, just passing variables between pages.

 

So if anybody knows of any tutorials and have the URL to hand or can provide any helpful hint how to accomplish this, it will be appreciated.

 

Christian

 

Link to comment
Share on other sites

Yes you would have to select your option in the dropdown box and submit it, then the variables will be able to be shown on the next form. You can use the same page just use a switch or if/then to see which part of the form has been submitted.

 

Ray

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.