ClimoC
Well-known Member
- Joined
- Aug 21, 2009
- Messages
- 584
In my access, I've had to set a lot of fields to have default properties to avoid runtime errors (and since it's Excel based ADO objects, I have no Nz() function)
But I also have a bunch of text and memo fields, which when I just wrote a 'duplicate record' function, was returning the 'Invalid use of Null' errors.
Which would be quicker? Going into Access and setting the fields to have a default value of '"" (or even " "), or putting in a 'If Not IsNull([fieldvalue]) Then' for every use of the field in VBA?
Thanks
C
But I also have a bunch of text and memo fields, which when I just wrote a 'duplicate record' function, was returning the 'Invalid use of Null' errors.
Which would be quicker? Going into Access and setting the fields to have a default value of '"" (or even " "), or putting in a 'If Not IsNull([fieldvalue]) Then' for every use of the field in VBA?
Thanks
C