Solved

Access database questions

Posted on 2014-12-05
9
123 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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