Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 21 to 30 of 54 total |
Easy way of changing databasename.. Backup/Procedure functions.. |
Wed, Jan 11 2006 8:02 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hüseyin
Do a global search across you project. It must be there somewhere. Roy Lambert |
Wed, Jan 11 2006 8:18 AM | Permanent Link |
"Hüseyin Aliz" | Hi Roy,
I made a search on TDBISAMDatabase now. There's only one TDBISAMDatabase defined in whole project, and it's on the mainunit - called STARDB. Regards, Hüseyin "Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse news:1D932200-E319-4D3F-B652-815B2A2F3FC6@news.elevatesoft.com... > Hüseyin > > > Do a global search across you project. It must be there somewhere. > > Roy Lambert > |
Wed, Jan 11 2006 9:29 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hüseyin
OK try this In the IDE, in the Object TreeView click on STAR If it doesn't select a component then delete it - DO NOT save the project unless you have a backup Try compiling and see where an error comes from. Roy Lambert |
Wed, Jan 11 2006 9:43 AM | Permanent Link |
"Hüseyin Aliz" | Hi Roy,
I cannot delete STAR (Alias) as it does not exists as a component? When i click on it the object inspector has (nothing selected) as value. This is going to kill me Regards, Hüseyin "Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse news:EA8ED706-025D-4348-BF28-6DDBBBBB83F3@news.elevatesoft.com... > Hüseyin > > > OK try this > > In the IDE, in the Object TreeView click on STAR > > If it doesn't select a component then delete it - DO NOT save the project > unless you have a backup > > Try compiling and see where an error comes from. > > > Roy Lambert > |
Wed, Jan 11 2006 9:54 AM | Permanent Link |
"Scott Martin" | Have you searched all the DFM's and see if the you see the string in there? (instead of bouncing around all the VCL
props) Regards, Scott. "Hüseyin Aliz" <huseyinaliz@hotmail.com> wrote in message news:0643B8BF-C938-48E8-ABC4-CB2123093EB2@news.elevatesoft.com... > Hi Roy, > > I cannot delete STAR (Alias) as it does not exists as a component? When i click on it the object inspector has > (nothing selected) as value. > > This is going to kill me > > Regards, > Hüseyin > > "Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse > news:EA8ED706-025D-4348-BF28-6DDBBBBB83F3@news.elevatesoft.com... >> Hüseyin >> >> >> OK try this >> >> In the IDE, in the Object TreeView click on STAR >> >> If it doesn't select a component then delete it - DO NOT save the project unless you have a backup >> >> Try compiling and see where an error comes from. >> >> >> Roy Lambert >> > > |
Wed, Jan 11 2006 10:06 AM | Permanent Link |
"Hüseyin Aliz" | Hi Scott,
I've made a "Text" search in all files for TDBISAMDatabase, and only 1 instance was found, eg. STARDB (located on the mainform) Regards, Hüseyin "Scott Martin" <scottmartin@pdq.net> skrev i en meddelelse news:D4789095-1D9A-4300-A5D5-F20016288254@news.elevatesoft.com... > Have you searched all the DFM's and see if the you see the string in > there? (instead of bouncing around all the VCL props) > > Regards, > Scott. > > "Hüseyin Aliz" <huseyinaliz@hotmail.com> wrote in message > news:0643B8BF-C938-48E8-ABC4-CB2123093EB2@news.elevatesoft.com... >> Hi Roy, >> >> I cannot delete STAR (Alias) as it does not exists as a component? When i >> click on it the object inspector has (nothing selected) as value. >> >> This is going to kill me >> >> Regards, >> Hüseyin >> >> "Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse >> news:EA8ED706-025D-4348-BF28-6DDBBBBB83F3@news.elevatesoft.com... >>> Hüseyin >>> >>> >>> OK try this >>> >>> In the IDE, in the Object TreeView click on STAR >>> >>> If it doesn't select a component then delete it - DO NOT save the >>> project unless you have a backup >>> >>> Try compiling and see where an error comes from. >>> >>> >>> Roy Lambert >>> >> >> > > |
Wed, Jan 11 2006 10:29 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Hüseyin
As a result of doing a bit of debugging for myself I've just found something out. I dropped a tdbisamtable onto a form, no tdbisamsession, no tdbisamdatabase and set the databasename to E:\HH Dev\Testdata and ...... I now have a "component" called e:\hh dev\testdata {Alias} in the Object TreeView So what you're seeing in the Object TreeView is the fact that the databasename of some tables is set to STAR. In your case it looks like 5 queries and 5 tables. I've never noticed that before. Roy Lambert |
Wed, Jan 11 2006 10:41 AM | Permanent Link |
"Hüseyin Aliz" | Hi Roy,
It's correct But.. where is this STAR defined as DBISAMDatabase or as databasename to a existing DBISAMDatabase or even DBISAMSession.. that's my problem I got this issue, because i wanted to implement backup in my app. Saw Tim's code somewhere where you have to put DBISAMDatabase.. but since my only DBISAMDatabase component is disabled, i decided to ask here Regards, Hüseyin "Roy Lambert" <roy.lambert@skynet.co.uk> skrev i en meddelelse news:382F4EE3-7BF4-42E7-8352-D8E41C24D88E@news.elevatesoft.com... > Hüseyin > > > As a result of doing a bit of debugging for myself I've just found > something out. > > I dropped a tdbisamtable onto a form, no tdbisamsession, no > tdbisamdatabase and set the databasename to E:\HH Dev\Testdata and ...... > > > I now have a "component" called e:\hh dev\testdata {Alias} in the Object > TreeView > > So what you're seeing in the Object TreeView is the fact that the > databasename of some tables is set to STAR. In your case it looks like 5 > queries and 5 tables. > > I've never noticed that before. > > Roy Lambert > |
Wed, Jan 11 2006 11:42 AM | Permanent Link |
"Ole Willy Tuv" | Hüseyin,
<< But.. where is this STAR defined as DBISAMDatabase or as databasename to a existing DBISAMDatabase or even DBISAMSession.. that's my problem >> What I *think* happens is that when you assign 'STAR' to the DatabaseName property of a DBISAM dataset object, and there's no database object with the name 'STAR', then you're implicitly giving the default DBISAM database object the alias 'STAR'. If my assumption is correct, the reason that the connection works is that the default database object is pointing to your project folder and your tables happen to be in this folder. I guess the connection would fail in the IDE, since the default database object is created at run-time. Ole Willy Tuv |
Wed, Jan 11 2006 1:03 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Ole
I think that's it. If Hüseyin tried what Scott suggests and looks in the .dfm's I'm betting he'll find 10 databasenames set to STAR Roy Lambert |
« Previous Page | Page 3 of 6 | Next Page » |
Jump to Page: 1 2 3 4 5 6 |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |