473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Combobox with Dlookup in Datasheet View

I have created a combo box on a datasheet view form that does 2 things: it uses a dlookup to get the initial data (an employee name) then it has a row source to a query. The strange thing that happens is that when I open the form, the first name appears, and all subsequent records have missing entries (the rest of the data does show up). When I either click the mouse anywhere or hit any key, the remainder of the names magically appear. I tried sending keys to try to get the form to show the data, but that does not work.

Any ideas how to make my data show up when I open the form?
Jun 15 '07 #1
3 2558
hi jad,
I have no idea if this will work, but you could try putting a requery event on the combobox after it loads, see if that fixes it up. Otherwise, one of the experts might have an idea :)

Good luck!

theAybaras
Jun 15 '07 #2
I have tried that too, but it did not help.

I have also seen this behavior on some other forms, so maybe it is something in Access 2000 (like the way the scroll bars don't always initially show up).

I hope someone out there has an answer!
Jun 15 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
It sounds like your combobox is an unbound control. That is it is not tied to any field in the table or query behind the form. Because of this it is changing based on the record in focus. As you are using it in a datasheet it will change in all records each time it changes.
Jun 17 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Steve Claflin | last post by:
Is there a way to have multiple keystrokes select the first matching item in a combobox? For instance, in the Doe family members combobox, typing jo would go to Jane on the j, then John on the o...
1
by: Knud Rogilds | last post by:
I have tried everything, what am I doing wrong? I have a data entry form in datasheet view (for mass data entry). One of the fields are SalesID, and I would like to use DLookup to populate an...
7
by: Malcolm Cook | last post by:
Hi, I've created and installed a custom UDF to populate my combobox, and have defined it per :...
3
by: Tripp Knightly | last post by:
I have a lookup table from which I want to categorize various bands of customer net income. Some of the income is positive, some is negative. The bands vary in size (ie, <500, -200 to 0, 100 to...
19
by: hao | last post by:
Hi, all, Is it possible to list a huge number of items in ComboBox and make it quick? Like 50,000 items? My customer use MS Access before and in Access, he can use ComboBox from...
2
by: King Ron | last post by:
Ola all. In responding to a recent post requesting help with a search issue, I recommended using a combo box lookup in the table design. "paii, Ron" (no relation) posted this reply: " There are...
3
by: sbetancourt | last post by:
Hi, I am making a database that will look up an employee in the main form and in the subform I can see their tasks. The subform is in a datasheet view and it has a combo box that allows you to...
6
by: ezechiel | last post by:
hi, I have a little problem here.. when I create a form to browse trough records, everything works fine. When I'm on a certain record and say, 'manufacturer' is on 'Apple' and I do a right...
22
by: AccessBeetle | last post by:
Private Sub Form_Open(Cancel As Integer) Combo34.SetFocus If DLookup("", "RadioLog_tblValUsers", "= '" & !! & "'") = "mngr" Then If DLookup("", "RadioLog_tblValUsers", "= '" & !! & "'") = 1...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.