Subject Re: [IBO] Edit Problem
Author Helen Borrie (TeamIBO)
At 01:40 PM 24-06-02 +0100, you wrote:
>I am having a bad day.
>
>I have a simple setup which SHOULD work, but something is
>wrong.
>
>IB_Grid with a record selected.
>
>Double Click gives a pop-up with a list of items that can be
>added or deleted ( they are rooms used for a meeting ). The
>items are edited to toggle single bits on/off in an integer
>of the source record.
>
>The problem is that changing the field in the source record
>is not happening. This is a simple FieldByName = (C++ <g>)
>on the base query, but the value is not changing. It's not a
>field that is displayed in the grid, but the original value
>is returned when you try again.
>
>Anybody any bright ideas what I may be doing wrong.

1. The dataset isn't in edit mode?
2. The column for updating isn't in the dataset?
3. You are using FieldByName() with no casting,
e.g. FieldByName('BadHairDay')->AsInteger
4. You need to update the calc column that is displaying the outcome
5. It's Monday

regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com