Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help in MS Access

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
This isn't exactly a VB question, but I'm working with VB to link with MS Access and I need to have on MS Access a text field on a table that has more than 255 characters. Is this possible because Access only allows 255! So how am I supposed to work with field that have more than this amount of characters?
Any help would be appreciated.
 
Access's limitation of 255 characters can not be exceeded from VB. Remember- Access is still the engine under your app. You can use a memo field instead of character but searching it for values can get tricky but functions will work

InStr([fieldname],"bert")

would return the starting position and you could substr() it from there.

Bert in the memo field would return a 1
Robert in the memo field would return a 3

If you're asking about the text box itself, you can set the scroll bars property so you can have a small text box on your form with the ability to scroll through the text.

Good Luck
The 2nd mouse gets the cheese.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top