J
Jake
I have an InfoPath 2007 form where I would like to query an external SQL
database for information based off of a field the user fills in on the form.
I can hard-code the WHERE clause in my query for testing, but my goal is to
have the WHERE clause look at my InfoPath form.
Working Query:
select "CustomerID","CustomerNameFull","CustomerTaxID" from
"dbo"."Cust_Customers" as "Cust_Customers" WHERE "CustomerTaxID" = '12345'
Desired Query:
select "CustomerID","CustomerNameFull","CustomerTaxID" from
"dbo"."Cust_Customers" as "Cust_Customers" WHERE "CustomerTaxID" =
MY_INFOPATH_FIELD
What is the syntax for passing in a multi-level field? (main data source
myFields, group1, group2, field8) Has anyone done this before or have any
suggestions on how this can work? The database is too large to query without
the WHERE clause.
database for information based off of a field the user fills in on the form.
I can hard-code the WHERE clause in my query for testing, but my goal is to
have the WHERE clause look at my InfoPath form.
Working Query:
select "CustomerID","CustomerNameFull","CustomerTaxID" from
"dbo"."Cust_Customers" as "Cust_Customers" WHERE "CustomerTaxID" = '12345'
Desired Query:
select "CustomerID","CustomerNameFull","CustomerTaxID" from
"dbo"."Cust_Customers" as "Cust_Customers" WHERE "CustomerTaxID" =
MY_INFOPATH_FIELD
What is the syntax for passing in a multi-level field? (main data source
myFields, group1, group2, field8) Has anyone done this before or have any
suggestions on how this can work? The database is too large to query without
the WHERE clause.