473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Calendar / Album style resultset

Hello everyone,

I am trying to make my result set print out the results in the same style as
a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4 results
per table row. Then once I have 3 or 4 results across a new row in the table
will start.

I can accomplish this:

Result 1

Result 2

Result 3

Result 4

Result 5

But I am trying to accomplish this:

Result 1
Result 2
Result 3

Result 4
Result 5

Obviously if the specific user had more than 5 results it would keep going..
result 6 result 7 result 8 etc etc.

With only 3 results per each table row..

I am really struggling with this one specific piece, and have never been
able to figure it out.

If anyone has any samples or knows how I can figure this out, I really need
to know.

Thanks in advance!

-Adam
Jul 19 '05 #1
3 1254
'// Initial table
<table border="0">

If Count = 3 Then
%>
</table>
<table border="0">
<%
Count = 0
Else
Response.Write "<tr><td>" & rst("whatever") & "</td></tr>"
Count = Count + 1
End If

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Adam" <ad*****@sharklogic.com> wrote in message
news:Az***************@news20.bellglobal.com...
Hello everyone,

I am trying to make my result set print out the results in the same style as a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4 results
per table row. Then once I have 3 or 4 results across a new row in the table will start.

I can accomplish this:

Result 1

Result 2

Result 3

Result 4

Result 5

But I am trying to accomplish this:

Result 1
Result 2
Result 3

Result 4
Result 5

Obviously if the specific user had more than 5 results it would keep going.. result 6 result 7 result 8 etc etc.

With only 3 results per each table row..

I am really struggling with this one specific piece, and have never been
able to figure it out.

If anyone has any samples or knows how I can figure this out, I really need to know.

Thanks in advance!

-Adam

Jul 19 '05 #2
http://www.aspfaq.com/2247

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Adam" <ad*****@sharklogic.com> wrote in message
news:Az***************@news20.bellglobal.com...
Hello everyone,

I am trying to make my result set print out the results in the same style as a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4 results
per table row. Then once I have 3 or 4 results across a new row in the table will start.

I can accomplish this:

Result 1

Result 2

Result 3

Result 4

Result 5

But I am trying to accomplish this:

Result 1
Result 2
Result 3

Result 4
Result 5

Obviously if the specific user had more than 5 results it would keep going.. result 6 result 7 result 8 etc etc.

With only 3 results per each table row..

I am really struggling with this one specific piece, and have never been
able to figure it out.

If anyone has any samples or knows how I can figure this out, I really need to know.

Thanks in advance!

-Adam

Jul 19 '05 #3
Thanks for the help, I managed to put some weird piece of code together and
figured it out.

I will try the provided aspfaq example, and get back with my version - it is
similiar to the first reply.

Thanks again!!

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
http://www.aspfaq.com/2247

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Adam" <ad*****@sharklogic.com> wrote in message
news:Az***************@news20.bellglobal.com...
Hello everyone,

I am trying to make my result set print out the results in the same style
as
a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4

results per table row. Then once I have 3 or 4 results across a new row in the

table
will start.

I can accomplish this:

Result 1

Result 2

Result 3

Result 4

Result 5

But I am trying to accomplish this:

Result 1
Result 2
Result 3

Result 4
Result 5

Obviously if the specific user had more than 5 results it would keep

going..
result 6 result 7 result 8 etc etc.

With only 3 results per each table row..

I am really struggling with this one specific piece, and have never been
able to figure it out.

If anyone has any samples or knows how I can figure this out, I really

need
to know.

Thanks in advance!

-Adam


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Premshree Pillai | last post by:
Hello people, I recently updated one of my Python scripts -- pyAlbum.py This is a simple, command-line based, lightweight Python script to create an image album. Of course, there are plenty...
10
by: vinu | last post by:
I have a javascript file named select.js. This is a file which is use to pop up a calendar, when clicked on a calendar icon in an ASP file. have a close button in the calendar. When i click on the...
19
by: Stimp | last post by:
preferably one that when clicked can update three date dropdowns (day, month, year) like http://www.visitdublin.com/carhire/avis.asp Don't mind paying for the file... anyone seen something...
0
by: GV | last post by:
Hi all, New to developing in VS 2005 ASP 2.0 Trying to have a easy pop calender for a button on a web page. I keep getting a error message in IE6 that says: Line 69 Char 3 Error:...
0
by: abhishekbrave | last post by:
Hi, I have to reuse the code given below for displaying a calendar according to the month and year specified by user ...currently this code is fetching systme date and genrating calendar for that......
4
by: abhishekbrave | last post by:
Below is the java code for getting a calendar for current date. I have to reuse it for the month and year entered by user..* My query is how to pass month and year from user and in which format to...
1
by: abhishekbrave | last post by:
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I...
1
by: swethak | last post by:
Hi, I am desiging the calendar application for that purpose i used the below code. But it is for only displys calendar. And also i want to add the events to calendar. In that code displys the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.