Solved

Access database questions

Posted on 2014-12-05
9
122 Views
Last Modified: 2014-12-05
I have two tables (appointments and studentinfo).  One of my values in Appointments is a lookup from student info of the following values Student first name, Student last name, and student email. When I create a form for Appointments, and I include this lookup value, it only returns the first value (e.g. student first name) even though I can see all of the other values in the drop down.  There has to be a way to make this show everything in the lookup field.
0
Comment
Question by:mjburgard
  • 6
  • 3
9 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 40483361
You can concatenate all the other fields in the Lookup query, ...Then display the concatenated field:

For example:
SELECT StudentID, StudentFirstName & ", " & StudentLastName & ", " & StudentEmail
FROM tblStudents

Then set the Bound column as 1
Then set the Column width as something like this: 0,3
0
 
LVL 1

Author Comment

by:mjburgard
ID: 40483388
That works - I now have the issue that the person who designed this setup the email as a hyperlink - which means the email is displaying as blah@whatever.com#mailto:Blah@whatever.com#  any fast solutions for this?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40483391
Something like this should work for you:
Database44.mdb
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40483392
Sorry, ...hold on...
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40483432
Try this newer sample
Database44.mdb
0
 
LVL 1

Author Comment

by:mjburgard
ID: 40483444
I wonder if it would be better to separate the email out and create a lookup that references the first studentN and is actually a hyperlink - that would allow people to click and email a record to the student.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40483484
Most experts stay away form these email formatted fields, because they can cause problems later on...
Besides, opening up an email by clicking the hyperlink field:
1. Will only work if the end user has Outlook installed as their default email client
2. Might not be possible with your networks security settings
3. Might result in errors if the email is incorrect or invalid

In my opinion, sending out emails should be an administrative function...
Not something that every user of the database should be able to do...

But I leave that up to you...


JeffCoachman
0
 
LVL 1

Author Closing Comment

by:mjburgard
ID: 40483740
Awesome, quick feedback and it worked like a charm.  Thanks
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40483764
Thanks
Enjoy your weekend
;-)

Jeff
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question