>>Thisform.SetAll("Database",cNewdbcpathname,"Cursor")
>
>What? One line instead of thirty? I don't know how you get paid, bub, but I get paid by the line! :)
>
>Oh, well. That'll teach me to rely on KB code. I'll give it a shot (using ThisForm.DataEnvironment). And of course, I still need to get the database name from the first cursor. Thanks!
Ok, two minor things:
1. It's really Thisform (not Thisform.DataEnvironment), because DE doesn't have SetAll method.
2. To get database name you just use cDbcname=dbc(), assuming that database is opened already (I do it in Main.Prg).
Edward Pikman
Independent Consultant