Subject Re: Moved to new PC - can't find data
From Don <dons@home.net>
Date Thu, 15 Jan 2015 12:49:36 -0500
Newsgroups dbase.getting-started

>Hi.  I moved my development to another pc.  In the new pc, dBase is looking for my data in \plus9]bin directory.  I tried BDE and I tried d=new database() in my program.  Thanks, Randy
>

Hi Randy,

If you code a new Alias in the BDE Aministrator it will point to your tables.

Choose BDE Admin from your Dbase Folder
Choose Databases Tab
Rt Click on any White Space Below the current list of "BDE Aliases"[Left Pane]
Pick New
Choose OK in New DataBAse Alias Form [Standard]

Rt Pane
Defaule Driver                Pick Dbase if using Dbase Tables
Path                         Click on Elipsis[Far Right]
                        Navigate to where Your Tables/Data are and Pick OK

Now Rt Click on Standard1[Alias Name] and Rename Standard1 to any name of your choice
Exit from BDE and Choose Save Changes
Now Your New Alias, You can use to point to Your Tables

IE

q = new query()
q.sql := "select * from :MyNewAlias:MyTable1"
q.active := true


Hope this helps
Don