Subject | Re: [IBO] Invalidate SessionProps? |
---|---|
Author | trans_x2001 |
Post date | 2003-07-03T13:23Z |
Hi Jason.
I think that may be my problem, the dataset is already prepared when
in dssEdit/dssInsert and I change EditSQL/InsertSQL (when dataset
already is in dssEdit/dssInsert).
I take it that Color/Enabled properties for controls (TIB_Edit,
TIB_LookupCombo) is only set when dataset's changes state and
therefore the properties of linked controls will not change until the
dataset change state again. Correct?
/Magnus
I think that may be my problem, the dataset is already prepared when
in dssEdit/dssInsert and I change EditSQL/InsertSQL (when dataset
already is in dssEdit/dssInsert).
I take it that Color/Enabled properties for controls (TIB_Edit,
TIB_LookupCombo) is only set when dataset's changes state and
therefore the properties of linked controls will not change until the
dataset change state again. Correct?
/Magnus
--- In IBObjects@yahoogroups.com, "IB Objects" <jwharton@i...> wrote:
> > Is there any way to get controls settings (color and enabled
state)
> updated
> > to reflect changes when EditSQL changes in the bound TIB_Query
and the
> > querys state already is dssEdit or dssInsert?
>
> This is already a feature. I recommend you don't set it at runtime
but if
> you do, set it prior to preparing the statement.
>
> Jason