On 26/06/07, Richard Vowles <[EMAIL PROTECTED]> wrote:
The only problem I encounter is using InterBase databases (which require a "real" drive).
I've been playing around with that this afternoon. You can use Aliases for the database, and named servers for the database server. This means that the database can be moved anywhere (you only have to change the pointer to the Alias) or the whole server can be replaced with another IP address. So long as it has the same Server name, there will be no changes to the connection - and no changes to the code. Of course, you can also load the database details from an ini file on your program's startup - this means that you can have a play database for development, a test database for testing, and a live database, with no code changes. Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
