>>>I need to do a valid on a row change in a grid. I have two date fields in a record and I need to make sure the 2nd date is not before the 1st date. As it is now, if the user enters a bad date in the 1st column he has to enter a bad date in the 2nd column in order to get back to the 1st column. Any way to test both dates before leaving the row but allow the user to get to both columns? BeforeRowColumnChange() only uses the column number, not the row/record.
>>
>>See
Re: Validation for Grid Thread #
630571 Message #
630572 and also try to search on "valid grid" and Marcia Akins ID. I found several good threads, where she discussed this issue.
>
>Nadya, many thanks. Looks like just what I need.
John, you're welcome. I still recommend you to do a search and check other threads by Marcia, because this particular solution is for VFP6 and she used simpler idea for higher versions.
If it's not broken, fix it until it is.
My Blog