I sure you know that you're tie-ing 3 values at the hip.  Another way would
be to string the other 2 values into the first DayReg, then parse it back to
3 separate values on the post page.

In essence, each DayReg value is a list on its own with a different
delimiter like a | pipe delimiter.

The passed FORM.DayReg will look something like this:

Dr1|Dep1|Drc1,Dr3|Dep3|Drc3,Dr8|Dep8|Drc8

Then just loop thru FORM.DayReg using a comma delimiter.  And another loop
through the index value using the pipe delimiter to extract the original
values.

Makes sense?

Again, there are more ways to do this.

Hth, 

Michael



> -----Original Message-----
> From: Wicked Run [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 28, 2007 1:30 PM
> To: CF-Newbie
> Subject: Re: Form List Values
> 
> That is what I thought, but is there a way that I can pull this
> information from what is being passed from the form? Then I don't have to
> run another query of the database. I have tried different things but can't
> get it to consistently work.
> 
> Thanks.
> 
> >Wicked,
> >
> >I am assuming that you are using a loop to generate the DayReg values.
> >
> >If so, There are several ways you can do it.  First that comes to mind is
> to
> >just post DayReg on its own.  On your post action page, just have a query
> >that looks up the corresponding ExternalPK & RateCode values of the
> >submitted DayReg.
> >
> >Hope that helps.
> >
> >
> >
> >>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3084
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to