Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 9th, 2003, 02:35 PM
mike010 mike010 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 mike010 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Field size problem...

NOTE: This is not a problem with MySQL, i'm using Access and a SQL string to query the database, but this seemed like the place to ask my question.

PROBLEM:
In my Access database I have a memo field. When I use:

strSQL = "SELECT * FROM jobs WHERE job_id=1;"

to query the jobs table the job_desc field is returned in it's entirety (more than 256 characters). Now, on a different page I have the following SQL statement:

strSQL = "SELECT jobs.job_id, jobs.job_q, jobs.job_title, jobs.job_desc, jobs.job_location, jobs.job_start, jobs.job_end, jobs.job_update, users.user_name, users.user_email, Sum(items.item_hours) AS SumOfitem_hours FROM (jobs INNER JOIN users ON jobs.job_manager = users.user_id) INNER JOIN items ON jobs.job_id = items.item_job GROUP BY jobs.job_id, jobs.job_q, jobs.job_title, jobs.job_desc, jobs.job_location, jobs.job_start, jobs.job_end, jobs.job_update, users.user_name, users.user_email"

In this case, I only get the first 256 characters of the jobs.job_desc field. How can I fix this?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Field size problem...


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