Subject | Sample coding - TIB_Import |
---|---|
Author | John W. (Jack) Cane |
Post date | 2013-10-24T20:00:49Z |
Would like pointer to available, sample Delphi sources showing implementations of IBO components. Particular current interest is TIB_import. Struggling with the requirements. Getting runtime exceptions due to incomplete property specifications, with no requirements list to refer to.
Here is where I am:
Installed latest build of IBO. Disabled items in component Tool Palette are now OK, thanks.
Some legacy code given to me calls the execute method to start the import process. But the TIB_Import object on my form does not contain the OnExecute event. Instead I created a non-visual object instance, and assigned values to DestTable and InputFile,.
Getting some strange (to me) behavior on tracing through the code, after building the app:
IB_Import.pas L 1533-4 : if ( FDestTable = '' ) and ( FDestProc = '' ) then
raise EIB_Import.Create(ENoDestTableEntry);
This is firing, but the error message is, 'Wrong field count in ascii file, line (1)'. I'm investigating that, but want to make sure this behavior (and below) is to be expected.
If run without tracing, and 'Break' on error dialog, the debugger is returned to a blank line (1304) in TIB_import.pas.
Pointer to documentation, Help page or sample code would be appreciated.
Best,
jwc
Best,
jwc
from iMac