Problem retrieving the memo field in Access. 
Author Message
 Problem retrieving the memo field in Access.

I am accessing an Access database in VB using ADO. When I try to retrieve
the value of a memo field, the program returns a null value even though
Access memo field contains a string. When I use a watch expression on that
field I notice that it contains the string value for a short period of time
and then changes to Null for no apparent reason. Is this a bug with Access,
VB or ADO.

I get this problem only with the memo field in Access.

Hope this can be solved.

Thanks in advance.

Greg



Sun, 25 Aug 2002 03:00:00 GMT  
 Problem retrieving the memo field in Access.
i've got a similar problem with memo fields using access97 and vb6 and ADO.
My table has a memo field, and a numeric field.
i can delete a record from that table, i can add a record to that table, but
i can't update the memo field value (in any record) to a null value: i can
edit the content of the memo field, but not give it the null value ("").
In field properties, the memo field has its "allow zero length" property
set to 'yes' and its "required" property set to 'no'

As greg, i wonder if there is a bug involving VB6, ADO, and Memo field in
access97.

any clue, explanations, solutions or help  welcome.
thanks in advance

julien


Quote:
> I am accessing an Access database in VB using ADO. When I try to retrieve
> the value of a memo field, the program returns a null value even though
> Access memo field contains a string. When I use a watch expression on that
> field I notice that it contains the string value for a short period of
time
> and then changes to Null for no apparent reason. Is this a bug with
Access,
> VB or ADO.

> I get this problem only with the memo field in Access.

> Hope this can be solved.

> Thanks in advance.

> Greg



Sun, 25 Aug 2002 03:00:00 GMT  
 Problem retrieving the memo field in Access.
Julien and Greg,
Haven't used ADO with Access but with DAO you will likely need to use
GetChunk/PutChunk methods to retrieve/store data in a memo datatype. I
suspect ADO has similar methods to deal with "CLOB/BLOB" data.

Oscar Bowyer

Quote:

>i've got a similar problem with memo fields using access97 and vb6 and ADO.
>My table has a memo field, and a numeric field.
>i can delete a record from that table, i can add a record to that table,
but
>i can't update the memo field value (in any record) to a null value: i can
>edit the content of the memo field, but not give it the null value ("").
>In field properties, the memo field has its "allow zero length" property
>set to 'yes' and its "required" property set to 'no'

>As greg, i wonder if there is a bug involving VB6, ADO, and Memo field in
>access97.

>any clue, explanations, solutions or help  welcome.
>thanks in advance

>julien



>> I am accessing an Access database in VB using ADO. When I try to retrieve
>> the value of a memo field, the program returns a null value even though
>> Access memo field contains a string. When I use a watch expression on
that
>> field I notice that it contains the string value for a short period of
>time
>> and then changes to Null for no apparent reason. Is this a bug with
>Access,
>> VB or ADO.

>> I get this problem only with the memo field in Access.

>> Hope this can be solved.

>> Thanks in advance.

>> Greg



Mon, 26 Aug 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Memo fields - problems reporting 2 memo fields

2. Retrieving Access Memo Fields into a Word Document

3. Append memo field to a different memo field

4. Access, VB, and DAO problem with a Memo Field

5. Creating a Word doc from Access and Problems with Memo field

6. MS Access memo field problems

7. ADO, VB and Access MEMO field problem

8. Access 2.0, Memo-field problem

9. Problem returning data from a scroll text box to an Access memo field

10. Problem with Access: memo fields

11. Problems with Memo fields in Access

12. Problem reading data from memo field (Access)

 

 
Powered by phpBB® Forum Software