Hi
I have the following statement and I am getting the 'Expression expected'
error on the &.
If Flds(0) = CStr(IIf(Reader .GetString(Read er.GetOrdinal(" AccNam")) Is
Nothing, "", Reader.GetStrin g(Reader.GetOrd inal("AccNam")) )) AND & _
Flds(1) = CStr(IIf(Reader .GetString(Read er.GetOrdinal(" AccNam")) Is
Nothing, "", Reader.GetStrin g(Reader.GetOrd inal("AccNam")) )) then
Fld is an array of strings.
How can I fix it?
Many Thanks
Regards
I have the following statement and I am getting the 'Expression expected'
error on the &.
If Flds(0) = CStr(IIf(Reader .GetString(Read er.GetOrdinal(" AccNam")) Is
Nothing, "", Reader.GetStrin g(Reader.GetOrd inal("AccNam")) )) AND & _
Flds(1) = CStr(IIf(Reader .GetString(Read er.GetOrdinal(" AccNam")) Is
Nothing, "", Reader.GetStrin g(Reader.GetOrd inal("AccNam")) )) then
Fld is an array of strings.
How can I fix it?
Many Thanks
Regards
Comment