Lookup Field with ADO

Giganews Newsgroups
Subject:Lookup Field with ADO
Posted by: Rich _
Date:Wed, 28 Oct 2009

I have a lookup field defined on an ADODataset. When I add a new record a lookup is fired and I get the error: "unknown error occured".

I'm thinking it has something to do with the value of the lookup field being "Null" for a new record. But if I set a default value for the field, say -1, I don't get the error.

Anyone know a way around having to set a default field value?

Replies