Jose,
>IF I open CMM database first :
>
>OPEN DATABASE c:\projetos\spi\data\cmm.dbc SHARED
>OPEN DATABASE c:\projetos\spi\data\spi.dbc SHARED
>USE c:\projetos\spi\data\users.dbf SHARED
>lcDefaultValue = DBGETPROP("users.cid", "Field", "DefaultValue")
If you use the latest version of the Framework, it handles these multi-database issues for you. In case you're not able to move to the latest version at this time, I will send you a source code change via private e-mail that will address your problem.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com