473,468 Members | 1,349 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Combo Box Wont retrieve certain records in Table

2 New Member
Programming Newb here. The following was working fine until recently.

I have a Table called Customers with 200 Customer records. Its Alphabetized by CompanyName. When I click on a copmany in the Combo Box, it returns all the company info. Its your standard Customr table.

The first record is CustomerId Value of 7 (The Company Name is 10-32 Police Supply).

The Combo Box defaults to CustomerID 8 (Adamson Police Supply). When I click on 10-32 in the Combo Box, it returns Back to Customer ID 8. 95% of the Records in the Table work fine. The other 5% return back to Customer ID 8.

I tried to compact/repair database. No luck. I thought that was the all problem/error/coding single click fix button. Clearly it's not. Probably doesnt even do anything but make you think it fixes your database. So I tried the more advance solution and closed the database. That didn't work either. Then I realized I was completely out of tools.

What the heck is going on here?
Apr 8 '17 #1
3 802
NeoPa
32,556 Recognized Expert Moderator MVP
Hi Jason.

Compact & Repair is indeed a very useful tool that fixes 95% of corrupted databases. Unfortunately it can't redesign it for you. That still relies on someone doing a proper job of it in the first place.

We may be able to help with a bit more clarity in your explanation. You start with a table but you describe what sounds like a form. You don't give any details of the design of the form.

It sounds like the form and its design are at the centre of this problem so that leaves us with very little to work with. If you'd like to proceed you'll need to provide us with the basic information required that will allow us to help.
Apr 8 '17 #2
jasonweil2000
2 New Member
I have a form that brings up all of the customer information within the table. Name address Phone, etc. A Combo box is on top that has all of my customers in it. When I click on a customer, all of the information from the table fills in the form fields. The combo box does in fact list all of my customers in it. However, when I click on certain customers, it the form displays the same record (In this case 3G uniforms.) So if I click on Adamson uniform in the Combo Box, 3G uniforms and all of its iformation populates the form in the prespective fields. Most of the Companys work and a handful default to the 3G company.
Apr 8 '17 #3
jasonweil2000
2 New Member
Nevermind. I figured it out. Something in the form was corrupt. I imported the form from a previos saved version.
Apr 8 '17 #4
NeoPa
32,556 Recognized Expert Moderator MVP
That can happen Jason. Nothing logical at all and it all comes down to a corruption somewhere. If C&R doesn't fix it then you're unlucky. It's easy to miss.

Re-importing a safe version is another good thing to try. Well caught.
Apr 8 '17 #5

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

Similar topics

1
by: Miguel Orrego | last post by:
Hi, I have a site on our intranet that takes information from one database, lets the user see it and if they want to lets then write it into another database. However, only recently with...
1
by: FZ | last post by:
Hi Gang, I was wondering if a generous person might be able to walk me through what I believe is a pretty simple task. I actually have significant Access experience, but I haven't done it in...
1
by: Neil | last post by:
Hello everyone, I am making a program at the moment, and need HELP!!!. I'll start with the database, my field's r: fldSku - which a 6 digit number, no more no less (145682) fldDescription - which...
1
by: renato | last post by:
HI, In my company we will migrate MSSQL DB to Oracle DB. We have problems because we dont know HOW retrieve many records to Visual basic (and show them in a form) from a ORACLE Database. Can you...
5
by: fruityfreak | last post by:
I would like to know how to I retrieve information from another database table... Instead of keying in manually, I would like to retrieve data directly from the logged in user row. For the user...
2
by: bhargavi514 | last post by:
friends i need a php code to retrieve 10 records from database and display values in a table by using php and my sql
1
by: gdixon | last post by:
Greetings To All! I am using a Access 2003 and my programing skills are of the cut and paste variety. This means begining programming skills and on a good day perhaps middle of the road...
1
by: DavidPT | last post by:
Hi, I have setup a form and i am trying to get one of my combo boxes to show the records chosen on a certain table. I have setup a Timesheet and am having trouble getting the combo box with...
8
by: Gwyn Jones | last post by:
I am having trouble writing the code for a combo box as part of a string search criteria. Scenario: A form which displays all records in a table () is filtered by several criteria fields. So far...
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
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
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.