Sorry if my general commentary isn't helpful, Gene. I was just trying to makes 
suggestions at more of an architectural level. I'll leave you to it.

--
rk

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Gene 
Wirchenko
Sent: Friday, November 22, 2013 2:25 PM
To: [email protected]
Subject: RE: Grid: Row-Level Validation

At 10:34 2013-11-21, Richard Kaye <[email protected]> wrote:
>In the beforerowcolchange method, do your row level validations. If 
>that fails then use NODEFAULT to prevent the rowcol change. At least 
>that's what the VFP help implies will accomplish what you want.

      No kidding.

      My problem is getting the values for the row being checked.  Read my post 
and you will see that it is not obvious how to do this.

>i.e.
>IF RowDataIsValid()
>  MySaveDataMethod()
>ELSE
>  NODEFAULT
>Maybe setfocus to the first column you want the use to review.
>ENDIF

      RowDataIsValue() requires that you have the values for the row.  This is 
my stumbling block.

[snipped previous]

Sincerely,

Gene Wirchenko


[excessive quoting removed by server]

_______________________________________________
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/DF1EEF11E586A64FB54A97F22A8BD04422968FB98D@ACKBWDDQH1.artfact.local
** 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