Re: pass variables

2000-07-12 Thread kraybill
"janey smith" [EMAIL PROTECTED] i have a problem passing variables to an edit page, it passes the field pol_question fine but for the answer fields my loop is incorrect, it just reproduces the answers 5 times each. each answer is the ans_answer table is related to the pol_question through

Re: pass variables

2000-07-12 Thread Brandon Whitaker
i have a problem passing variables to an edit page, it passes the field pol_question fine but for the answer fields my loop is incorrect, it just reproduces the answers 5 times each. each answer is the ans_answer table is related to the pol_question through the pol_id, any help would be

RE: pass variables

2000-07-12 Thread Philip Arnold - ASP
i have a problem passing variables to an edit page, it passes the field pol_question fine but for the answer fields my loop is incorrect, it just reproduces the answers 5 times each. each answer is the ans_answer table is related to the pol_question through the pol_id, any help would be

RE: pass variables

2000-07-12 Thread Bert Dawson
when you loop through the query, you only need to do it once - thats why its a called a loop...so instead of all those CFLOOPs and the cfoutput query="getanswers", try: !--- set a counter to use in the names of the variables --- CFSET variables.count = 0 CFOUTPUT QUERY="GetAnswers" !---