T
Tony
I have a form based on a table that isn't sorted so I created a query and
sorted it. On the form, I have a combo box which populates from the query and
I've sorted a field in the in the said query. The combo box control source is
AuthorTbl_ID, which is a lookup field to the Author table and stores the
Author ID. I can't sort on the Author ID so I've sorted the query I made on
the Author LastName. When I get back to the form, I get the error message "
You tried to assign the null value to a variable that is not a Variant data
type." I've tried to change the data type, tried to sort the form via the
Order By property, and via VB OrderBy all to no avail. Difficult to explain
this. I wish I could upload the form where it would make sense. Any
suggestions are appreciated.
Many thanks,
Tony
sorted it. On the form, I have a combo box which populates from the query and
I've sorted a field in the in the said query. The combo box control source is
AuthorTbl_ID, which is a lookup field to the Author table and stores the
Author ID. I can't sort on the Author ID so I've sorted the query I made on
the Author LastName. When I get back to the form, I get the error message "
You tried to assign the null value to a variable that is not a Variant data
type." I've tried to change the data type, tried to sort the form via the
Order By property, and via VB OrderBy all to no avail. Difficult to explain
this. I wish I could upload the form where it would make sense. Any
suggestions are appreciated.
Many thanks,
Tony