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

 ShoppCart CCS Example, code label not showing...

Print topic Send  topic

Author Message
Pepi Txispi
Posted: 01/19/2004, 2:01 PM

Hi, its me again, in the shoppingcart.asp page from the CCS example, I added
a new column with a product code record label, but for some reason, when a
product code has a letter (not only numbers) it does not show up in the
grid. It does when the product code has only numbers...I have tried with
setting the column in the db as text, memo and integer and in CCS as text,
float...etc with the same results.

any hints?

Thanks

Edd


Posts: 547
Posted: 01/19/2004, 2:14 PM

Pepi,
Is there a format mask on the field?

_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Nicole

Posts: 586
Posted: 01/26/2004, 2:34 AM

Pepi,
Try to print the data that is returned from database using
response.write form_name.DataSource.Recordset.Fields(“field_name”)

if the value is returned then try to remove any format mask from the field’s Format property. If you get the code printed then the problem is in format.

_________________
Regards,
Nicole
View profile  Send private message
ozlady

Posts: 5
Posted: 08/20/2004, 6:34 PM

Just a note on this that I found in case anyone has this problem in the future...

If a label mask is on, and the label is set to a numeric value (eg. float), then dynamically changing the value to a non-numeric value will result in the new value not showing.

I had a need to put an input mask in a field if it was numeric, and then replace it with a letter based on conditions from another field...

EG.
If field1.value < 50 then
field2.value = "F"
' else leave it as a numeric value
end if

In my example above, the field2 label had a format mask as I needed decimal places if the result is numeric.

I got around it by placing 2 fields next to each other, and then if the <50 condition was met, then changing one label to "" an the other to "F":

EG.
If field1.value < 50 then
field2.value = ""
field2_a.value = "F"
' else leave it as a numeric value
end if

Hope this helps. Post questions back here if this is not clear.

Thanks / S.
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.