Hi,
it has been now 2 weeks that i discovered infopath.
I know some programming language like MySQL but it has been quite some time that i have used it.
Also i am not familiar with Infopath. For now i could get data out of a database by doing the trial and error way.
My problem starts here.
I need to get info from a second database.
I have SH SP Material number and Material Name in the database.
The SH is a customer number that is also the number i enter to query the data from the first database(that part works)
First when i start i get the whole second database loaded in a list box even before entering the SH called txtShipto in a text box.
What i intent to do and i am fiddling around hopelessly already is when i call up the customer number in txtShipto textbox that the list box shows up only the values that equal the txtShipto number i have entered.
For now as said it loads the database comletely in the list box but when i query the txtShipto this list shows the material number i search. Problem is...
it shows only one material and it keeps the other data from the database listed.
I would apreciate much your expert help here in order to solve the problem and to learn more about Infopath.
My listbox has this rule
Query using the second database
set field value .= @SH[. = txtShipto]
List box Propreties
/dfs:myFields/dfs:dataFields/d:customer material
Value @SH
display name @MatName
Oh... by the way.... is it possible to show 2 data in the list box like Material number and the Material name? Right now i only get the Material name.
Again thanks a lot in advance.
Mike