Hi,
I just tested Domgle and I'm quit expressed with the result. But I ran into problems when using the search on two databases where one database doesn't have the fields I'm requesting.
It seems that if the search agent produce different result sets with a different number of columns. Only the database which has the field delivers results.
here's a little change to the agent which takes care of the problems. You might wan't to implement this into your offical version as it takes better care of missing values:
'Get Field asked
For j% = 1 To 5
fvalue$ =""
If docFound.HasItem(AgentArgs("AS_Field_Name_"+Cstr(j%))) Then
fvalue$ = docFound.GetItemValue(AgentArgs("AS_Field_Name_"+Cstr(j%)))(0)<br/>
End If
Print |<entrydata><![CDATA[|+fvalue$+|]]></entrydata>|
Next