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

 Data Types - Please HELP!!!

Print topic Send  topic

Author Message
Andrew
Posted: 12/03/2004, 1:59 PM

:-( I have a custom insert of type SQL where I am attempting to insert the values of 2 label's (type integer) into integer fields. ..and I keep getting that datatype error.....one or more required parameters are missing........when I stick integers in instead of variable/expressions/etc....the insert works perfectly....is there any detailed info on custom inserts like this? I am doing it in an editable grid so it has to happen for each record. THANKS!!
peterr


Posts: 5971
Posted: 12/03/2004, 2:02 PM

Quick thought: this could be because labels never submit any values, thus on submission (before insert) the label values are blank (and should be because this is just a text displayed on the page and never submitted with forms).
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Andrew
Posted: 12/03/2004, 2:16 PM

Thanks Peterr...it happenning with hidden and text boxes too :(
Andrew
Posted: 12/03/2004, 2:21 PM

imagine a commerce site selling towels....a user need a grid to enter quantities of each towel size they want. The editable grid is the only way I know to process the records one at a time after they are acted on by a user......

so I trick it by allowing update......then I can code the insert in the before update event and get a shopping cart record for each row. Am I making sense?
peterr


Posts: 5971
Posted: 12/03/2004, 4:24 PM

I understand what the Editable Grid can be used for.
My first response was just a guess, and based on the fact that you're using labels which always have empty values.
The problem with the hidden and textbox fields could be different, thus you could have several combined issues that are more difficult to analyze.
Anyway, I don't know too much about your project, your code, etc., so just a generic advice would be to debug your program. Print and analyze the values of your hidden field and text boxes, print the SQL, etc. For example if the values of the controls are null then you'll know that the problem is not in the SQL. Otherwise it may be in the SQL.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Andrew
Posted: 12/03/2004, 6:43 PM

Thanks Peter! I appreciate what you do here!

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.