Why do attributes (e.g adFldIsNullable) get cleared when opening a contsructed Recordset?
rgutter_at_bctf.ca
Date: 02/21/05
- Next message: manish_agarwal_at_adp.com: "Using ADO with XP SP2"
- Previous message: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Next in thread: rgutter_at_bctf.ca: "Re: Why do attributes (e.g adFldIsNullable) get cleared when opening a contsructed Recordset?"
- Reply: rgutter_at_bctf.ca: "Re: Why do attributes (e.g adFldIsNullable) get cleared when opening a contsructed Recordset?"
- Messages sorted by: [ date ] [ thread ]
Date: 21 Feb 2005 02:40:21 -0800
I'm constructing a Recordset where some fields have to accept null
values that will copied into it:
Rs.Fields.Append "FieldOne", adVarChar, 10,
adFldUpdatable+adFldIsNullable+adFldMayBeNull
When I check Rs.Fields(0).Attributes I see 100, which corresponds to
the 4+32+64 I set.
As soon as I open the Recordset, Rs.Fields(0).Attributes is reset to 4,
and I err out trying to set it to Null.
Any ideas?
- Next message: manish_agarwal_at_adp.com: "Using ADO with XP SP2"
- Previous message: rgutter_at_bctf.ca: "Re: ADO GetRows array to XML?"
- Next in thread: rgutter_at_bctf.ca: "Re: Why do attributes (e.g adFldIsNullable) get cleared when opening a contsructed Recordset?"
- Reply: rgutter_at_bctf.ca: "Re: Why do attributes (e.g adFldIsNullable) get cleared when opening a contsructed Recordset?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|