Subject | Re: [IBO] Environment initialization |
---|---|
Author | Jason Wharton |
Post date | 2002-11-19T23:46:14Z |
Doing this on a remote connection isn't as easy but still possible if you
catch the errcode returned and then run a create script from the client. I
presume you have seen some of the sample apps like Contact that do something
very similar to this.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
catch the errcode returned and then run a create script from the client. I
presume you have seen some of the sample apps like Contact that do something
very similar to this.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "hcarvajalsy" <hcarvajalsy@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, November 19, 2002 9:16 AM
Subject: [IBO] Environment initialization
> I need to initilize a database and tables in an external
> server. How can you check if the database does not exists, and in
> this case how could I connect to the server in order to execute the
> creation script? In the case of tables, how do you check if the
> table exists? In the example applications this is done by: if
> cnContact.Protocol = cpLocal ) and not
eExists(
> cnContact.Database ), but in my case the Protocol would be cpTCP_IP?
> Thank you for any help on this matter.
> Regards,
> H Carvajal