Solved

Make memo field from subform editable on main form

Posted on 2004-04-18
8
270 Views
Last Modified: 2011-10-03
I have a subform with a memo field, column width set to 0". On my main form, I put a big text box with the rowsource subForm.Form!MemoFieldName. The idea was to have the memo field change as we switch records in the subform. But I want people to be able to edit the data as well. Is there a solution?

1Thanks!
0
Comment
Question by:TristanRyan
  • 4
  • 2
8 Comments
 
LVL 27

Expert Comment

by:jjafferr
Comment Utility
Hi TristanRyan,

Why don't you allow them to edit it in the SubForm itself?
you can always use the scrolls to navigate to the lower lines.

I usually make the memo field height so that it can show 2 lines of text.

Hope this helps

jaffer
0
 
LVL 1

Author Comment

by:TristanRyan
Comment Utility
Thanks for the suggestion, but don't want to go that route -- the subform is in datasheet view, but the memo field contains a history, so we need to see quite a few lines.
T.
0
 
LVL 27

Accepted Solution

by:
jjafferr earned 100 total points
Comment Utility
TristanRyan

I would Save that SubForm1 to SubForm2,
in SubForm2, delete all fields except MemoFieldName, make it as big as you like,
Remove all the borders from SubForm2, so that when placed on the Main Form along with SubForm1, it looks like a field on the Main Form.
Assign the Parent/Child relation like you did for SubForm1.

Now the Records will show as you move from 1 Record to another,
Any changes you make in MemoFieldName of SubForm2 WILL change your Table Record.

If you wanted to see the changes in MemoFieldName of SubForm1 (I know that is not the case with you, but others might require this functionality)
On Change/ or /On Losf Focus of MemoFieldName of SubForm2, place the command Refresh, so that changes show in MemoFieldName of SubForm1.

I hope this help,

jaffer
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:TristanRyan
Comment Utility
Whoops ... sorry, forgot I had this question open.

T.
0
 
LVL 27

Expert Comment

by:jjafferr
Comment Utility
Thanks both,

Hey Jack
Have been seeing you cleaning more than dealing,
what's up?

jaffer
0
 
LVL 32

Expert Comment

by:jadedata
Comment Utility
out straight on projects of my own...
0
 
LVL 27

Expert Comment

by:jjafferr
Comment Utility
Right on, Don't be away to long, we missed your posts you know ;o)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now