473,469 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bug Workaround (Combo Box text converted to number)

I'm trying to make an accessible form for my users but am having a hard time doing so. I've created all tables with normal PKs (Autonumber) and query-generated ReadableIDs as a very intelligible unique ID.

However, when I try to link tables between them (or siphon data using the lookup wizard) my readable ID fields are converted to numbers and are linked to the PK rather than the readable ID.

This is not a huge issue as most times I can work around it. What I simply cannot do is this:

I want to have my combobox list readable values (done), then look up the actual id for those values in their table, then return to the combobox the autonumber id for that specific readable value.

Thanks for your time in advance :)
Nov 23 '10 #1
3 1942
ADezii
8,834 Recognized Expert Expert
Adrian, you are going to have to post some specifics, such as: Field Names and Data Types, Row Source for the Combo Box, Table Names and Linking Fields/Types, etc...
Nov 23 '10 #2
to simplify things I have the following setup:

Projects Table: ProjectID As AutoNumber, ProjectReadableID As Text

Timesheet Table: ProjectReadableID as lookup wizard to ProjectReadableID from above, but it actually just takes values from the primary key ProjectID, making it a number

Row source for the combo box has to be Projects.ProjectReadableID or else I just get numbers (which really mean nothing)

My intention is to use ProjectReadableID which is a text field containing client name, project type and date and is used to make selecting a project in the timesheet as easy as possible.

PS: tables are much more complex than what I posted, just simplified them because those are the problem fields.
Nov 23 '10 #3
Adrian Tache
12 New Member
I've solved it!

Complicated thing though.
Nov 24 '10 #4

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

Similar topics

2
by: Megan | last post by:
Hi everyone- I'm trying to convert social security numbers from a text data type to a number data type, but I lose data on some of the social security numbers, especially SS#s with 0's in them....
3
by: Maddman | last post by:
I have a routine that imports text data to an 'import table'. I'd like to then clean it up (get rid of all blanks, etc) and then append it to a data table. The data imports as text, but in the...
8
by: shumaker | last post by:
I see other posts where some say fields that will hold a number with leading zeros should be stored as text instead of numbers. This is very inefficient though, as a string of digit characters...
7
by: TheGanjaMan | last post by:
Hi people, I'm stuck on a problem and I was wondering if there was a way around: I'm trying to find the number of lines in a comma delimited text file. I have a progress bar that should...
3
by: qwas2123 | last post by:
Hi, Im new to the forum and i would appriciate any help anyone has to offer. well ok, i have a personnel base and what i would like to do would be to be able to tie The information that is...
1
by: gerryblanco | last post by:
Hi, Need to solve the following... In Access 2003 I have a CATEGORY table with two fields... an ID field and a Description field. I setup a combo box in a form that lists all the categories...
0
by: Greg | last post by:
I have a databound combo box that after binding the data to it, if when the text property is queried, always returns a blank string, until the user interacts with it and changes the index (from 0...
1
by: bytenut | last post by:
I would like to display two field values in a combo after selecting from the list items... i.e. my drop-down shows two fields from a lookup, but when I select the item, only the first field value is...
2
by: JoeKid09 | last post by:
Hi Guys, I'm working on converting a large table with a field that has numeric values in text data type. When I do the conversion in Access automatically some records don't get converted. The...
2
by: Suhas Parchure | last post by:
I want a text field which should accept only text not number . How can i do that?
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,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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: 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?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.