Subject | Re: [IBO] Getting Started Guide. |
---|---|
Author | Geoff Worboys |
Post date | 2001-09-10T06:56:01Z |
> Thanks! But I won't be subscribing to anythingPerhaps I am being a little silly, but have you looked at the various
> unless and until I can get some very simple projects
> working - such as the one below.
sample and tutorial applications that come with IBO? I only ask
because they are a useful way of discovering where to start.
> I do want the datasets to be open when I startSo there were some typos in the code. This is not a "learn how to
> the application ... and I tried the following - but
> it raises exceptions as indicated ....
write Pascal" forum, it is anticipated that most people will have some
idea of how to write and debug their own code.
However for a starter you could try...
for ii := 0 to ComponentCount - 1 do
begin
if Components[ii] is TIB_BDataset then
TIB_BDataset(Components[ii]).Open
else if Components[ii] is TIB_Cursor then
TIB_Cursor(Components[ii]).First;
end;
(Since the "as <type>" is redundant when already tested with "is
<type>").
If you need more info on how to write Pascal, perhaps there are some
users here that can offer some suggestions for books and lists that
can help you.
Geoff Worboys
Telesis Computing