Hi,
I can connect to an SQL table that has a million records,
its just ID, NAME
I want to do is, I enter the ID I get the exact name.
How do I write it using 2 textboxes,
one for the ID and the other should have the name automatically show up,
what I did>>
in a new blank from, Tool>>Data connection, Add>>Recieve data>>Database(SQL or access)>>Select Database, selected the odc file created for the table. >>Finish
I add 2 TextBoxes
For one I created a rule, set condition to field1=ID then - action1: query data connection, action2: Set field's value field2 to @FIRST_NAME (from the data connection)
This does not work it shows the>>
"The following DataObject either cannot be created or cannot be initialized: PERSON
The query cannot be run for the following DataObject: PERSON
InfoPath cannot run the specified query.
[0x8007000E][Microsoft OLEDB Persistence Provider] Not enough storage is available to complete this operation."
I tried the same thing with the pubs database, at least it shows up but the query does not work , ie. Even if I enter any ID it shows up the first record as name.
Where am I wrong?
Help plz