PC Review


Reply
Thread Tools Rate Thread

Combo Last value as default / not saved

 
 
Hermann
Guest
Posts: n/a
 
      30th Jun 2005
Hi
My Name is Hermann. I have tried to find a solution for default values
in an Access program I have made to organize the daily management of
the vessel.
I have tried this method. I found your comment in internet Google
Groups.
Private Sub cboName_AfterUpdate()
Me.cboName.DefaultValue = """" & Me.cboName & """"
DoCmd.Save acForm, Me.Name
End Sub

When I have the property box open I can see that the default value
change when I selct new values from the drop down list, however if I
close the form without doing any changes in the property box the old
default value is still there, not the new one I selected
I found out if I change some settings like the Font to bold etc. the
new Default value was saved.

Please advice.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Box - Conditional and saved to a table mromyn Microsoft Access 2 11th Dec 2008 09:21 PM
selected value is not saved in combo box MarkDev Microsoft Excel Discussion 1 21st Jun 2006 01:53 AM
selected value is not saved in combo box MarkDev Microsoft Excel Misc 2 20th Jun 2006 09:41 PM
Combo Selection on form becomes default value of combo on subform =?Utf-8?B?TmFuY3lNaW1h?= Microsoft Access Form Coding 1 3rd Jul 2005 09:45 PM
Combo Last value as default / not saved Hermann Microsoft Access VBA Modules 1 30th Jun 2005 05:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 PM.