Why does this VB line returns a value if CAMPO is the name of a field and VALORE is a possible valule for that field, but it returns "0" if CAMPO is the name of another field, and VALORE is a possible value for this other field?
Set GlobalCollection = db.SEARCH("@Contains(" & CAMPO & ";" & VALORE & ")", dateTime, 0)
I knwo that in both cases SEARCH should return values different from zero, as I SAW the documents it should count... so why doesn't it count them?
The only difference between CAMPO1 and CAMPO2 is that first can have string values, second can have integer values: should I use a different function to look for integers?
-- Jumpjack --
Set GlobalCollection = db.SEARCH("@Contains(" & CAMPO & ";" & VALORE & ")", dateTime, 0)
I knwo that in both cases SEARCH should return values different from zero, as I SAW the documents it should count... so why doesn't it count them?
The only difference between CAMPO1 and CAMPO2 is that first can have string values, second can have integer values: should I use a different function to look for integers?
-- Jumpjack --