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