CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Binding field name alias to a text box

Print topic Send  topic

Author Message
Antwerp

Posts: 24
Posted: 03/17/2005, 8:58 AM

I have an encrypted field that I need to decrypt and display in a text box. I use the following query to decrypt:

SELECT AcctNum, fn_decrypt(MeterReading) as MtrRdg FROM Meter;

** fn_decrypt is a function in my database.

Now, how do I bind this alias (MtrRdg) to my text box and display the value there. I selected the alias as control source for the text box. It did not work. Whatever I do, it displays the encrypted value, not the decrypted value. Obviously, CCS seems to be reading MeterReading (actual column name) as the control source and not the alias.

I checked the query in Data Source SQL builder. It works perfectly. I am at a loss trying to figure out the problem.
View profile  Send private message
E43509

Posts: 283
Posted: 03/17/2005, 9:28 AM

Just a few things to try.
Create a view in the db that already has it decrptyed and have CCS look at the view.
Perhaps create that text box as a db expression instead of a db field.
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.