I still can't get this to work right.
As of now I can use a receive connection to properly get back my value from my web service but now the problem is I can't query the same form by that value for edits.
This is all I want to do
Recieve goes to a web service routine like this:
[
WebMethod]public InfoPathReport GetReport(string ReportNumber)
{
InfoPathReport oReport = new InfoPathReport(ReportNumber);return oReport;
}
Submit goes to this
[WebMethod]public string SaveInfoPathReport(InfoPathReport oReport)
{
oReport.SaveReport();return oReport.ReportNumber.ToString(); //returns the newly generated report number
}
why is this such a hard thing to do? It shouldn't be.
I want my users to be able to fill out a new report, submit it, get a report number back and maybe save it to their pc if they want.
I want my admin to be able to see that a user filled out a report, query it by the reportnumber, make some changes, and submit the form back. This should not be this difficult. Can you please help? Thank you!