When you have a grid, you have a grid1.text1 with a valid method Example. In my invoicing grid I have a column with mcolnum=1 (This is where the client enters the QTY) If you look at the grid properties, for every column is a column(1,2,3,4,5), a header1 and a text1
The valid event is do valcol Do case case mcolnum=1 **check if there's enough qty available etc On Thu, Nov 21, 2013 at 2:17 PM, Gene Wirchenko <[email protected]> wrote: > At 16:21 2013-11-20, Sytze de Boer <[email protected]> wrote: > >> Maybe you can try this >> Create a variable before you DO FORM >> (e.g. mcolnum) >> >> In the WHEN of the grid, number all the columns from 1 to whatever >> mclonum,=1, mcolnum=2 etc >> >> In the valid event, DO VALCOL >> > > Which valid event? I think that you are thinking of individual > controls. I am referring to row-level validation which involves more than > one control's values. This validation would get triggered when a row > change might occur. > > > Create a prg called VALCOL >> do case >> case mcolnum=1 >> whatever >> case mcolnum=2 >> whatever >> etc >> endcase >> > > [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/cag1nny-4rc0kytjlhubrg-ytzubw25znwjsaynfr68ynw85...@mail.gmail.com ** 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.

