Jürgen Welz
jwelz at hotmail.com
Thu Apr 29 18:00:25 CDT 2004
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 >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN Premium http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines