Mike,
Thanks for the info, one last question. I am going to go with the non webservice way. I found some code that uses the querystring function and prints the parameter names and values. It claims that there is only one parameter and the value is the correct value plus the next parameter name and value. The navigation string is:
http://cb203309-b/segerdahl/jobticket.aspx?TicketNumber=58551234?customer=Test Customer
Is this the correct way to pass two parameters?
Thanks
Jim
>>Ok, I can pass the variables in the URL, but how do I access them in my webform?
>
>In the Web Form you'd use the Request.QueryString() collection (I think, thats how it worked in ASP classic anyways) but if you used a Web Service like I was talking about, you'd simply accept them as parameters in a method.
>
>Here's a sample Web service, put this in an asmx file.
>
>
< % ERROR: @ WebService Language="C#" Class="HelloWorld" % >
>
>using System;
>using System.Web.Services;
>
>public class HelloWorld : WebService {
>
> [WebMethod] public String SayHelloWorld() {
> return "Hello World";
> }
>
> [WebMethod] public String SayHelloWorld2(string cName) {
> return "Hello " + cName;
> }
>}
>
>
>You're a VFP programmer, right? You can call this code from VFP like so:
>
>
oTest = NEWOBJECT('mssoap.soapclient')
>oTest.mssoapinit("http://server/test.asmx?wsdl")
>?oTest.SayHelloWorld()
>?oTest.SayHelloWorld2('Jim')
>
>So you see, you can call a method, just like a regular method, programmatically that runs through a Web server and returns a value, and even pass it a parameter.
>
>Does that start to clear things up?
Thanks
Jim