Re: Databases

From: Fred Taylor (ftaylor_at_mvps.org!REMOVE)
Date: 06/27/04


Date: Sun, 27 Jun 2004 12:47:36 -0700

If your data tables were located at a sub-folder other than MyApp, like your
training folder that's under MyApp, you'd be able to switch to a different
set.

If your's was set up as:

c:\MyApp\Training
c:\MyApp\Testing
c:\MyApp\Live

If your data was in any of the 3 above subfolders to MyApp, you should be
able to switch with the SET DEFAULT.

I think your problem is that your original design has your tables in MyApp,
not in one of it's subfolders.

Fred
Microsoft Visual FoxPro MVP

"Cowboy" <Cowboy@discussions.microsoft.com> wrote in message
news:E60DF3FD-EC2C-4FA8-AB96-33E28D955CEB@microsoft.com...
> Sorry for the duplicates, I got a message this did not post.
>
> "Cowboy" wrote:
>
> > I am not able to change the "database" in a form by issuing the
statement "set default to c:\MyApp\Train" When I do issue the statement,
the form continues to display the original database such as c:\MyApp.
Running the form continues to use the table that is part of the database
that was in use when the forms DE was use at the time the tables were added
to the form. Is there another way to change the forms database, or am I
missing something?
> >
> > TIA



Relevant Pages

  • Re: Taskbar refresh?
    ... taskbar shows "Untitled - MyApp" as it should. ... my applications sets main form's caption again: ... "MyDocument - MyApp" even when I switch back to my application. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Starting two concurrent executables with autoexec
    ... I made the DR-DOS boot disk, ... ECHO loading my app: ... for some reason, lxpic will run fine, but myapp won't run. ... switch the order around, myapp will run, but lxpic won't. ...
    (comp.os.msdos.programmer)
  • Business Admin Permissions
    ... I've got a web app (myApp) that users log into using SQL ... The users enter their userid & passwords into a login ... add/delete users from roles in the myApp database ... to screw with other databases or logins on the box. ...
    (microsoft.public.sqlserver.security)
  • Re: Business Admin Permissions
    ... create new server logins that only have access to the myApp ... delete user/login accounts from the database/server ... add/delete users from roles in the myApp database ...
    (microsoft.public.sqlserver.security)
  • ODBC connection
    ... I have linked several tables to a database called sondb on the SQL server ... I have used a DSN called MYAPP with userid and password of ... Once I open the database and run my query I have to sgn on using the user id ...
    (microsoft.public.access.queries)