Selasa, 03 November 2015

Re: [MS_AccessPros] Combo Box

 

I found it:


SQL Server Compatible Syntax (ANSI 92) has to be off

What does this setting do?

Sarah



---In MS_Access_Professionals@yahoogroups.com, <sarahk@...> wrote :


Bound Column=1
Column Count=2
 Column Widths=0;1
 Column Heads.=NO
The first few fields in the table:
t_State
StateCodeStateCreateDateCreateUserLastUpdateLastUpdUser
AKAlaska



ALAlabama



ARArkansas



AZArizona



CACalifornia




Row Source=SELECT t_State.StateCode, t_State.State FROM t_State;

(I also tried the State table directly as the row source, does not make a difference, I also did column width 0.25;1 and tried with State code. that does not work either. I have to type out the entire selection or choose it from the drop down list).

The field is also case sensitive, will only accept 'Alaska', not 'alaska'. 


Sarah
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :

No, the list doesn't have to be dropped down. Works just fine for me in 2007 using a table as the Record Source.

Sarah- What are your other settings? Bound Column, Column Count, Column Widths, Column Heads. What are the first few fields in your table?


John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)




On Nov 3, 2015, at 5:23 PM, 'Embrey, Darrell' DEmbrey@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Doesn't the Auto Expand property only work while the dropdown list is showing? If so, you can use the control's On Enter or On Focus event to automatically show the list using the DropDown method.
[cid:image001.png@01D1162A.11522A50]
Darrell

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Tuesday, November 03, 2015 11:08 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: RE: [MS_AccessPros] Combo Box





I also tried tuning Auto Expand off and then back on, does not make a difference.
Sarah
---In MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>, <bob@...<mailto:bob@...>> wrote :

That's weird. I was able to turn the behavior on and off by changing that setting.



Bob Peterson





From: MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com> [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Tuesday, November 03, 2015 10:38 AM
To: MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>
Subject: RE: [MS_AccessPros] Combo Box




Auto Expand is set to Yes. It still does not work.

Sarah


---In MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>, <bob@...<mailto:bob@...>> wrote :

Hi



The property you are looking for is called Auto Expand. It is on the Data tab of the Properties for the control.



Make sure it is set to Yes.



Bob Peterson



From: MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com> [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Monday, November 02, 2015 10:04 PM
To: MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>
Subject: Re: [MS_AccessPros] Combo Box





Duane,

I tried with SQL statement like you did. It does not make a difference. If I type 'D' , it does not fill in Delaware, it shows Delaware in the drop down. I have to type out Delaware or select it from the Drop Down. But if I type 'D', I would like it to automatically fill in Delaware, the first selection that starts with D.



Sarah

---In MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>, <duanehookom@...<mailto:duanehookom@...>> wrote :

I te sted with A 2016 and the find as you type with a table worked as expected. I don't recall ever using either a table or query name as a row source. I always use an SQL statement like:

Select StateAbbrev, StateName from tblStates Order By StateName.



Duane

Sent from Outlook<http://aka.ms/Ox5hz3>





On Mon, Nov 2, 2015 at 2:50 PM -0800, "sarahk@... [MS_Access_Profession als]<mailto:sarahk@...%20[MS_Access_Professionals]>" <MS_Access_Professionals@yahoogroups.com<mailto:MS_Access_Professionals@yahoogroups.com>> wrote:



I have a combo boxes on a form. The row source is a table. For example I have a state table that is the row source. The combo box works, but if I start typing a value I would like it to automatically bring up the appropiate items from the state table. For example if I type 'new' then all the states that start with 'new' should come up. This does not work if the row source is a table, but it does work if the row source is a query. If I crate a query based on my state table and use it as the row source, it works fine. If the row source is a table, then it should shows the enries from the very begining starting with 'A".

Is this by design?. Or do I need to change my settings?. The table is linked to a back end. I would like the row source to be the table, so I dont have to create 'extra' queries.

I am using Access 2003.

As always all help is appreciated.

Sarah









The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.

Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.


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



------------------------------------
Posted by: "Embrey, Darrell" <DEmbrey@...>
------------------------------------


------------------------------------

Yahoo Groups Links
 

__._,_.___

Posted by: sarahk@schemesoftware.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (36)

.

__,_._,___

Tidak ada komentar:

Posting Komentar