Data entry dropdown list showing two columns
-
Thanks for your help last week with the Auto-Increment option, and hopefully you will be able to figure out, or help me figure out, why my tables cannot be altered in a remote database. Although I’ve been tinkering with database development for a couple of decades, and have used a little SQL scripting over the years, I am still just a novice. Still, being a server admin for 25 years, including installing and managing SQL servers, I’m certainly familiar with lots of scripting. That said, I can use all the help I can get.
Beside my IT experience, several years ago I went back to college to become a historian, and I am using your plug-in to create a database to store and publish primary source data from my research of the San Diego, California Common Council actions between 1850 and 1875. I’ve been successful at creating my tables, the relationships between them, and have created parent/child relationships in the Data Projects module. I created a view to use for a lookup, but I don’t think I even need to be that complicated with what I’m trying to do.
My problem is that I want to create a data entry dropdown that shows more than a single column. My database has a table for City Ordinances where I want to enter who proposed each ordinance. In that Ordinance table I have a column for Citizen ID (Cit_ID), but when I enter the data I want a drop down that lists the Citizen’s First and Last Names. I also have a Citizens table that has Cit_ID, FName, LName, and other related citizen info. In Data Projects I created a table relationship type “Lookup” and chose Cit_ID as the link between the Ordinance table and Citizens table. In the “Manage Columns for data entry” I selected the Lookup to be LName. So now when I go to enter data in my Ordiance table it shows the citizens Last Name. The problem is that if I have several citizens with the same last name I don’t know which one to select. How do I show both Fname and Lname in my lookup dropdown?
I’ve searched for discussions on this, but I don’t even know what to search on to limit my results for this problem.
Thank you for your help.
The topic ‘Data entry dropdown list showing two columns’ is closed to new replies.