CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Dynamic RadioButton in EditableGrids ??

Print topic Send  topic

Author Message
Jafarian
Posted: 09/17/2003, 4:41 AM

i want to build a Test EXAM Page , it contain QUESTIONs and 4 ANSWER for any.
i use Editable grid to get users answers, and use Radio Button to Show Answers for each Question, therefore each row must contain New Answere for New Questions, i write this code in BeforeBuildSelect event to change "WHERE" statment of RadioButton's DataSource, but it works only for first row, i tried BeforeShowRow Event but it did not Affect any thing !
Please Help me.
AnswersID.DataSource.Where = " QuestionID=" & QuestionID.Value
Si Cranmer
Posted: 09/17/2003, 6:10 AM

J mate,

I have already done this but sorry cannot find it :-(...
Howevere (please excuse me if the codes not right as I use PHP) but if I remember right its in event <object>_datasource_BEFOREBUILDSELECT

<object>.datasource.sql = "Select...."
<object>.datasource.WHERE = " QuestionID=" & QuestionID.Value <object>.datasource.ORDER = " <field> DESC"

HTH

Si.
Jafarian
Posted: 10/05/2003, 12:38 AM

it did not work , i test it.
i found that, Before_Build_Select event run once before show_grid event, then
if there any code to run in Before_Show_Row or Before_Show_ListBox , it will work.

Jafarian

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.