I'm still very new to infopath and not really a programmer. Here is what I'm trying to do:
I have a text box that a Request Number is entered
Then I have a rule to query a secondary data connection SQL database
Then set the value of various other fields based of the returned values from the query using a filter. Filtering off the user entered Request Number.
This takes a long time as it has to copy down the entire db, rather than only searching the db for the matching record.
How do I adjust the SQL query statement in such so t reads 'where REQ_NMBR = [request_number]'
REQ_NMBR is a field in the db and [request_number] is the name of the field in my form.