Hello everyone.
I am trying to use GetRows on a recordset that will display the contents of a shopping cart. It works fine if the recordset (cart) is not empty, but when there is nothing in the shopping cart I get this:
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
How do I code this so instead of this error I can get my "Sorry, your cart is empty" message?
Thanks.
I am trying to use GetRows on a recordset that will display the contents of a shopping cart. It works fine if the recordset (cart) is not empty, but when there is nothing in the shopping cart I get this:
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
How do I code this so instead of this error I can get my "Sorry, your cart is empty" message?
Thanks.