Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-25-2005, 02:00 PM   #1
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Micro_soft Access. How do I work with fields longer than 255 characters?

see title

Is there a better alternative? I'm trying to sort out some galleries' urls and descriptions and if the url is longer than 255 characters it gets fucked up.

any help, advice, etc. is appreciated ;)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 02:26 PM   #2
arg
Confirmed User
 
Join Date: Feb 2003
Posts: 1,164
Two approaches to consider:

1. Use multiple text fields, each 255 characters, like description1, description2, and description3 which you concatinate together for output. If you're just importing them through text files, coding the import to split them into 255-character chunks is reasonably easy. However, if you want edit them from an Access form, it would be a hassle. (Possible with VB, but a hassle).

2. Use a memo field instead a text field. The drawback with this is you can't perform certain operations on a memo field as easily (e.g. string operations like capitalizing letters or appending another string to it). If you're just inputting, editing and reporting the field, that's no problem, but if you do need to perform string operations on it, you need to do some conversions in VB with more complicated library calls.
arg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 02:35 PM   #3
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by arg
Two approaches to consider:

1. Use multiple text fields, each 255 characters, like description1, description2, and description3 which you concatinate together for output. If you're just importing them through text files, coding the import to split them into 255-character chunks is reasonably easy. However, if you want edit them from an Access form, it would be a hassle. (Possible with VB, but a hassle).

2. Use a memo field instead a text field. The drawback with this is you can't perform certain operations on a memo field as easily (e.g. string operations like capitalizing letters or appending another string to it). If you're just inputting, editing and reporting the field, that's no problem, but if you do need to perform string operations on it, you need to do some conversions in VB with more complicated library calls.
Thanks arg. The first approach seems the better alternative. I'll try it in sec ....
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 02:45 PM   #4
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
It works like a charm



thanks again ;)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 02:57 PM   #5
arg
Confirmed User
 
Join Date: Feb 2003
Posts: 1,164
No problem...you might still hit a snag when you try to output them as a continuous string, but there are ways of doing it, nothing too hard.
arg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 03:09 PM   #6
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by arg
No problem...you might still hit a snag when you try to output them as a continuous string, but there are ways of doing it, nothing too hard.
that's not going to be a problem at all
I can easily do that by pasting the whole table from Acces to a new doc in NoteTab light, and after simple replacement the two fields are joined togother ;)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 03:24 PM   #7
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Antonio:

Quote:
hat's not going to be a problem at all
I can easily do that by pasting the whole table from Acces to a new doc in NoteTab light, and after simple replacement the two fields are joined togother ;)
It depends what you are going to do with it after it's in NoteTab - but you may want to consider getting the pro version of this and stuffing all your data into Notetab outlines. You can then use their clip programming to do loads of good stuff :-)
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2005, 03:52 PM   #8
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by Webby
Antonio:



It depends what you are going to do with it after it's in NoteTab - but you may want to consider getting the pro version of this and stuffing all your data into Notetab outlines. You can then use their clip programming to do loads of good stuff :-)
I've been using NoteTab light for years and I love it, but I use it only for simple operations. I'm sure that with NoteTab you can do one gazzilion things but I'll never find the time to learn what all the libraries can do for me.....

I believe that everybody should have at least the Light version, it will save you soooo much time ;)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.