A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Problem With Combo Box Default Value



 
 
Thread Tools Display Modes
  #1  
Old June 25th, 2009, 04:08 PM posted to microsoft.public.access.forms
John Lane
external usenet poster
 
Posts: 69
Default Problem With Combo Box Default Value

For some reason I can't get a combo box on a subform to populate a default
value. Below is the line of code to poplulate it. The comb box is blank. I've
tried fully defining the control but that doesn't work either. Any Ideas?
Thanks.

Me!A_Account.DefaultValue = """7110; Bank Fees"""
  #2  
Old June 25th, 2009, 04:16 PM posted to microsoft.public.access.forms
John Lane
external usenet poster
 
Posts: 69
Default Problem With Combo Box Default Value

Well, I figured out it works for a single column combo box. How do I set a
default value for a multi-column combo box? Thanks.

"John Lane" wrote:

For some reason I can't get a combo box on a subform to populate a default
value. Below is the line of code to poplulate it. The comb box is blank. I've
tried fully defining the control but that doesn't work either. Any Ideas?
Thanks.

Me!A_Account.DefaultValue = """7110; Bank Fees"""

  #3  
Old June 25th, 2009, 04:22 PM posted to microsoft.public.access.forms
John Lane
external usenet poster
 
Posts: 69
Default Problem With Combo Box Default Value

Ah! Got it! Set it to the value of the bound column!

"John Lane" wrote:

Well, I figured out it works for a single column combo box. How do I set a
default value for a multi-column combo box? Thanks.

"John Lane" wrote:

For some reason I can't get a combo box on a subform to populate a default
value. Below is the line of code to poplulate it. The comb box is blank. I've
tried fully defining the control but that doesn't work either. Any Ideas?
Thanks.

Me!A_Account.DefaultValue = """7110; Bank Fees"""

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.