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

 Field value passed between forms will not update

Print topic Send  topic

Author Message
Todd C
Posted: 11/10/2005, 10:19 PM

I'm trying to pass a parameter from a grid form (Clients) to a record form (NewTicket). The record form is creating a new record (which is auto incremented) and displaying the parameter passed from the previous form as a label in NewTicket.

So NewTicket has:
-NewTicketID (Hidden)
-Parameter passed from Clients (shown as a Label)
-Variousfield1 (not passed from Clients)
-Variousfield2 (not passed from Clients)

The parameter gets passed to NewTicket (I see the parameter value shown in the label) but when I "submit", the value does not insert into the database, yet Variousfield1 and Variousfield2 insert fine.

The data type is consistent between all fields involving the passed parameter and field in database. Why isn't the passed parament, seen in the NewTicket form not inserting into the database?

Driving me nuts....any help/suggestions would be wonderful!

Thanks!
Edd


Posts: 547
Posted: 11/10/2005, 10:32 PM

Todd,
2 Possibilities:
1. Have a hidden field that accepts the parameter, i.e. the default value is a request.QueryString("AVALUE")
2. Change the update to be user defined and have the value passed as parameter update based upon a URL value, not a field.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Todd C
Posted: 11/10/2005, 10:40 PM

Edd,

Thank you for the *amazingly* quick response! I will give those a try.

Thanks,

--Todd
Todd C
Posted: 11/10/2005, 10:44 PM

Edd,

After testing Option #1, it worked perfectly!!

Thank you, thank you!

--Todd

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.

Web Database

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.