473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Access to PowerPoint - How to output an Access lookup field to PP?

I have an Access query which has text fields except for one, a field (number) which is based on a lookup table.

The code below works well to put the contents of a text field into my PowerPoint table.

Expand|Select|Wrap|Line Numbers
  1. .Cell(lngY, lngX).Shape.TextFrame.TextRange.Text = RSTravelSch_DTRI_ABS_Query6.Fields("Attendees").Value
However, when I try to put the content of "Attendees" into the table I get a type mismatch error. This is due to Attendees being of type 104 (ComplexLong .. aka a Number, not Text).

In access, this field is a pull-down where you can select multiple attendees for a single event. The table field is a standard lookup table

Expand|Select|Wrap|Line Numbers
  1. SELECT Attendees.[ID], Attendees.LastName, Attendees.FirstName FROM Attendees ORDER BY Attendees.LastName;
  2.  
I just can't figure out how to output (from Access to PP) the list of names for each event.

For example: "Jones, Smith, Carloson, Robinson"

Help!!
Apr 17 '13 #1
1 1097
So this is called, in Access, a Multi-value Field. Trying to figure out if I can avoid this usage or what the work around is to turn a Multi-value field to text.

Any thoughts?
Apr 18 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Al | last post by:
hi I have a Datagrid where I click on the id to open another aspx page to edit the selected record. I was able to pass the selected row's id and use it in the second page to pull the record into...
1
by: Jim Stacey | last post by:
Create Lookup field with Visual Basic Can i create a lookup field on the fly? In my table Students i want to create a loookup field TeacherID that looks up teachers by their LastName. Otherwise...
7
by: Marco Simone | last post by:
Hi, What is your opinion about using Lookup field in table. I would like to use lookup field in table 1, so that I can choose data in combo box from table 2. Is this good design of database? ...
1
by: Zachary Turner | last post by:
I want to make a Lookup Field based on another Lookup field. In other words, I have this table A with two fields: ID and Name, where ID is an Autonumber and Name is a friendly name. Then I have a...
1
by: sierra467 | last post by:
I realize that lookup fields in a table should not be used but that is the way this particular creator has done. Could someone help me by answering my question. I am trying to run a...
1
by: LurfysMa | last post by:
I am working on an electronic flashcard program. Most of the subjects are simple lists of questions and answers. Those seem to be working. Some of the "subjects" have "categories" of questions. ...
7
by: samdev | last post by:
I have set up a table with a few fields that are set to required....all work fine except the fields that are Lookup from another table. What am I forgetting to set? Thanks!!
1
beacon
by: beacon | last post by:
Hi everybody, I've searched around for answers, but the closest thing I've found referenced the Northwind database and it seems to be set up a little differently than mine. I'm using DAPs (data...
0
geraldinegrieve
by: geraldinegrieve | last post by:
Hi I have a lookup field in a able which I know now I shouldn't have but is there any way I can query this field by text rather than number e.g I have a field "Type of Training" which I would like to...
3
by: roguetexan | last post by:
I have over 1000 records in a table (Context_Tasks_DB), one field of which (termed Purpose) should really be a Lookup to another table (tblPurpose), but currently simply has text (only 30 unique text...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.