Click to See Complete Forum and Search --> : Requery Recordset From A Popup Window


brandon000
09-15-2003, 10:38 PM
How or what javascript call command can I use to requery a recordset from a popup window?

I want to use the simple javascript call like "opener.document.recordset.requery()". I'm sure it's possible I just can't get the right sequence or definition of the object. Can I?

What I'm doing is I have a drop-down menu on my main form called "Categories". To add a new value to the list, I have an "Add" button that will open a pop-up window the will have an insert record form to create a new category value. Once I create the new category. I want to close the popup window and on "Unload" run the javascript command "opener.recordset.requery" or similar to requery the "Category" drop-down menu to reflect the newly created value without having to reload the entire page.

I need your help and resolve...

Khalid Ali
09-15-2003, 11:49 PM
nope thats not possible using JavaScript(MS specific JScript might have this ability)

brandon000
09-16-2003, 10:09 AM
Thanks Khalid Ali for replying.

If it's not possible, then what other method can I use? I need to requery the contents of the drop-down box from a popup window...

What other method do you suggest?

Khalid Ali
09-16-2003, 10:11 AM
submit form to your ASP page and get the reults back to th epage