Subject Re: Source alias Problem
From Hans-Peter Neuwirth <hans-peter.neuwirth@web.de>
Date Sat, 30 Jan 2010 17:05:35 +0100
Newsgroups dbase.getting-started

Bob McKinney wrote:

>
> Hi Ivar:  Thanks for the CB.  Tried your code on my computer, where I
> author the apps, and the following code thru an error [Unknown
> database name: myTables] ****
>> d = new database()
>> d.databasename = "myTables"
>> d.active = true
>

Bob,

You´re mixing up SourceAlias and DatabaseAlias.

The Source Alias is for Program Code only and is set in the dBASE IDE. It
points to the directory, where SOURECODE is stored.

The DatabaseAlias is set in the BDE-Administrator and is stored in the
idapi.cfg. The DatabaseAlias could be set through the installer oder
maually.

You could read more about BDE/Database-Aliases here:

http://www.dbase.com/Knowledgebase/dbulletin/bu14bde.htm
http://www.dbase.com/Knowledgebase/dbulletin/bu17bde.htm

And about SourceAlias here:

http://www.dbase.com/Knowledgebase/dbulletin/bu11alia.htm

Greetings from snow-covered Germany

hpn

--
Das dBASE Journal - Informationen und Artikel rund um dBASE
und Datenbank-Programmierung: http://www.dbase-journal.de
Zu unserem Informations- und Dialogforum geht es unter:
http://www.dbase-journal.de/forum/index.php
und unser Veranstaltungskalender befindet sich hier:
http://www.dbase-journal.de/forum/index.php?page=CalendarMonth