Dear Vixens and Reynards:

I have row-level grid validation that works (so far). I will be doing some further testing to try to break it, but I think might finally have my main problem solved.

It is kludgy and will have to be reworked to remove explicit object references.

I have to check that the underlying table is updated properly, and I am going to clean up my proof-of-concept code so that it is usable. After that, I will probably post it.

     My approach is to shadow the values for a row.

Grid Level
----------

     Declare an array of shadows.

     When the grid is being set up, size the shadow array appropriately.

     In AfterRowColChange, fill the array from the *data source*.

In BeforeRowColChange, validate using the shadow values not the control values.

Input Control Level
-------------------

     After validating a value, copy it to the appropriate shadow.

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to