Senin, 06 Agustus 2012

RE: [MS_AccessPros] Change a value of a combo box with VBA

 

Jim,
Help us out by providing these properties of the combo box:
Row Source: (the SQL view)
Column Count:
Bound Column:
Column Widths:

I expect the actual bound column is a hidden primary key like and ID.

Duane Hookom
MS Access MVP


> To: MS_Access_Professionals@yahoogroups.com
> From: luvmymelody@yahoo.com
> Date: Mon, 6 Aug 2012 14:57:26 +0000
> Subject: [MS_AccessPros] Change a value of a combo box with VBA
>
> I have a button on my form that when it is clicked populates fields on a form. It is a record that is easier to populate with a button. I have added a combo box to the code and it does not like the line. The line is below. I get the error Run-time error 2113. The value you entered isn't valid for this field. I would like to understand why the value could be invalid. The value is in the combo box.
>
> Thank You for any definition
>
> Jim Wagner
>
> cboTaskType.Value = "Process"
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>


[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar