Kiran Angara
2019-11-22T07:56:02Z
Hello Igor,

"Populate RowTextCol from recordset" this topic is old post in the forum.

I tried your suggestion as mentioned below. But could not get the output.

"No, FillFromRS can do that. To use it in this mode, create the required column set with the column keys corresponding the fields of your recordset. Note that you need to specify the corresponding field for the row text column with the ColKey property. After that, when you call FillFromRS, it will map the recordset fields to your columns according to the specified column keys."

With .ColDefaultCell(.RowTextCol)
.oForeColor = vbBlue
.btIndentLeft = 10
.oBackColor = vbInfoBackground
End With
.ColKey(.RowTextCol) = "RowTextMsg"

Use FillFromRS method to populate rows.

If possible could you please provide an example.

Please Advise.

Thank you.
Igor/10Tec
2019-11-22T13:52:35Z
At first sight, you are going the right way. Can you send us a sample that demonstrates the problem? What version of iGrid are you using?
Kiran Angara
2019-11-22T14:30:52Z
I am using version 6.5
Igor/10Tec
2019-11-22T14:54:31Z
Ok. Waiting for the sample.
Kiran Angara
2019-11-25T10:18:48Z
Hello Igor,

I attached the code for your kind perusal.
Please go through the code and give your valuable suggestions.

  RowText.txt (10kb) downloaded 27 time(s).


Igor/10Tec
2019-11-25T15:16:18Z
First, I asked for a sample I can launch on my pc. It's hard to say what is wrong if I can't reproduce the problem.

Second, I examined your source code and couldn't find a place in whihc you set the key for the row text column. Can you explain it?