Bug Workaround (Combo Box text converted to number)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adrian Tache

    #1

    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 :)
  • ADezii
    Recognized Expert Expert
    • Apr 2006
    • 8834

    #2
    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...

    Comment

    • Adrian Tache

      #3
      to simplify things I have the following setup:

      Projects Table: ProjectID As AutoNumber, ProjectReadable ID As Text

      Timesheet Table: ProjectReadable ID as lookup wizard to ProjectReadable ID 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.Projec tReadableID or else I just get numbers (which really mean nothing)

      My intention is to use ProjectReadable ID 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.

      Comment

      • Adrian Tache
        New Member
        • Nov 2010
        • 12

        #4
        I've solved it!

        Complicated thing though.

        Comment

        Working...