Subject Re: [IBO] TIB_Grid Field Validation and Totals
Author Boris Schlüszler
Hi Bob!

Maybe I can answer q 1:

In TIB_Query hook onto BeforePost event.
In the event check your condition, you have direct access to the row
buffer means you may control the user-entered data.
If the condition fails: messageBox and Abort

Rgds,



Bob schrieb:
>
> I need some advise on handling tib_grids. I am having fits trying to
> validate and operate on data the the user is entering into grids. Here are a
> few examples:
>
> 1. Certain rows need to be read-only depending on the value in a certain
> column of the grid (ie. Processed = true). I can't figure out how to
> conditionally make a row read-only.
>