Greetings,
My apologies if this has been asked recently, but a search did not reveal it. My apologies also if this is the incorrect forum for this post. If so please let me know where it should go.
I recently inherited an Access 2010 data project to debug. I have quite a bit of experience with databases and programming, but very little with Access itself.
There's a bug in the application that I am unable to resolve. There is a complex split form, which contains a number of sub forms. The table which is visible in the form contains a number of columns that access claims aren't actually there. That is to say, they aren't present in the record source query access says it is using the for the form. From the evidence, it is clear that a join is going on somewhere, and these columns are being linked in by a key value present on the record source query. When I, in form view, sort the data by one of these "mystery columns" alphabetically, access performs the sort, but sorts by the value of the underlying key instead.
For example, if I had:
Person_key, Person name
5, Anderson
3, Thomas
1, McDonald
Sorting by person name would get me:
Person_key, Person name
1, McDonald
3, Thomas
5, Anderson
Does anyone have any suggestions on a) how I might convince access to sort by the Name instead of the key, or b) how these mystery columns got here in the first place? Barring that, can anyone suggest a place to read up on behavior similar to this?
My thanks in advance for any help anyone might be able to offer.