Don Safar
|
Posted: 01/12/2004, 12:40 PM |
|
I am trying to access values in the recordset passed to a form. I could put
hidden fields on the form then access them through form control, but I would
rather get them through recordset. Anyone no how to do this? CCGetValue
seems like a choice, but no documentation on
(CCGetValue(RecordSet,FieldName)). Is there a global variable for Recordset.
If so, how do I reference it in custom events?
|
|
|
Edd
Posts: 547
|
Posted: 01/12/2004, 1:55 PM |
|
Try this in the before showevent of your fields:-
value = GRID.DataSource.RecordSet.Fields("NameofFieldinRecordSet")
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
Don Safar
|
Posted: 01/12/2004, 6:35 PM |
|
Thanks Edd. That did the trick. Is this documented in the CCS help file? I
couldn't find it anywhere in ccs help or the forums.
"Edd" <Edd@forum.codecharge> wrote in message
news:6400317c90233d@news.codecharge.com...
> Try this in the before showevent of your fields:-
> value = GRID.DataSource.RecordSet.Fields("NameofFieldinRecordSet")
> _________________
> a simple idea....
> www.syntech.com.au
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|