study
|
Posted: 11/29/2003, 10:37 AM |
|
hello all,
I want to create Grid and Record title(not data) from other table. for example: if user lang is english, grid and record title is english. if user lang is other, grid and record title and other response is other lang. portal system all this response messages from another one table. CCS can read this grid title from another table? anyone have idea for this?
I am tested and not working...
I am using CCS and ASP.
|
|
|
study
|
Posted: 11/29/2003, 10:55 AM |
|
for example you can see this site. site response messages are used many lang...
http://www.3rc.us/phpcollab
|
|
|
mentecky
|
Posted: 11/29/2003, 11:44 AM |
|
This is relativelly easy to do with CCS... Insert a LABEL control where you want the text. Then click it and select the EVENTS tab on the properties window. In "Before Show" you add an Action. Select "Retrieve Value For Control". Control Name is the label you created. Source is "Expression". And the expression is CCSLookUp("field", "table", "where clause", Database).
In PHP database is usually $DB(connection name). Something like $DBIntranet.
I hope this helps,
Rick
|
|
|
Aaron J. Scott
|
Posted: 11/29/2003, 11:47 AM |
|
Backstrike the default title, and place a form label in its place. Define the connection and datasource information for that label. Be sure to provide all of the WHERE conditions in this source definition.
|
|
|
mentecky
|
Posted: 11/29/2003, 11:55 AM |
|
Make that CCDLookUp. The full syntax is in the help file.
Rick
|
|
|
study
|
Posted: 12/03/2003, 2:37 AM |
|
hello rick,
can you give sample one example CCS ASP?
|
|
|
|