CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 variables in textarea (newbie)

Print topic Send  topic

Author Message
Zenon
Posted: 05/10/2005, 10:42 AM

I want to read a single value from a database.
I setted up DLookUp action in Before Show event:
Expression: "email_list.email"
Domain: "email_list"
Criteria: "email_list.id_email =1"
Convert result to: text
Type of Target: Variable
Target: sample_var

How to read this "sample_var" variable in textarea ?(I dont know how to set Control Source Type, Control Source, Data Type etc).

Zenek


Martin K.
Posted: 05/11/2005, 12:43 AM

Hello.
You can put your DlookUp Value to the Textarea in Before Show from your Textarea.

global $DBConnection1;
$mess = CCDlookUp("Field", "db", "YourWhere", $DBConnection1);
$YourForm->YourTextarea->SetValue($mess);

greets
martin

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.

Web Database

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.