473,796 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving memo fields from main table in to seperate table

374 Contributor
Hi all,

I have 3 memo fields on my main table. I understand that they are susceptible to corruption over network environments. I am looking to move these memo fields in to seperate tables and I assume create a 1:1 relationship with my main table.

I have created the tables with a primary key and a foreign key and joined them to the primary key of the main table with integrity applied.

My issue is, I have a number of forms where the memo fields in the main table show up. How do I go about replacing these with the memo fields I have produced in the 1 to 1 relationship? My form recordsources are based on the main table tblLog and I use sub forms to normally link to my other relationships outside of this.

Any help is appreciated.
Attached Images
File Type: jpg relationships.jpg (15.7 KB, 394 views)
Aug 6 '10 #1
7 1811
NeoPa
32,579 Recognized Expert Moderator MVP
Base your forms instead on the query that links your [tblLog] with your new Memo fields table.
Aug 6 '10 #2
munkee
374 Contributor
That is the answer I figured I would be doing. However this then caused a whole heap of problems. One major problem is that my data access pages no longer allowed adding.editing. deleting records so for now I have had to revert back to my memo fields being sat on the main table.

I keep getting errors about not being able to update the record unless another record is present ( as you can tell I have forgot the exact one ). But I think the issue is around that I need to save the record as soon as the page opens to create a key between the main table and the memo table before I can start adding in any data. Coupling this with a query for a record set and the data access pages were crapping out. Weird how it is happening since I have the pages set to data entry = true
Aug 7 '10 #3
NeoPa
32,579 Recognized Expert Moderator MVP
There seems to be some confusion here :
  1. Firstly, and most importantly, I can be of very limited help if you cannot remember the exact details.
  2. If you are using a query then it is important to know that it is an updatable query before binding a form to it. See Reasons for a Query to be Non-Updatable.
  3. If you set a form to Data Entry then that allows showing only of the new record. Once a record exists in the table it cannot be shown in Data Entry mode.
I hope this is some help. If not, we'd need to look at some more precise and practical information.
Aug 9 '10 #4
munkee
374 Contributor
No worries NeoPa I am now revisiting whether there is a need for these fields to be memo type.

We have been using an excel spreadsheet to keep a log of issues. One of the fields in the spreadsheet asks to describe the issue. It appears the average is a lot less than 255chars (with 1.7k records in the spreadsheet) and around 20 entries of the 1700 ever being over 255. So I think it might be easier just to set the fields as text and put the limit in place with a char counter. It might even help users be more accurate with their descriptions instead of waffling on.
Aug 9 '10 #5
NeoPa
32,579 Recognized Expert Moderator MVP
Munkee: No worries NeoPa I am now revisiting whether there is a need for these fields to be memo type.
Isn't it funny how sometimes problems can trigger us to look at things in a different way and come up with a better solution than if we hadn't fallen over the problem in the first place.

It is a bit of a shame that Text fields have such a low limit though. 255 chars is not much in today's world.

Anyway, good luck with it.
Aug 9 '10 #6
munkee
374 Contributor
Just thought I would finalise the topic with my solution.

Since the primary initial input for the database will be coming from a data access page (submission form) I have chosen to move all of the memo fields to text (255 char limit).

In the text areas where the 255 char limits apply I have used javascript to show a message under the box when it gains focus. This message informs the user that they have 255 chars left to enter their description and this decreases as they type.

The box locks for any further input when they reach their limit of 255 characters. On losing focus the message disappears to keep the submission form nice and tidy. Atleast this way I can now ensure users are aware of the limit and actively work towards not exceeding it in a quite user friendly way.
Aug 10 '10 #7
NeoPa
32,579 Recognized Expert Moderator MVP
Sounds like a neat solution :)
Aug 11 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

24
2727
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
1895
by: Remco Groot Beumer | last post by:
Hello, In an Access 97 database, there is a table that has some Memo-fields. Some of the memo-fields (not all) with a lot of text in it, display the data blurred all over each other (two textlines are written over each other at the same time). These memo-fields become unreadable by this. Does anyone know how to solve this?
13
2169
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
1
2207
by: tHeRoBeRtMiTcHeLL | last post by:
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.
2
3594
by: jacoballen | last post by:
I have a query that combines the results of three related tables. The memo fields are truncated to 255 characters, but I need all the information in them. I'm aware that removing code such as DISTINCT and GROUPBY will fix this problem (as discussed in other threads in this group), but I need to limit the query results to unique values, which is what DISTINCT does for me. Any suggestions? Thanks, Jacob
7
2695
by: maffonso | last post by:
Hi guys, My table has a memo field. At the end of the month a run a report and I would like to concatenate the memo fields in a unique field by dept. Im thinking doing this through totals button , but in the combobox there are only max,min,sum,.. There is no concatenate function. Im avoinding doing that using VBA. Somebody help me please.
1
1821
by: Ariharan | last post by:
I have created a Database using MSacces in VisualData Manager of Visual Basic.The table contains 6 memo fields and 2 text fields. The problem is now i cannot use this table in VB Coding. Consider following coding Set db=Opendatabase("F:\new\qdb.mdb") Set rs=db.openrecordset("select * from question") The underlined code gives error "Type Mismatch".If I use a table without memo field it works good.But my project requires memo...
10
3059
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...
2
4771
by: steph | last post by:
I have a table with 250 fields. Of course you are wondering why 250 fields... what could I possibly be storing in so many fields? I am using this table as a general import table for files that vary based on user selections. The input files are CSVs and can number from 2 to 175 columns. Each field is usually able to fit into a Text field (< 255 characters) but every now and then a longer field creeps in. since I don't know in which column...
4
5671
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
9680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
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
10006
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...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.