A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Another SubForm Allow Edit Problem



 
 
Thread Tools Display Modes
  #1  
Old November 16th, 2006, 10:40 AM posted to microsoft.public.access.forms
[email protected]
external usenet poster
 
Posts: 1
Default Another SubForm Allow Edit Problem

Hi,
I have the same problem that is described in many previous topics, but
none of the offered solutions work.
- Main form is called RetailersDataEntry
- Subform is called PhoneCallsSubform
- they are connected through Retailer ID
- Main form has AllowEdits = false
- Subform has AllowEdits = true, it is not locked
- Main form has a button that has on click event procedure
Me.AllowEdits = True
- but when that button is clicked the subform is still not editable
- I've tried all various syntax on the edit button
Me.PhoneCallsSubform.RetailersDataEntry = True
Me.[PhoneCallsSubform].[RetailersDataEntry] = True
Form![PhoneCallsSubform]![RetailersDataEntry] = True
etc.
none of it works.

Now I've put a button that opens PhoneCallsSubform as a separate form,
but that is really not great.
Is anyone able to help?
I'm using Access 2000. My knowledge of VB is almost non-existent, i.e.
I can copy paste only.

thanks

  #2  
Old November 16th, 2006, 11:54 AM posted to microsoft.public.access.forms
TonyT
external usenet poster
 
Posts: 154
Default Another SubForm Allow Edit Problem

Hi Klara,

try;

Forms!RetailersDataEntry.PhoneCallsSubform.Form.Da taEntry = True

hope this helps,

TonyT..

" wrote:

Hi,
I have the same problem that is described in many previous topics, but
none of the offered solutions work.
- Main form is called RetailersDataEntry
- Subform is called PhoneCallsSubform
- they are connected through Retailer ID
- Main form has AllowEdits = false
- Subform has AllowEdits = true, it is not locked
- Main form has a button that has on click event procedure
Me.AllowEdits = True
- but when that button is clicked the subform is still not editable
- I've tried all various syntax on the edit button
Me.PhoneCallsSubform.RetailersDataEntry = True
Me.[PhoneCallsSubform].[RetailersDataEntry] = True
Form![PhoneCallsSubform]![RetailersDataEntry] = True
etc.
none of it works.

Now I've put a button that opens PhoneCallsSubform as a separate form,
but that is really not great.
Is anyone able to help?
I'm using Access 2000. My knowledge of VB is almost non-existent, i.e.
I can copy paste only.

thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.