Hi,
Like I say in my last post the easy way to verify the path in your secondary datasource is first see in design mode data source menu if your query fields exist
if not make an update of your secondary datasource for do this go on tools, dataconnection and clik your datasource (getPatient)and click modify do one more time this wizard and your data source is uptdated now see if your query fields are here!
and after to that step by step and after delete this control:
Put an expression box in design mode.
click Fx and after insert field or group
choose the field of your desire (in your case the query fields "SearchColumn")
after click the checkbox "edit XPath(advanced)" and infopath show you the good path compare with the path that you have in your code!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci