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 -> ASP

 force a value

Print topic Send  topic

Author Message
Fernand St-Georges
Posted: 04/26/2007, 3:23 AM

Hi

my CodeCharge version is in French so I do not have always the correct
expression to use. I have two tables underlying two editable windows.

Now, I'm facing a problem of forcing a default value in the first window,
while instead of a text box, I have a label that shows the value. The value
is calculated from a trigger fired inserting, updating or deleting from
anonther table in the database. The user should not be able to put any
value in the related column of the database. I need a forced insert coming
from the application to set the value to "0".

Is there any manner of setting this value from the application while I have
a label on the column.

thanks

Fernand


Benjamin Krajmalnik
Posted: 04/26/2007, 12:08 PM

If you have a label and are not using any custom overides, then you have a
minor problem.
Go to your record. In the "Data" tab, select a "Custom Insert Type" of
table.
You can now set each field the way you want it only for the inserts, priming
your field.
Another option is to place a hidden field.


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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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