473,804 Members | 2,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Memo fields and performance/db corruption issues; best practices

What is the best practice for dealing with many input forms that
contain memo fields
to capture exceptions and extra information ( an audit trail or updates
field would be
one example) needed as an item moves through different processes. Note,
there are
some tables in which I have simply added a text field set to 255,
however, some of
these tables will have many edits and updates.

I thought about setting up some tables like this:

( tblMemos )
MemoID (Autonumber) 1-------( One Side)-----
Memo (Memo)

( tblItems )
ItemID
ItemDesc
MemoID >------(- to - Many Side )-----

well this is a fairly simplified version but you get the point...
right?
I also thought that this might hurt performance but that's a relative
statement
...and this may be a NULL issue given the power of modern PCs,
processors, and
network capacity (10/100/1000 cards, routers, and switches).

....or maybe I'm wrong?

Nov 18 '05 #1
1 2208

Memo fields should be used sparingly. If you truely need them, by all
means use them. Keep in mind you cannot index on memo fields.
Furthermore you cannot group on them in reports. Searches can be
lengthy as well. I have used them as audit trails and lengthy
descrition fields but again only where truly needed.

This is also true for text fields. If you need 255 characters then use
them. But, I have seen developers (amatuers?) that would create a
first name field, last name field and so and allow 255 characters each.
Then users start adding nick names and other crap in there as well. I
have even seen state field which should be limited to two characters
have 60 characters.

The main point is to limit what users can enter and do you need to
index.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
2731
by: deko | last post by:
I have an mdb (2002 file format) that uses memo fields extensively. I've read a lot about how problematic memo fields can be and that avoiding them is a good idea. But I'm stuck with them and was wondering if there are any best-parctices for optimizing or mitigating the risk of using them. Here's what one table looks like: NoteText - Memo NoteDate - Date/Time (indexed, dupes ok) NoteBrief - Text (length = 254) Entity_ID - (Long,...
1
1569
by: David C | last post by:
I have a backend tables database that I created replicas from. It was unreplicated and I ran the Tools...Replication...Create Replica. It created the design master and a replica. I then opened up a table that had a memo field in it and tried to either add or edit a record. When I exit the memo field (and saving the record) the system blows with the stupid "Microsoft Access has encountered a problem and needs to close. We are sorry for...
13
2171
by: ken | last post by:
I have 5 memo fields in one of my tables. I need to add 7 more. Will this be a problem? Am I being paranoid? Thanks
5
3913
by: robert.waters | last post by:
Hello, I have been experiencing crashes and code corruption in my project (vbe6.dll; a decompile fixes the corruption); for the life of me I cannot figure out why, and I can't pin down the offending code because each crash immediately shuts down the database and forces me to recompile in order to open it again. I am following proper coding procedures, e.g. creating and destroying objects properly (AFAIK), closing adodb recordsets...
12
2686
by: Jan | last post by:
Hi: I've got the Error 3197 problem ("The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.") in a client database. It started appearing about a month ago and has gotten worse and worse. The responses I saw when I searched on this topic talk about corruption in a memo or OLE field, but there are none of those in this database. I took a copy of the...
5
2950
by: Neophyte317 | last post by:
In reviewing the articles, I know I shouldn't use the Memo field type. I use Access XP. I have to go with the memo type because the database is used to create court reports for juveniles and some of the entries are lengthy. As a result my users are experiencing deleted data/corrupted data entry in the memo fields. How can I minimize the problems of data loss and corruption? I've stopped using the tab form, I've reduced the amount of...
10
3060
by: ARC | last post by:
This is mainly a speed question. In this example: I have a QuotesHdr table that has a few memo fields. If these memo fields are used extensively by some users, and if their are a large number of records in QuotesHdr, should I break out the memo fields into a separate table? The thinking here is that, for Quotes selection dropdowns that display all entries in QuotesHdr for selection, I would think that the entire record comes down over...
0
296
by: Bob Alston | last post by:
Lyle Fairfield wrote ".....why JET/ACE may misinterpret the instructions of SQL strings that reference memo fields...... I am dealing with some funky corruption that occurs very occasionally in replicas of a database having about 30 replicas in use. I am suspecting memo fields may be the root cause. I would be interested in learning what you have learned as you stated above so I could benefit from your experience.
4
5672
by: Wayne | last post by:
I've been asked to construct a database which will require several memo fields. This database will be the standard frontend/backend mdb configuration. I have read many posts describing the corruption problems associated with memo fields, especially in a networked environment. Am I asking for trouble if I go ahead with this project?
0
10599
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.