Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / July 2005

Tip: Looking for answers? Try searching our database.

import a lookup field that is number type

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gharden - 29 Jul 2005 02:41 GMT
I am trying to import an exact copy of a table from one Access db to another,
but one field won't transfer b/c it's a lookup field. As such, its data type
is Number, but of course, it looks up & displays text. So I get a type
mismatch error.

For example, the field is Product Id & looks up the product name & number
from the Product table, but it only displays the name in the lookup field. Of
course, to be a lookup field, its data type has to be a number.

When I try to either copy & paste or import, or append, I can't get past the
fact that the data is in text format, when I'm trying to add it to a number
field.

What do I need to do to get this data to transfer between these two tables?

thanks, gina
Nikos Yannacopoulos - 29 Jul 2005 06:42 GMT
Gina,

Have a look at the following link on the evils of lookup fields:

www.mvps.org/access/lookupfields.htm

See anything you recognize? I thought you would!

Solution: remove the lookup fields. You don't need them to begin with,
users are only meant to work with data in forms, not in the tables. So,
lookups belong in forms only, not in the tables.

HTH,
Nikos
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.