S
Sam
I have a variable defined as Long and when I set it, the data is sometimes an
empty string:
lngReportID= Nz(Me.PartyID.Column(4),0)
If Column(4) happens to be an empty string, I get a type mismatch. I also
tried
lngReportID=Nz(CInt(Me.PartyID.Column(4)),0) with no improvement
The recordsource for Me.PartyID is a passthrough from SQL and when there is
no data in the column, it comes across as an empty string. How can I solve
this either by changing the passthrough or Access vba?
Thanks!
Sam
empty string:
lngReportID= Nz(Me.PartyID.Column(4),0)
If Column(4) happens to be an empty string, I get a type mismatch. I also
tried
lngReportID=Nz(CInt(Me.PartyID.Column(4)),0) with no improvement
The recordsource for Me.PartyID is a passthrough from SQL and when there is
no data in the column, it comes across as an empty string. How can I solve
this either by changing the passthrough or Access vba?
Thanks!
Sam