Thursday, 19 February 2009

Using Recordset Repeat Region to display muitiple records(solution for displaying 1 data only)

I found out a technique to resolve a mistake that i got before, was to display one data record only rather than multiple records.



I used REPEAT REGION to work out.

On server Behavior, I click plus button to choose Repeat Region.


Small dialog called Repeat Region appeared afterward.

as Recordset1 as the name of recordset should be used, I already created.
Show how many number of records a time I want to display, I choose number 2



Firstly, I click on Dynamic Text (Recordset1.proID) then move mouse point to (+) button in server behavior panel.

extra codes would be generated after "ok" button of REPEAT REGION was clicked.


Applying the same method with the rest :
Dynamic Text (Recordset1.price)
Dynamic Text (Recordset1.image)




Finally, I can see 2 records shown on the web browser but another problem occurs.

All data were put in the same cell of table, I wanted to separate them, each records should be in different cells of table.



so I already posted my question again on the forum.

No comments:

Post a Comment