[AccessD] Locked form w/editable subform?

John W. Colby jwcolby at colbyconsulting.com
Tue Nov 2 16:20:34 CST 2004


It happens at load time of the subform.  You can manipulate the subform
properties after load, or you can leave the main form editable until after
load then set that to allow edits false.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher
Hawkins
Sent: Tuesday, November 02, 2004 5:00 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] Locked form w/editable subform?


Suppose you have frmMain and frmSub.

frmMain is (duh) the main form and frmSub is the SourceObject of subform
control sFrm on frmMain.

How can I set frmMain.AllowEdits to False and still have frmSub behave as
though it's .AllowEdit property is set to True?  Right now, as soon as I
change the setting for frmMain, it takes frmSub along with it.




Respectfully,

Christopher Hawkins
Software Developer
(559) 687-7591
http://www.christopherhawkins.com


-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list