CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Possible error in example documents

Print topic Send  topic

Author Message
Stanj

Posts: 166
Posted: 11/04/2006, 2:49 AM

Hi CCSers
I attempted to use an action to find a single value ( DLookUp action) and followed the document description in the examples for this action.

"Lookup Single Field Value in a Database

This example shows how to read a single value from a database. In this case, we have a Header page which contains a UserName Label that is used to display the user's name.
Method 1

Use the DLookup action.

1. Add the DLookup action to the Before Show event of the page.
2. Set the properties of the action.
Note: The values of the Expression, Domain and Criteria properties should not be entered in double quotes."


The above description seems to be wrong. Leaving out the quotes results in errors on 3.1 (PHP) and to get it to work I needed to edit the generated code to include quotes around each argument value.

Is this my overlooking something simple or a contradiction in the use versus reference?
_________________
Stan
St Petersburg Russia
View profile  Send private message
wkempees


Posts: 1679
Posted: 11/04/2006, 5:45 AM

You are partly correct.
I have actually encountered this in CCS 2+ and 3.
Made a Support call and got replied.
I cannot easily reread their answer, but
In the DLookup, you are not supposed to use double quotes, you do however need to enclose using single quotes any thing that would need enclosing, like strings etc.



Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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