Subject | SV: [IBO] IB_Connection property of TIBOTable changes mysteriously |
---|---|
Author | Jacob Havkrog |
Post date | 2013-03-07T10:25:41Z |
Hi -
No, tha DatabaseName of SystemServerModule.SystemConnection is "localhost/357:DsaSystem".
I guess it happens, when the IB_Connection property isn't set? That will be the case when migration from BDE components.
-.-.-.-.-.-.
But I have a similar problem in a new IBO application (that isn't migrated).
I have this IBOTable component:
object BackupTable: TIBOTable
ColumnAttributes.Strings = (
'BACKUPS.BACKUPNO=REQUIRED'
'BACKUPS.SYSTEMNO=REQUIRED')
DatabaseName = 'localhost/30507:DsaSystem'
IB_Connection = SystemServerModule.SystemConnection
IB_Transaction = SysTransaction
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
OnCalcFields = BackupTableCalcFields
IndexName = 'BACKUPS_BackupTime_IX'
TableName = 'BACKUPS'
FieldOptions = []
...
end;
If I open this form while another project in the project group is active, the IB_Connection property is deleted. Whats more, the dirty flag of the dfm file isn't set, so the change is only maybe saved back to the file.
My solution now is to set it at run time, but as my project is full of TIBO table component it's not ideal.
Cheers
Jacob
Fra: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] På vegne af IBO Support List
Sendt: 5. marts 2013 16:47
Til: IBObjects@yahoogroups.com
Emne: RE: [IBO] IB_Connection property of TIBOTable changes mysteriously
Does that other database object have the DatabaseName of SKData?
That is what it will go on so you need to have each one of those with a
unique DatabaseName.
Jason
www.ibobjects.com<http://www.ibobjects.com>
-----Original Message-----
From: IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com> [mailto:IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com>] On Behalf
Of jacobhavkrog
Sent: Tuesday, March 5, 2013 4:36 AM
To: IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com>
Subject: [IBO] IB_Connection property of TIBOTable changes mysteriously
Hi - I use IBO 4.9.14.52.
I have a problem with the property IB_Connection of TIBOTables.
Sometimes this property is reset to another value. I'm in the process of
migration from the BDE using GReplace, and I think it happens, when the
migrated project is first opened in my Delphi XE IDE.
This setting
object UserTable: TIBOTable
SessionName = 'Default'
DatabaseName = 'SKData'
IB_Connection = Database
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
TableName = 'USERS'
FieldOptions = []
Left = 146
Top = 164
end
get changed to
object UserTable: TIBOTable
SessionName = 'Default'
DatabaseName = 'SKData'
IB_Connection = SystemServerModule.SystemConnection
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
TableName = 'USERS'
FieldOptions = []
Left = 146
Top = 164
end
where the SystemServerModule isn't event part of the project, but it only
happens to be loaded to another project in my project group.
What could be going wrong here?
Cheers
Jacob
------------------------------------
__________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
__________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
[Non-text portions of this message have been removed]
No, tha DatabaseName of SystemServerModule.SystemConnection is "localhost/357:DsaSystem".
I guess it happens, when the IB_Connection property isn't set? That will be the case when migration from BDE components.
-.-.-.-.-.-.
But I have a similar problem in a new IBO application (that isn't migrated).
I have this IBOTable component:
object BackupTable: TIBOTable
ColumnAttributes.Strings = (
'BACKUPS.BACKUPNO=REQUIRED'
'BACKUPS.SYSTEMNO=REQUIRED')
DatabaseName = 'localhost/30507:DsaSystem'
IB_Connection = SystemServerModule.SystemConnection
IB_Transaction = SysTransaction
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
OnCalcFields = BackupTableCalcFields
IndexName = 'BACKUPS_BackupTime_IX'
TableName = 'BACKUPS'
FieldOptions = []
...
end;
If I open this form while another project in the project group is active, the IB_Connection property is deleted. Whats more, the dirty flag of the dfm file isn't set, so the change is only maybe saved back to the file.
My solution now is to set it at run time, but as my project is full of TIBO table component it's not ideal.
Cheers
Jacob
Fra: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] På vegne af IBO Support List
Sendt: 5. marts 2013 16:47
Til: IBObjects@yahoogroups.com
Emne: RE: [IBO] IB_Connection property of TIBOTable changes mysteriously
Does that other database object have the DatabaseName of SKData?
That is what it will go on so you need to have each one of those with a
unique DatabaseName.
Jason
www.ibobjects.com<http://www.ibobjects.com>
-----Original Message-----
From: IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com> [mailto:IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com>] On Behalf
Of jacobhavkrog
Sent: Tuesday, March 5, 2013 4:36 AM
To: IBObjects@yahoogroups.com<mailto:IBObjects%40yahoogroups.com>
Subject: [IBO] IB_Connection property of TIBOTable changes mysteriously
Hi - I use IBO 4.9.14.52.
I have a problem with the property IB_Connection of TIBOTables.
Sometimes this property is reset to another value. I'm in the process of
migration from the BDE using GReplace, and I think it happens, when the
migrated project is first opened in my Delphi XE IDE.
This setting
object UserTable: TIBOTable
SessionName = 'Default'
DatabaseName = 'SKData'
IB_Connection = Database
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
TableName = 'USERS'
FieldOptions = []
Left = 146
Top = 164
end
get changed to
object UserTable: TIBOTable
SessionName = 'Default'
DatabaseName = 'SKData'
IB_Connection = SystemServerModule.SystemConnection
PreparedEdits = True
PreparedInserts = False
RecordCountAccurate = True
TableName = 'USERS'
FieldOptions = []
Left = 146
Top = 164
end
where the SystemServerModule isn't event part of the project, but it only
happens to be loaded to another project in my project group.
What could be going wrong here?
Cheers
Jacob
------------------------------------
__________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
__________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
[Non-text portions of this message have been removed]