Wrox Programmer Forums
|
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2004, 01:12 PM
Authorized User
 
Join Date: May 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default to save forms' properties

i have a problem while saving forms' properties.
when i want to save the rowsource property of a combobox control, it can not save the new value after closing form, it can only insert the new value to the table but not to the list(rowsource).
not only the rowsource but any other property of the form like "tag", "validationText" etc...
i have try this
me.combo0.rowsource = me.combo0.rowsource & ";" & NewData
but this does not work
thanks to tell me how to handle the NotInList.
looking to hearing from you.

 
Old December 20th, 2004, 06:20 PM
Authorized User
 
Join Date: Jul 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

vubinhsg,

In order to save changes to a form's design, or indeed to the design of any control on it, you must open the form in design view, make your changes, then save and close the form.

    DoCmd.OpenForm "Form1", acDesign
    Forms!Form1.Text0.Tag = "ABC"
    DoCmd.Close acForm, "Form1", acSaveYes


Graham R Seach
Microsoft Access MVP





Similar Threads
Thread Thread Starter Forum Replies Last Post
Save & Delete Forms Garner VB How-To 13 March 27th, 2008 09:14 PM
Save As Dialog in web forms collie ASP.NET 1.0 and 1.1 Basics 0 March 18th, 2008 08:41 AM
function - change forms txtbox properties feets Access VBA 3 May 11th, 2007 10:05 AM
Save Dynamically created forms DaDeViL Access VBA 2 August 17th, 2005 08:29 AM
Changing forms properties at run time Louisa VB.NET 2002/2003 Basics 5 January 15th, 2004 01:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.