Subject |
Re: Changing File paths on deployment |
From |
Kinsley <kinsley@redransom.co.uk> |
Date |
Tue, 20 Jun 2017 16:17:43 -0400 |
Newsgroups |
dbase.getting-started |
Thank you Ken,
I was sure I had tried this so if the folder is \\server\data and the BDE Alias is set to ServerData.
How do I access this when I am making a folder name e.g. ServerData + "\StudentFiles\" + databasenamevariable?
Thanks again,
Kinsley
Ken Mayer Wrote:
> On 6/20/2017 3:46 AM, Kinsley wrote:
> > Hi,
> >
> > I have an application that won't work locally as I don't have the same setup as the customer who I am working for. Is it possible to setup a config that allows me to use one set of paths locally and then have a different set of paths for the client. e.g.
> >
> > if I am looking to create a new file called T20170619.dbf in my c:\projects\data folder but on my clients address it is: \\server\data
> >
> > What can I do to get around this as I think Alias / BDE won't do in this case?
> >
> > I added this into Deployment but its seems pretty dead around there!
> >
> > Many thanks,
>
> You should set up the BDE Aliases, as you point out above. The BDE
> aliases should handle the whole thing without having to touch your
> application code.
>
> Ken
>
>
> --
> *Ken Mayer*
> 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
|
|