Hi all,
I'm sure this is easy but it's doing my head in for the last half hour so here goes.
I have an unbound form with several fields relating to an action that is performed on something. One of those fields is actionCompany which pulls it's value from a table called Company via a query.
I have an insert query running off of this unbound form which doesn't work if the actionCompany field is left blank. I won't always have a field for actionCompany so I want to set it so that the database records "null" or "Not applicable as the value stored in the field. I just want to make the insert query happy really.
I am tempted to put the string "null" in the company tables company_name field but feel that is not a healthy habit to get into.
any help appreciated!
Update - I set the default value to 0 (it is an id stored in the actionCompany field) however a msg box appears saying a related field from company is needed.
hmmmm........