I am still having trouble correcting this this error. It seems like the userform is submiting spaces and when I hover over the compile error . I tried the code below to try to get it to submit as empty, but that didn't work. What else can I do to make sure when the userform data is submitted to access the blank field is really empty? This field is a numeric field, not sure if this makes a different. But if I put a value in the field it works perfectly. But the field in not required and don't want to force the user to enter a value.
I found this solution in another post, but this seems like it goes to a spreadsheet first before going to Access. My user form should send the data directly to access.
Thanks
Bookmarks