Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 20 of 54 total
Thread Easy way of changing databasename.. Backup/Procedure functions..
Mon, Jan 9 2006 1:20 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Hüseyin


Which component are you looking at that has a property of "Alias"?


Roy Lambert
Mon, Jan 9 2006 5:44 PMPermanent Link

"Hüseyin Aliz"
Roy,

In Object Treeview:

- Default {DBISAMSession}
  -- <?> {STARDB}
  +-- STAR {Alias}

Regards,
Hüseyin


"Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse
news:4E2F1E70-B648-4C08-A8F3-5DDD183C7724@news.elevatesoft.com...
> Hüseyin
>
>
> Which component are you looking at that has a property of "Alias"?
>
>
> Roy Lambert
>





Attachments: star.jpg
Mon, Jan 9 2006 11:49 PMPermanent Link

"Ralf Bertoldi"
H|seyin Aliz wrote:

> Roy,
>
> In Object Treeview:
>
> - Default {DBISAMSession}
>   -- <?> {STARDB}
>   +-- STAR {Alias}


expand the implicit node "STAR {Alias}"....  the thing you are looking
for is inside the node...

you should see a component with name "alias" and databasename "star"

every database component has 2 properties:
1. "Name"
and
2. "DatabaseName"

> i have the DBISAMDatabase Component, and it's named STARDB

that does not mean that the database has the same name....

What is the value of the "DatabaseName" property?... not the
component....!

if you don't see the databasename "right click" on Inspector and switch
"database".

The table components reference the "DatabaseName", not the component
name.

HIH
ralf


p.s.
the "?" components are not valid. If it's a query component the sql is
missing, if It's a table the tablename is missing.
if ya assign them at runtime it's ok...
Tue, Jan 10 2006 6:05 AMPermanent Link

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

The backup and restore facilities built into DBISAM v4 work with local tables
as well as C/S tables.

Look at the TDBISAMDatabase.Backup method.  Because it is built in to the
component, you can even do a backup of the entire database while the tables
are open and in use.

Tue, Jan 10 2006 5:17 PMPermanent Link

"Hüseyin Aliz"
Hi Ralf,

A screendump is much better then words i guess Smile

Regards,
Hüseyin



"Ralf Bertoldi" <bertoldi@gmx.de> skrev i en meddelelse
news:D0A934B5-31D0-470A-AD4B-3AE04EC61F17@news.elevatesoft.com...
> H|seyin Aliz wrote:
>
>> Roy,
>>
>> In Object Treeview:
>>
>> - Default {DBISAMSession}
>>   -- <?> {STARDB}
>>   +-- STAR {Alias}
>
>
> expand the implicit node "STAR {Alias}"....  the thing you are looking
> for is inside the node...
>
> you should see a component with name "alias" and databasename "star"
>
> every database component has 2 properties:
> 1. "Name"
> and
> 2. "DatabaseName"
>
>> i have the DBISAMDatabase Component, and it's named STARDB
>
> that does not mean that the database has the same name....
>
> What is the value of the "DatabaseName" property?... not the
> component....!
>
> if you don't see the databasename "right click" on Inspector and switch
> "database".
>
> The table components reference the "DatabaseName", not the component
> name.
>
> HIH
> ralf
>
>
> p.s.
> the "?" components are not valid. If it's a query component the sql is
> missing, if It's a table the tablename is missing.
> if ya assign them at runtime it's ok...






Attachments: star2.jpg star3.jpg
Tue, Jan 10 2006 6:59 PMPermanent Link

"Ralf Bertoldi"
H|seyin,

as I wrote

> expand the implicit node "STAR {Alias}"....  the thing you are looking
> for is inside the node...
>
> you should see a component with name "alias" and databasename "star"

thats what you see at designtime. if you would change the propertys
"star" to "mystar" there would be another node called "mystar
{alias}"...

not every symbol means a dropped component... see delphi help...

for further information how to handle the database name property see
http://www.elevatesoft.com/dbisam4d7_tdbisamdatabase_databasename.htm

how to link to a database see
http://www.elevatesoft.com/dbisam4d7_tdbisamdbdataset_databasename.htm

HIH
ralf
Tue, Jan 10 2006 7:43 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< A screendump is much better then words i guess Smile>>

Do you (or did you) have any TDBISAMTable or TDBISAMQuery components whose
DatabaseName property is "STAR" ?  That would be my guess as to what is
happening.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Jan 11 2006 5:54 AMPermanent Link

Chris Erdal
"Hüseyin Aliz" <huseyinaliz@hotmail.com> wrote in news:DD2CF2DD-4BE8-4F3F-
8843-E12984C91205@news.elevatesoft.com:

> Hi Ralf,
>
> A screendump is much better then words i guess Smile
>

I see STARDB.DatabaseName is empty - what happens if you set it to "STAR"?

--
Chris
Wed, Jan 11 2006 7:11 AMPermanent Link

"Hüseyin Aliz"
Tim,

All tables/queries on all forms have this "STAR" as Databasename value.

Regards,
Hüseyin

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> skrev i en
meddelelse news:C0944CCC-68DA-4493-B829-EAE17EE26EDF@news.elevatesoft.com...
> Hüseyin,
>
> << A screendump is much better then words i guess Smile>>
>
> Do you (or did you) have any TDBISAMTable or TDBISAMQuery components whose
> DatabaseName property is "STAR" ?  That would be my guess as to what is
> happening.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Wed, Jan 11 2006 7:15 AMPermanent Link

"Hüseyin Aliz"
Hi Chris,

Databasename "STAR" does already exists! is what happenes when i try to set
Databasename to STAR. It's defined somewhere but where? Smile

When i search on the mainunit, it does not find any "STAR" Smile

Regards,
Hüseyin

"Chris Erdal" <chris@No-Spam-erdal.net> skrev i en meddelelse
news:Xns9748793DD32BD14torcatis@64.65.248.118...
> "Hüseyin Aliz" <huseyinaliz@hotmail.com> wrote in news:DD2CF2DD-4BE8-4F3F-
> 8843-E12984C91205@news.elevatesoft.com:
>
>> Hi Ralf,
>>
>> A screendump is much better then words i guess Smile
>>
>
> I see STARDB.DatabaseName is empty - what happens if you set it to "STAR"?
>
> --
> Chris

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