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  

CBO Easy Question



 
 
Thread Tools Display Modes
  #1  
Old September 17th, 2007, 07:08 PM posted to microsoft.public.access.forms
TKM
external usenet poster
 
Posts: 289
Default CBO Easy Question

I have a main form with a subform. I also have a cbo named "Insurered"

I would ike the CBO to default to "PENDING" but it willnot no matter what I
do. I have tried using the number that that pending is associated with which
is 9, I triedd using the name pending in the default box. I have tried
everything. Here is the row source.. Please help!

SELECT tlkFieldCodes.FieldCodeID, tlkFieldCodes.FieldCodeDesc FROM
tlkFieldCodes WHERE (((tlkFieldCodes.FieldCodeGroup)="Insurered")) ORDER BY
tlkFieldCodes.FieldCodeID;
  #2  
Old September 17th, 2007, 11:12 PM posted to microsoft.public.access.forms
Ofer Cohen
external usenet poster
 
Posts: 1,683
Default CBO Easy Question

Is that combo UnBound?
If that the case setting the default property won't work, ýou'll need to set
the value in the combo using the form load event

Me.ComboName = 9

Also, if the combo is bounded it will work only with new records, and it
won't work for existing records where the value in the combo is empty.

--
Good Luck
BS"D


"TKM" wrote:

I have a main form with a subform. I also have a cbo named "Insurered"

I would ike the CBO to default to "PENDING" but it willnot no matter what I
do. I have tried using the number that that pending is associated with which
is 9, I triedd using the name pending in the default box. I have tried
everything. Here is the row source.. Please help!

SELECT tlkFieldCodes.FieldCodeID, tlkFieldCodes.FieldCodeDesc FROM
tlkFieldCodes WHERE (((tlkFieldCodes.FieldCodeGroup)="Insurered")) ORDER BY
tlkFieldCodes.FieldCodeID;

 




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 12:15 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.