Disconnecting Drop-Down Box from Web Service

V

vb6dev2003

Hi,

I have 1 drop-down box that is based on a web service (based on input
parameters). How can I disconnect the drop-down from the Web Service so
that the box choices don't change even if I requery the Web Service with new
parameter for another purpose?

Thank you.

vbdev.
 
H

Hagen Green [MSFT]

Hi vbdev,

The best way to have an "offline" web service is to simply save the results
offline to an xml file. I'd do it this way:
1. Create a new form against the web service with the options you want to
capture.
2. Insert the data source fields/groups to the view.
3. Save the form. Open it from its published location.
4. Run Query.
5. Save out the xml (now you have the web service data to an xml file).
.... back to your original form...
6. Change the drop-down's data source to use an XML file instead of a web
service. For the XML file, used the one we saved out in step 3.

--Hagen
This posting is provided "AS IS" with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top