Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Canned result sets Mk II
Thu, May 31 2007 11:39 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

I've decided to go with the TMS string grid for one of the canned dataset forms. The easiest way for me to load data into the cells is to do

sg.Cells[cc,rc] := query.fields[cc];

Is this liable to be dangerous. Do you have any plans which might mean that Fields[0] (for example) is a system generated field rather than the first field in the select statement?

Roy Lambert
Thu, May 31 2007 3:38 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Is this liable to be dangerous. Do you have any plans which might mean
that Fields[0] (for example) is a system generated field rather than the
first field in the select statement? >>

No, that will always reference the first column in the query result set.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image