To anybody that can help,
Objective: I want to pass through parameters to an SQL Server 2005 stored procedure from an InfoPath field.
Problem: How to do this within the Change Event of the field using C# or VB?
A bit of background:
I have installed Microsoft .NET Framework 3.0 and Visual Studio
What this means is that whenever I try to insert code into the Change Event of the field (which contains the parameter value), it loads up Microsoft Visual Basic for applications environment. I found this article which explains this:
http://msdn.microsoft.com/en-us/library/bb250982.aspx
Additionally, I have found this article that at first glance appears to do what I want:
http://support.microsoft.com/kb/827007
The problem with this is that it uses a script within Microsoft Script Editor.
Help please