dbTalk Databases Forums  

problem with have multiple subjects appear on the web page in multiple lines

comp.databases.filemaker comp.databases.filemaker


Discuss problem with have multiple subjects appear on the web page in multiple lines in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shuqian
 
Posts: n/a

Default problem with have multiple subjects appear on the web page in multiple lines - 07-29-2003 , 05:54 PM






Hello, group

I have got this problem, hoping someone can help me to figure it out
what is wrong.
I have some fields in the database:
Publication
Year
Author
Name
Subject
keywords

In Subject filed, I would like to put multiple subjects in the
database and have them appear on the web page in multiple lines ( one
subject in one line), but right now I type in three subjects in
Subject field and the three subjects all appear in one line, and I
have to seperate them with comma. But I wuld like to have the three
subjects in three lines instead.

What CDML code do I have to put in the list result page please?

Here is the code in my web page:

[FMP-Record]
<tr>
<TD colspan="2"><font face="Arial, Helvetica, sans-serif"
size="2"><b><font face="Arial, Helvetica, sans-serif" size="2"
color="#000000"><i>[FMP-field:
Keywords]</i></font><br>
<font face="Arial, Helvetica, sans-serif"
size="2"><b><font color="#FF9900">[FMP-Field:
Publication] </font></b></font></b><font face="Arial,
Helvetica, sans-serif" size="2"><font face="Arial, Helvetica,
sans-serif" size="2">[FMP-Field:
Month] [FMP-Field: Day], [FMP-Field: Year] [FMP-Field:
Page]</font></font></font></TD>
</tr>
<tr>
<TD valign="top" width="79">
<div align="right"><font face="Arial, Helvetica,
sans-serif" size="2"><b>Subject:</b></font></div>
</td>
<TD valign="top" width="282">
<div align="left"><font face="Arial, Helvetica,
sans-serif" size="2">[FMP-Field:
Subject]<br>
<br>
</font></div>
</td>
</tr>
<tr>
<TD valign="top" colspan="2" rowspan="2">
<div align="right"><b></b></div>
<div align="left"></div>
</TD>
</tr>
<tr>
<TD width="60">
<div align="center"><font face="Arial, Helvetica,
sans-serif" size="2"></font></div>
<div align="right"><font face="Arial, Helvetica,
sans-serif" size="2"><a href="[FMP-LinkRecID: layout=cgi,
format=form.htm]">Detail</a></font></div>
</TD>
</TR>
<tr>
<TD colspan="3">
<hr noshade color="#FF6600" size="1" width="380"
align="left">
</TD>
</TR>
[/FMP-Record]

I greatly appreciate your help. Thanks very much in advance.

Shuqian

Reply With Quote
  #2  
Old   
Tim Booth
 
Posts: n/a

Default Re: problem with have multiple subjects appear on the web page inmultiple lines - 07-29-2003 , 06:05 PM






Quote:
In Subject filed, I would like to put multiple subjects in the
database and have them appear on the web page in multiple lines ( one
subject in one line), but right now I type in three subjects in
Subject field and the three subjects all appear in one line, and I
have to seperate them with comma. But I wuld like to have the three
subjects in three lines instead.
Really, we're looking at [FMP-Field: Subject] here...

Now if you have the information on seperate lines in the
database field:
One
Two
Three

Then you can use one of the attributes of FMP-Field like
this:

[FMP-Field: Subject, break]

That should insert a <br> wherever there is a new line in
the database field.

This is in the CDML Reference database that you can download
from FileMaker.

Webko


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.