-
Change Default Properties Through Code..?
We have a runtime Access database that has a form with three or four
subforms within it. The problem is this: the default values for
AllowDeletions, AllowAdditions and AllowEdits, is set to False where the
default value needs to be true. The database has it's own menus and all
shortcut keys to enable full menus have been disabled. I tried writing some
code in VB to change the properties, but then realised that this doesn't
change the default values, and the values revert to FALSE upon closing the
database. I could import all Tables, Forms, Modules etc. into a new database
and then change the properties, but I lose the custom menus.
Can somebody tell me how I might change these default properties?
Cheers
James E
-
Re: Change Default Properties Through Code..?
On Mon, 27 Nov 2000 09:26:17 -0000, "JamesE" <JEdwards@theclancygroup.co.uk> wrote:
¤ We have a runtime Access database that has a form with three or four
¤ subforms within it. The problem is this: the default values for
¤ AllowDeletions, AllowAdditions and AllowEdits, is set to False where the
¤ default value needs to be true. The database has it's own menus and all
¤ shortcut keys to enable full menus have been disabled. I tried writing some
¤ code in VB to change the properties, but then realised that this doesn't
¤ change the default values, and the values revert to FALSE upon closing the
¤ database. I could import all Tables, Forms, Modules etc. into a new database
¤ and then change the properties, but I lose the custom menus.
¤
¤ Can somebody tell me how I might change these default properties?
Maybe I'm missing something here, but can't you modify these properties for each Form at design time
(through the Property Sheet)?
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks