Gene Wirchenko wrote:
Dear Vixens and Reynards:

I have been working on something else, and now, I come back to grids.

I have asked this question before, but not gotten an answer that works. I am asking again just in case someone does know how to do this or even has a good lead. I really do not want to have try to code a workaround for this, because it is liable to be very nasty with *lots* of events to handle.

I am also very puzzled that grids seem to be used a lot by others, and I have not read about this issue.

I have come to the conclusion that it is much easier to allow them to enter anything then don't allow them a save until they have fixed all the errors. You can have a form level validate function that can check each field in turn and if you have an error description in your cursor you can upate this. Even if they have multiple errors you just show the first one, then they fix that and it will show the next etc etc. When all error fixed they can save it. You can show the error description by using a label and code in mygrid.afterrowcolchange. The user should know what needs to be entered anyway, so there should not be that many errors. If they don't they need training.

I have just done a form with validation on up to 10 fields per row and can explain a bit more if you are interested.

HTH

Peter

----------------------------------------------------------------



Rajan Imports has changed - we are now Whispering Smith Ltd.  For more 
information see our website at www.whisperingsmith.com


Please update your address book with my new email address: 
[email protected]

.

This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd
Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 
Fax:0161 831 3715
London Office:17-19 Foley Street, London  W1W 6DW Tel:0207 299 7960


_______________________________________________
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/[email protected]
** 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