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?
Jorge Flores
From the Amigo Country