I have a loop which contains this code:
Dim dr() = Me.OuwDataSet1.addresses.Select(ro.advice_no, "advice_no")
the first time thru it works without any problem and all my subsequent code works a treat.
However upon the next iteration I get an error stating that the value contained in ro.advice_no does not evaluate to a boolean term?
ro.advice_no is a bigint type
the first run ro.advice_no = 748081 and it works
the second run ro.advice_no = 748082 and I get the error?
I start again....
the first run ro.advice_no = 748082 and it works
the second run ro.advice_no = 748083 and I get the error.
basically the first run always works the second always errors!
any ideas?
Thnx
Dim dr() = Me.OuwDataSet1.addresses.Select(ro.advice_no, "advice_no")
the first time thru it works without any problem and all my subsequent code works a treat.
However upon the next iteration I get an error stating that the value contained in ro.advice_no does not evaluate to a boolean term?
ro.advice_no is a bigint type
the first run ro.advice_no = 748081 and it works
the second run ro.advice_no = 748082 and I get the error?
I start again....
the first run ro.advice_no = 748082 and it works
the second run ro.advice_no = 748083 and I get the error.
basically the first run always works the second always errors!
any ideas?
Thnx