2007-07-09 12:34 UTC
I've got a grid control in a project that I populate with search results (see image). I'm using the following code to extract the 1st, 2nd & 3rd values (there will always be something in a cell so a null value is not an issue)
So the question I have is this: Is there another way of going about this using some of the functions in ODCL or a "preferred" way? What I'm doing right now is working just fine. I just wanted to see if maybe I could do it a little bit different or if there's a function in ODCL that I've missed that would do the same thing.
[attachment deleted by admin]
(Setq rValue (dcl_Grid_GetRowItems MyBlox_Form1_GridSearchResults nRow))
(setq X1 (car rValue))
(setq X2 (cadr rValue))
(setq X3 (caddr rValue))So the question I have is this: Is there another way of going about this using some of the functions in ODCL or a "preferred" way? What I'm doing right now is working just fine. I just wanted to see if maybe I could do it a little bit different or if there's a function in ODCL that I've missed that would do the same thing.
[attachment deleted by admin]