[AccessD] Locked form w/editable subform?

Jim Hewson JHewson at karta.com
Tue Nov 2 16:09:03 CST 2004


Could you set each control's Enabled and Locked property to No and Yes.
That essentially, makes the form uneditable but allows the subform to function normally.

Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher
Hawkins
Sent: Tuesday, November 02, 2004 4: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