I had this problem last year, and no matter what they will tell you in this
message board, passing parameters to an InfoPath from directly is not
possible.
But there is couple of workarounds, the simplest of them is passing the
parameters as part of an empty xml, this is what I am using in all of my
forms.
The idea is simple, as part of the form schema (data structure), create
nodes that you will store the parameters (Imagine hidden text boxes, they
have their place in the schema, they are just not in the view), and then
when you open the new from, either pass the xml file after the form name, or
use the .NET clr to populate the dom of the next form with the xml that has
the parameters.
Both of them require a lot of coding, debugging, and time wasted, until you
get use to it, and then it becomes simple, just copy and paste.
That's why I am still naming that product "Do less with more ;-)" InfoPath
> Hi
>
[quoted text clipped - 17 lines]
>
> Flemming
Flemming Christensen - 01 Mar 2005 11:55 GMT
Thanks!
What I ended up doing was to add code on the button click event. it creates
a text file with the key to use and then starts the next form which in turn
looks for the file, reads the key and deletes the file.
>I had this problem last year, and no matter what they will tell you in this
> message board, passing parameters to an InfoPath from directly is not
[quoted text clipped - 43 lines]
>>
>> Flemming