||Re: allowing user to change or add an alias
Ken Mayer <firstname.lastname@example.org>
||Sun, 18 Jun 2017 07:14:28 -0700
On 6/18/2017 12:31 AM, Akshat Kapoor wrote:
> Hello Charlie,
> On 18/06/2017 00:15, Charlie wrote:
> > Hi Akshat..
> > Thanks, I have looked at yours but don't get exactly what you are
> doing. Could you send the tables? Or the structure? Possibly that
> would help me understand it. If I can fix the permissions or whatever
> is causing the problem bdealias.cc will work well. But I still love
> learning other ways of doing things. And that's a good thing because I
> have a whole lot to learn!!! :)
> There are two approaches to using variable databases I have tested. I
> will explain both
> Approach 1
> Create a temporary BDE Alias
> This is can be created/altered as and when you want. There is only one
> drawback It is not permanent in nature. It will be gone as soon as the
> session ends.
There is a third option:
User BDE Aliases
You can create aliases in your code that only exist within that session,
or you can even write them into the .INI file for your application.
These bypass writing to the IDAPI.CFG file, which may be the issue
Charlie's having ...
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm