CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 access recordset in record form

Print topic Send  topic

Author Message
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
View profile  Send private message
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/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.