?
Solved

Make memo field from subform editable on main form

Posted on 2004-04-18
8
Medium Priority
?
282 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
7 Comments
 
LVL 27

Expert Comment

by:jjafferr
ID: 10854296
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
ID: 10855186
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 400 total points
ID: 10857172
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
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
LVL 1

Author Comment

by:TristanRyan
ID: 11279178
Whoops ... sorry, forgot I had this question open.

T.
0
 
LVL 27

Expert Comment

by:jjafferr
ID: 11280106
Thanks both,

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

jaffer
0
 
LVL 32

Expert Comment

by:jadedata
ID: 11280810
out straight on projects of my own...
0
 
LVL 27

Expert Comment

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

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Usually, rounding is performed by some power of 10 - to thousands, hundreds, tens, or integer - or to one, two, or more decimals. But rounding can also be done to a power of two, say, 16 or 64, or 1/32 or 1/1024, even for extreme values.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

568 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