Gustav Brock
gustav at cactus.dk
Fri Apr 30 03:30:21 CDT 2004
Hi Terry
I think Jürgen caught this one.
However, you should also be able to do a
DBEngine(0)(0).Refresh
to view any changes.
/gustav
> Just guessing but I suspect that the problem is that DBEngine(0)(0) is only
> going to see the collections as at the time the database was opened or the
> last time CurrentDb was called. If you replace DBEngine(0)(0) with
> CurrentDb, I suspect you will see the current property value.
> Ciao
> Jürgen Welz
> Edmonton, Alberta
> jwelz at hotmail.com
>>-----Original Message-----
>>From: accessd-bounces at databaseadvisors.com
>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MACE, Terry
>>Sent: Tuesday, April 27, 2004 9:54 PM
>>To: 'Access Developers discussion and problem solving'
>>Subject: [AccessD] User Defined Properties A97
>>
>>
>>I'm trying to use a custom property to store some changing information,
>>which works fine, but when I try to read it, it only returns the value that
>>was present when the database was opened.
>>
>>Is this the way it works or can I read the changed info. I'm using the
>>following code to read the property 'Reference':
>>
>>DBEngine(0)(0).Containers("Databases").Documents("UserDefined").Properties("
>>reference")
>>
>>Terry Mace