Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 26th, 2004, 02:57 PM
shawn shawn is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 shawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quick Question about Memo

I am developing in coldfusion. When I query the database and retrieve records that are type text, I have no problem.
But if the type is memo...I get all sorts of errors when I try to manipulate that string. I am guessing that this is because it is not returned
as a string.

So my question is...what does an Access Memo field return?

Thanks.
Shawn

Reply With Quote
  #2  
Old July 26th, 2004, 03:16 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You might want to post the errors. I'm not an Access developer and can't help you out, but it's always good to post the actual error messages.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old July 26th, 2004, 03:18 PM
shawn shawn is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 shawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Error message

Error message is usually

Expected ')'

Sometimes if I screw around with it a little, it will be

Expected ';'


Shawn.

Reply With Quote
  #4  
Old July 26th, 2004, 03:53 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Just out of curiosity, what's your query look like? That looks more like a code parse error than a database error.

Reply With Quote
  #5  
Old July 26th, 2004, 04:51 PM
shawn shawn is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 shawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Possible solution

I think I figured out the problem with the two expected errors.

I am pulling information out of the database, but if it throws an error, it kills the script immediately. The script is then looking for the rest of its statement, the ';' or the ')'

I could be wrong on that though.

The query(named query2) looks like this...

SELECT tablename.field1,
tablename.field2,
FROM tablename
WHERE tablename.field1 LIKE '#query1.field1#%'
ORDER BY tablename.field1


I'm guessing it's just a tricky parse error when creating the option. I ended up just attempting to insert the option, and if it doesn't work with single quotes, then
try it again with double quotes. Long and time-consuming, but it works. It still throws the errors, but they are 'fixed' somewhat.

Thanks again for your help...if I am wrong though or you see something else...post back.

Shawn

Reply With Quote
  #6  
Old July 27th, 2004, 06:51 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Might be less klugey to escape single quotes. Not sure how to do this in ColdFusion, but it's a standard operation, so there must surely be a way.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Quick Question about Memo


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway