>Ed:
>
>Thanks for your advise but it doesn't work, if you just open the VFP sesion, do USE(TABLE1) wich belongs to a dbc the DBC( ) function will return an empty string, unless you open explicitly the data base with OPEN DATA MYDBC. Any other method?
If you open table in DE, you could check DE.CursorX.Database property.
Edward Pikman
Independent Consultant