Solved

Make memo field from subform editable on main form

Posted on 2004-04-18
8
271 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
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 100 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

937 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

4 Experts available now in Live!

Get 1:1 Help Now