Dear Vixens and Reynards:

By default, a grid has controls in each column: a header and a data control.

I want my own data controls. (I want to be able to clean up data and to validate it.)

I have been able to do this, but the way that I am using smells of kludge. Here is a snippet:
      this.column1.controlsource="testdata.datakey"
      this.column1.header1.caption="PK"
      this.column1.removeobject(this.column1.controls(2).name)
      this.column1.addobject("col1","newtextbox","testdata.datakey",;
       "isalpha(substr(this.value,1,1)) and "+;
       "isalpha(substr(this.value,2,1)) and isalpha(substr(this.value,3,1))")
Having to .removeobject() with a fixed control number strikes me as being two kludges. Is there a way to set up a grid without having to deal with a data control automatically being added for each column?

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