473,385 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Moving memo fields from main table in to seperate table

374 256MB
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, 393 views)
Aug 6 '10 #1
7 1783
NeoPa
32,556 Expert Mod 16PB
Base your forms instead on the query that links your [tblLog] with your new Memo fields table.
Aug 6 '10 #2
munkee
374 256MB
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,556 Expert Mod 16PB
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 256MB
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,556 Expert Mod 16PB
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 256MB
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,556 Expert Mod 16PB
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
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...
1
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...
13
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
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...
2
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...
7
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...
1
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...
10
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...
2
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...
4
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.