Answered
join recordset with null field causing errors
The initial value of form fields on this page are populated
by the following recordset containing a join:
SELECT *
FROM customers_cus, orders_ord
WHERE orders_ord.customerid_ord=customers_cus.customerid_cus AND company_cus='" & Request.Form("companymenu") &"'
Whenever the database field orders_ord.customerid_ord is not null, the form fields on the page preview fine. However, if orders_ord.customerid_ord is null, I receive the following error message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
How do I make it that orders_ord.customerid_ord is able to be null?
SELECT *
FROM customers_cus, orders_ord
WHERE orders_ord.customerid_ord=customers_cus.customerid_cus AND company_cus='" & Request.Form("companymenu") &"'
Whenever the database field orders_ord.customerid_ord is not null, the form fields on the page preview fine. However, if orders_ord.customerid_ord is null, I receive the following error message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
How do I make it that orders_ord.customerid_ord is able to be null?
