Link to home
Start Free TrialLog in
Avatar of dspavlik
dspavlik

asked on

Make table query question

Is there any way to have make table query create a different than the one it is pulling data from?  Or create a second field and move the data to it.?
Avatar of archery
archery

Yes definitely. You can run a make table query pulling data from one, two or more tables (and only putting into the resultant table the fields that you require from each table.
You can also create an extra field into the resultant table (within the one query) field by supplying your OWN data (expression), but this would fill every field in the resultant trable with the same value
(e.g. in the "field" row of your query grid - Salutation:"Hello". This would create a field called "Salutation" in your output table and fill it with the word "Hello")

HTH
Here's an SQL view of it (if I understood the questions):

SELECT clients.key, clients.Contractor, clients.sub_contractor INTO Selected_clients_tbl
FROM clients

Which creates the "Selected_clients_tbl" table...
Avatar of dspavlik

ASKER

Sorry I think I misled everyone I have a make a few make table queries that work fine.  Just that later on in the process I use all the tables in a query and there are two tables that have the a field call "names".  THis causes and error in Access telling me that I have 1 or more fields with the same name.  Any Idea on how to get around this?  Thanks...
ASKER CERTIFIED SOLUTION
Avatar of archery
archery

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
dspavlik, you abandoned the questions:

https://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=20107774
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=20094809
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=20094260
https://www.experts-exchange.com/jsp/qShow.jsp?ta=javascript&qid=20134879
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20149309
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20147999
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20127161
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20123591
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20112558
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20101686
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20094157
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20038446
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20029752
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20008417
https://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=20034882
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20078536
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20078533
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20063493
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=20054270
https://www.experts-exchange.com/jsp/qShow.jsp?ta=networkgen&qid=11337557
https://www.experts-exchange.com/jsp/qShow.jsp?ta=netware&qid=20075338
https://www.experts-exchange.com/jsp/qShow.jsp?ta=netware&qid=20051986
https://www.experts-exchange.com/jsp/qShow.jsp?ta=netware&qid=11519078
https://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=11655379

please clear them up.

cjswimmer
To cjswimmer .... don't you love it when people do this ?
unfortunately it's common