>if open a table that is contained in a database (but i do not know
>which one), is there a way to find out what the "containing database
>pointer" is ?
>
>is there a way to update that pointer ?
If you explicitly open the database, dbc() gives you the name of the selected database. However, if you only open the table... well, I don't know. The database is available (for stored procedures), but not actually selected, and dbc() returns an empty string.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)