Forums
This topic is locked
How do I customize record display
Posted 12 Sep 2001 17:07:45
1
has voted
12 Sep 2001 17:07:45 Zain Magsi posted:
I am a newbie and have created a news app for our intranet. News is stored in a singel table in an access DB separated by three categories.-General
-Product
-Organizational
There is a news section of the Intranet where users can view the news articles from three different .asp pages. On the home page of the intranet I wanted to display just the headlines of the articles. I did this by creating three asp pages that display only the headlines of a certain number of articles from each category. ie; 4 from General news, 2 from Product news, 2 from Organizational news
I then loaded these three asp pages in three different divs/layers on the main page. So when the page loads the three asp pages are loaded in their respective layers giving the illusion of single news column.
The problem is that whenever one article heading is longer than the others, it pushes the ones below it and the last heading in the list is partly 'cut-off' and likewise when one heading is shorter it shows a gap between its layer and the layer of the next category below it.
My Question is that:
-Is there a better way to display these records so that they dont cut off each other
or
-Is there a way to limit record disply like this: "this is news about..."
so that the entire article heading does not show.
-Is it possible to filter and display data from a single table in this way that only 4 articles heading are displayed from category 'A' , two from category 'B' and 2 from category 'C'.
All help will be greatly appreciated.
Thanks
Zain<b></b><b></b>
Zain Magsi
Replies
Replied 12 Sep 2001 18:29:46
12 Sep 2001 18:29:46 Andrew Watson replied:
You can use the TRIM command to display only part of the string
Replied 14 Sep 2001 21:34:44
14 Sep 2001 21:34:44 Zain Magsi replied:
Thanks you so much for your help!
Hope I am not being a nuisance with all these questions, but is it possible to store an email in an access db and simultaneously send it to the recipient using CDONTS?
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
You can use the TRIM command to display only part of the string
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Zain Magsi
Hope I am not being a nuisance with all these questions, but is it possible to store an email in an access db and simultaneously send it to the recipient using CDONTS?
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
You can use the TRIM command to display only part of the string
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Zain Magsi