Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
WinGrid Error-Handling
posted

Hi!

I'm new to this and I'm sure, this is some sort of "silly" question. But I'm not knowing it better ;-)

 

My Problem:

I've got a WinGrid placed on my Form - everything is working correct.

Now I have one field within WinGrid, for which the DB behind it does not accept an empty string or NULL.

How can I configure WinGrid to fire an exception for this cell when the focus on a row is lost?

Just like It's doing it automatically when the field behind is a bookmark.

 

Salgerion

  • 469350
    Suggested Answer
    Offline posted

    Hi Salgerion,

    If the data source the grid is bound to does not permit nulls in a field, then the grid should be raising an error message when the user tries to leave the cell or row automatically.

    But your data source might not automatically be picking this up from the DataBase? What kind of data source are you using for your grid and how you are populating the data?