Subject | Re: [IBO] Re: Dynamic Master Detail SQL |
---|---|
Author | Helen Borrie |
Post date | 2007-08-04T02:38:41Z |
At 11:59 AM 4/08/2007, you wrote:
from the POV of ObjectPascal....Nil means "nothing assigned". NULL
means something different to me...
Helen
>Thanks Helen,Don't you have Nil in C++? "NULL" doesn't look right to me, at least
> it seems to work at first, but only if I don't select a different
>line in the master grid. Once you do, the same error occurs. This is
>what I tried on my simple test form....
>
>//---------------------------------------------------------------------------
>void __fastcall TForm1::Button1Click(TObject *Sender)
>{
> if (IBOQuery2->Active)
> IBOQuery2->Close();
> IBOQuery2->SQL->Clear();
> IBOQuery2->DataSource = NULL;
from the POV of ObjectPascal....Nil means "nothing assigned". NULL
means something different to me...
Helen