Hello and thanks for any help in advance.
I have a continuous sub-form based on a table. The form is disabled, and used only for displaying records. I have unbound fields at the bottom of the main form that I enter data into and then write the data in the underlying table for the sub-form by pressing a button. The reason I do this is to avoid the problems associated the subform saving data when losing focus, etc.
So, before I write the data from the unbound fields into the table, I would like to check for its data type so that I don't run into data type mismatch with the data type of the fields in the table.
One of the unbound field must have currency data type, another date data type,
and the other is just text and number fields.
for the number field I just use the (if Not IsNumeric then), which works perfect. How can I check the others?
I don't want to use the built-in Input Mask, because I want to avoid the default Access pop-up message that is associated with the input mask.
Hope there is a good solution for it.