473,396 Members | 1,799 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,396 software developers and data experts.

Combo box fills text box

Hello again,

I have a form that fills a text box with data according to the selection in
the combo box.

Two questions please:

1) The combo box does not have a control source so when opening the form,
the combo box is empty but the text box already contains the first record.
What do I need to do to either have both the combo box and text box empty on
open or have both contain the first record on open. (If it takes VBA code,
please point me in the right direction as I have not worked with it since
'99).

2) I'm getting a runtime error 3077 on one of the records. I checked it to
see if there were any funny characters within the fields but didn't see any.
What else should I be looking for when encountering this error.

Thank you,

Cindi
Nov 13 '05 #1
2 1618
1) check the default value setting in the combos properties.

2) I can't find the error. You might try the msdn knowledge base.
what does the error say besides 3077. Can you check to make sure that
record exists? Are you typing them in? Is the combo limit to list?

Nov 13 '05 #2

"misscrf" <mi*****@yahoo.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
1) check the default value setting in the combos properties.

2) I can't find the error. You might try the msdn knowledge base.
what does the error say besides 3077. Can you check to make sure that
record exists? Are you typing them in? Is the combo limit to list?


Thanks. I set the default value to " " so now both fields display properly.
As far as the error goes, yes, the record exists and the data was already
there when the project came to me but I do believe it was entered cut/paste.
Once I deleted the record, the problem disappeared. I'll have to see what
happens when it's reentered.
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CGuy | last post by:
URGENT HELP REQUIRED FROM GURUS Hi, I have a custom object that implements ICollection and IListSource. This object has also an enumerator defined for it which implements IEnumerator and...
0
by: Josh Nikle | last post by:
I just realized that I posted this earlier with no title. Sorry. Here's the original post: I have a form with a combo box on it that, when a selection is made, fills in several other controls...
2
by: Dave McKie | last post by:
Hi all I am trying to Populate a combo box from a selection in an adjacent Listview. The Listview lists as a string the field names of 4 different fields in tblFile. So far I can populate the...
4
by: J L | last post by:
I am trying to use the following code to auto fill a combo box (credit and thanks to Code Project and Daryl) Public Sub AutoFillCombo(ByVal theCombo As ComboBox, ByVal theKey As Keys) Dim...
10
by: lorirobn | last post by:
Hi, I have a form with several combo boxes, continuous form format, with record source a query off an Item Table. The fields are Category, Subcategory, and Color. I am displaying descriptions,...
5
by: Hetal | last post by:
Hi there.. I am a VB6 developer so kinda trying to figure how to work with VB.NET. I have a scenario where i have a DataSet bound to a combo box, and i would like to read a row from the DataSet...
0
by: Hetal | last post by:
Hi there.. I am a VB6 developer so kinda trying to figure how to work with VB.NET. I have a scenario where i have a DataSet bound to a combo box, and i would like to read a row from the DataSet...
3
by: wideasleep | last post by:
I have a subform that's a continuous form. In it I have a combo box that fills a date field. It works great except for one thing. It fills in all the other date fields for each record and the combo...
6
tdw
by: tdw | last post by:
Hi, Is there a way to program the down arrow key on the keyboard to move to the next item in a combo box list? The reason I want to do this is that my "Ordered By" combo box on my form is...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.