Board index » delphi » connected a IBDatabase
Liatifis Kostas
Delphi Developer |
Liatifis Kostas
Delphi Developer |
connected a IBDatabase2006-01-04 03:34:00 AM delphi182 Dear Sir I have a component TIBDatabase and i want to connect it at run time not at desing time How to do it Please write the code Thank you for your time |
Wayne Niddery [TeamB]
Delphi Developer |
2006-01-04 03:50:39 AM
Re:connected a IBDatabase
Liatifis Kostas writes:
Quote
IBDatabase1.Connected := True; The second way is exactly what you are doing when you set Connected to true in the Object Inspector. In other words, any property you can set at design time can also be set exactly the same way in code. -- Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com) RADBooks: www.logicfundamentals.com/RADBooks.html "The purpose of morality is to teach you, not to suffer and die, but to enjoy yourself and live." - Ayn Rand |