Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 54 total
Thread Easy way of changing databasename.. Backup/Procedure functions..
Sun, Jan 8 2006 6:29 PMPermanent Link

"Hüseyin Aliz"
Hi All,

I have 2 issues, first of all - i want to change the name of the DBISAM
Database which resides on the mainform. I have designed my application in
the way, so tables/query's resides in different forms, so is it using
search/replace editors or?

I am also going to implement backup/restore functions in my app. Could it be
an idea to have a 2nd DBISAM DB, pointing at the same directory as the
existing, just in need of backup/restore functions?

Thanks in advance,

Regards,
Hüseyin A.

Sun, Jan 8 2006 8:58 PMPermanent Link

"J. B. Ferguson"
H|seyin,

I don't know anything about your application but is there a reason
you're not using datamodules for your non-visual database components?
That sure would make things a whole lot easier for you in many ways.
Otherwise, I'm not sure exactly what you are asking for in the last
sentence of your first issue.

You don't state which version of DBIsam you are using. If it is v4.x
and C/S, why don't you use the built in Backup/Restore functionality in
the server?

--
Regards,
Jan Ferguson


H|seyin Aliz wrote:

> Hi All,
>
> I have 2 issues, first of all - i want to change the name of the
> DBISAM Database which resides on the mainform. I have designed my
> application in the way, so tables/query's resides in different forms,
> so is it using search/replace editors or?
>
> I am also going to implement backup/restore functions in my app.
> Could it be an idea to have a 2nd DBISAM DB, pointing at the same
> directory as the existing, just in need of backup/restore functions?
>
> Thanks in advance,
>
> Regards,
> H|seyin A.

H|seyin
Mon, Jan 9 2006 7:44 AMPermanent Link

"Hüseyin Aliz"
Hi J.B,

Well it's the way i've designed it many years ago, when i was pretty new to
delphi and dbisam, and since i have not changed it, right now i cannot
change it, but will redesign my apps when i got some sparetime Smile

It's v4.x i am using and not C/S, so everything is local.

Thanks and Regards,
Hüseyin




"J. B. Ferguson" <jbNOSPAMfergusonATgmailDOTcom> skrev i en meddelelse
news:55A58B3D-3005-4D33-8023-31C534A98001@news.elevatesoft.com...
> H|seyin,
>
> I don't know anything about your application but is there a reason
> you're not using datamodules for your non-visual database components?
> That sure would make things a whole lot easier for you in many ways.
> Otherwise, I'm not sure exactly what you are asking for in the last
> sentence of your first issue.
>
> You don't state which version of DBIsam you are using. If it is v4.x
> and C/S, why don't you use the built in Backup/Restore functionality in
> the server?
>
> --
> Regards,
> Jan Ferguson
>
>
> H|seyin Aliz wrote:
>
>> Hi All,
>>
>> I have 2 issues, first of all - i want to change the name of the
>> DBISAM Database which resides on the mainform. I have designed my
>> application in the way, so tables/query's resides in different forms,
>> so is it using search/replace editors or?
>>
>> I am also going to implement backup/restore functions in my app.
>> Could it be an idea to have a 2nd DBISAM DB, pointing at the same
>> directory as the existing, just in need of backup/restore functions?
>>
>> Thanks in advance,
>>
>> Regards,
>> H|seyin A.
>
> H|seyin

Mon, Jan 9 2006 7:53 AMPermanent Link

"Hüseyin Aliz"
I have also a question about Databasename which i will not bother Tim with
(i know he's very busy) Smile

On my Mainform, i have the DBISAMDatabase Component, and it's named STARDB.
On every other table/query it's called STAR and not STARDB, i have looked
for another DBISAMDatabase component called STAR, a "hidden" Database
somewhere called STAR, but i cannot find the reference to this DB , neither
can i find a DBISAM Session called STAR, in short nothing is called "STAR"
in the mainform. But the tables/querys are working fine with this
Databasename.

Does someone have a idea what it can be?

Thanks in advance,

Hüseyin


"Hüseyin Aliz" <huseyinaliz@hotmail.com> skrev i en meddelelse
news:8856080C-0CA1-418C-8A14-06A250C69211@news.elevatesoft.com...
> Hi J.B,
>
> Well it's the way i've designed it many years ago, when i was pretty new
> to delphi and dbisam, and since i have not changed it, right now i cannot
> change it, but will redesign my apps when i got some sparetime Smile
>
> It's v4.x i am using and not C/S, so everything is local.
>
> Thanks and Regards,
> Hüseyin
>
>
>
>
> "J. B. Ferguson" <jbNOSPAMfergusonATgmailDOTcom> skrev i en meddelelse
> news:55A58B3D-3005-4D33-8023-31C534A98001@news.elevatesoft.com...
>> H|seyin,
>>
>> I don't know anything about your application but is there a reason
>> you're not using datamodules for your non-visual database components?
>> That sure would make things a whole lot easier for you in many ways.
>> Otherwise, I'm not sure exactly what you are asking for in the last
>> sentence of your first issue.
>>
>> You don't state which version of DBIsam you are using. If it is v4.x
>> and C/S, why don't you use the built in Backup/Restore functionality in
>> the server?
>>
>> --
>> Regards,
>> Jan Ferguson
>>
>>
>> H|seyin Aliz wrote:
>>
>>> Hi All,
>>>
>>> I have 2 issues, first of all - i want to change the name of the
>>> DBISAM Database which resides on the mainform. I have designed my
>>> application in the way, so tables/query's resides in different forms,
>>> so is it using search/replace editors or?
>>>
>>> I am also going to implement backup/restore functions in my app.
>>> Could it be an idea to have a 2nd DBISAM DB, pointing at the same
>>> directory as the existing, just in need of backup/restore functions?
>>>
>>> Thanks in advance,
>>>
>>> Regards,
>>> H|seyin A.
>>
>> H|seyin
>
>

Mon, Jan 9 2006 7:56 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Hüseyin


The DBISAMDatabase component has a name and a DatabaseName property and its the latter that is used for tables.

Roy Lambert
Mon, Jan 9 2006 8:10 AMPermanent Link

"Hüseyin Aliz"
Hi Roy,

I can see that STARDB is even connected?? but i have a STAR as Alias.. When
i click on the Alias nothing is showed in Object Inspector. I must be crazy
or blind.. or? Smile

Regards,
Hüseyin

"Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse
news:47196429-F54D-407B-8399-ACE4F50ABD81@news.elevatesoft.com...
> Hüseyin
>
>
> The DBISAMDatabase component has a name and a DatabaseName property and
> its the latter that is used for tables.
>
> Roy Lambert
>

Mon, Jan 9 2006 9:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Hüseyin


I hope we're talking about the same thing here Smiley DBISAM doesn't use alias's. The TDBISAMDatabase component has a Name and a DataBaseName. The Name of the component doesn't seem to be used by DBISAM to connect to things that's the job of the DatabaseName and that is a simple string. This allows you to type in a directory for the DatabaseName on a TDBISAMTable component.

In the IDE there should be a drop down on a TDBISAMTable or TDBISAMQuery which will allow you to select which database you want (if there are any available). However, clicking the DatabaseName on the TDBISAMDatabase component (or even hitting it with a big hammer) will have no effect. There is a Directory property which will open up a folder browser.

Roy Lambert
Mon, Jan 9 2006 10:14 AMPermanent Link

"Hüseyin Aliz"
Hi Roy Smile

I am confused right now (as usual) Smile

If DBISAM is not using Alias, where does it come from? And why cant i see
this Alias somewhere?

Regards,
Hüseyin

"Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse
news:B086C4CB-E9A9-4E13-9B2C-AF31DC39856C@news.elevatesoft.com...
> Hüseyin
>
>
> I hope we're talking about the same thing here Smiley DBISAM doesn't use
> alias's. The TDBISAMDatabase component has a Name and a DataBaseName. The
> Name of the component doesn't seem to be used by DBISAM to connect to
> things that's the job of the DatabaseName and that is a simple string.
> This allows you to type in a directory for the DatabaseName on a
> TDBISAMTable component.
>
> In the IDE there should be a drop down on a TDBISAMTable or TDBISAMQuery
> which will allow you to select which database you want (if there are any
> available). However, clicking the DatabaseName on the TDBISAMDatabase
> component (or even hitting it with a big hammer) will have no effect.
> There is a Directory property which will open up a folder browser.
>
> Roy Lambert
>

Mon, Jan 9 2006 11:20 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< If DBISAM is not using Alias, where does it come from? And why cant i see
this Alias somewhere? >>

The TDBISAMDatabase.DatabaseName property in DBISAM is simply user-defined.
You can name it anything you want.  However, if you want to have the
TDBISAMTable and TDBISAMQuery components use that database component, they
must have their DatabaseName properties set to the same value as the
TDBISAMDatabase.DatabaseName property.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jan 9 2006 11:49 AMPermanent Link

"Hüseyin Aliz"
Hi Tim,

That's why i think it's strange. The only DBISAMDatabase component i have on
the form is named STARDB, and is disconnected??? All tables/query's are
using STAR as Databasename, and this STAR is not (as i can see) defined
anywhere? It's on the object inspector in Delphi IDE as a "Alias".

I am sure i am missing something but where Smile
I'll checkit once more (let's say again and again).. later today..

Thanks for looking at this.

Regards,
Hüseyin


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> skrev i en
meddelelse news:0265EE4A-31C0-4B7A-9CAD-D51B895B8A0E@news.elevatesoft.com...
> Hüseyin,
>
> << If DBISAM is not using Alias, where does it come from? And why cant i
> see this Alias somewhere? >>
>
> The TDBISAMDatabase.DatabaseName property in DBISAM is simply
> user-defined. You can name it anything you want.  However, if you want to
> have the TDBISAMTable and TDBISAMQuery components use that database
> component, they must have their DatabaseName properties set to the same
> value as the TDBISAMDatabase.DatabaseName property.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Page 1 of 6Next Page »
Jump to Page:  1 2 3 4 5 6
Image