Forums
This topic is locked
Memo Fields
Posted 14 Feb 2002 10:23:29
1
has voted
14 Feb 2002 10:23:29 Schwarz Juerg posted:
I Use memofields from my access database.I like to filter them depend of empty or not.
<%
If (Angebote.Fields.Item "Objektbeschreibung_3"

%>
<%=(Angebote.Fields.Item("Objektbeschreibung_3"

%>
<% End If %>
Why do i not get any contetns listet on my page even there is something stored in this field or not. It sems to be a problem in the if statement.
Juerg
Replies
Replied 14 Feb 2002 16:08:54
14 Feb 2002 16:08:54 Mitchel Tendler replied:
It looks to me like you are missing an ELSE statement?
But then again...what the heck do I know. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
When in doubt...reboot!
But then again...what the heck do I know. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
When in doubt...reboot!
Replied 14 Feb 2002 18:07:10
14 Feb 2002 18:07:10 Viktor Farcic replied:
You're missing one '('.
Correct to:
If (Angebote.Fields.Item("Objektbeschreibung_3"
.Value) <> "" then
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I Use memofields from my access database.
I like to filter them depend of empty or not.
<%
If (Angebote.Fields.Item "Objektbeschreibung_3"
.Value) <> "" then
%>
<%=(Angebote.Fields.Item("Objektbeschreibung_3"
.Value)
%>
<% End If %>
Why do i not get any contetns listet on my page even there is something stored in this field or not. It sems to be a problem in the if statement.
Juerg
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
Correct to:
If (Angebote.Fields.Item("Objektbeschreibung_3"

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I Use memofields from my access database.
I like to filter them depend of empty or not.
<%
If (Angebote.Fields.Item "Objektbeschreibung_3"

%>
<%=(Angebote.Fields.Item("Objektbeschreibung_3"

%>
<% End If %>
Why do i not get any contetns listet on my page even there is something stored in this field or not. It sems to be a problem in the if statement.
Juerg
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
Replied 21 Feb 2002 12:10:44
21 Feb 2002 12:10:44 Roger Yong replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have the same problem using memo field from the access database as well. The extension I used is "Conditional Region - DB Field and Script Version 2.0 developed by Waldo Smeets".
<% If Recordset1.Fields.Item("Information"
.Value <> (""
Then 'script %>
<%=(Recordset1.Fields.Item("Information"
.Value)%>
<% End If ' end If Recordset1.Fields.Item("Information"
.Value <> (""
script %>
Why I do not get any contents listed on the asp page, even there are data stored in memo field. Any problem in the "if" statement as above?
PLEASE HELP!!!
Roger
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Edited by - rycbn on 25 Feb 2002 15:05:50
I have the same problem using memo field from the access database as well. The extension I used is "Conditional Region - DB Field and Script Version 2.0 developed by Waldo Smeets".
<% If Recordset1.Fields.Item("Information"


<%=(Recordset1.Fields.Item("Information"

<% End If ' end If Recordset1.Fields.Item("Information"


Why I do not get any contents listed on the asp page, even there are data stored in memo field. Any problem in the "if" statement as above?
PLEASE HELP!!!
Roger
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Edited by - rycbn on 25 Feb 2002 15:05:50
Replied 05 Feb 2003 06:32:02
05 Feb 2003 06:32:02 Mark G replied:
I am currently having this same problem.
Works fine with a text field in an Access database but when used with a memo field it doenst show regardless of the script or if there is data in the field or not.
any suggestions appreciated
Thanks
Works fine with a text field in an Access database but when used with a memo field it doenst show regardless of the script or if there is data in the field or not.
any suggestions appreciated
Thanks
Replied 05 Feb 2003 15:33:16
05 Feb 2003 15:33:16 Mark G replied:
Ive converted the datbase to MySQL...works fine now 8^)
Replied 05 Feb 2003 16:19:39
05 Feb 2003 16:19:39 Julio Taylor replied:
yes. excellent. stop using access and all your problems go away. isn't that WEIRD!?!?!
oh, hang on, it's not weird. it's just a fact. access is fucking shit!
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247
oh, hang on, it's not weird. it's just a fact. access is fucking shit!
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247