CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How to improve the many calls to CCDLookUp() ???

Print topic Send  topic

Author Message
Marcello Capelati
Posted: 11/27/2002, 9:30 AM

I have a Record Form, with many fields (text box and label fields) witch I want to input some values on them Before Show the form.

Many of these fields are from the same table.

I put my Custom Code on the page's "Before Show" event: many calls to CCDLookUp(), one for each field.

Everything works fine, but I'd like to improve this code, making just one call (and just one SQL), so:

- Do I have to make all these calls to CCDLookUp() functions, or is there any function to do this with just one single SQL call, retrieving all the table rows I need ?

- I tried to do this with CCGetListValues() functiom, but I can't make this work ! - I don't know how to use it, and there is no good information at manuals nor here at forum...

Thank ya.
AndrewI
Posted: 11/28/2002, 8:18 AM

What I think you need is CCOpenRS()
You can open a recordset containing several fields (and several records if need be) in one operation.

As to usage... well the syntax is outlined in help. I'm struggling to make it work at this very moment - if you get there before I do, post an example in codechargers.com!

Rgds

Andrew

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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