Solved

Import access table

Posted on 2016-07-25
2
69 Views
Last Modified: 2016-07-29
Hi,

I am trying to import a access table which as relationships and lookup.How do I imports it in sql database.
I guess i have to first remove the lookup table and relationships.How do I do this?
0
Comment
Question by:RIAS
2 Comments
 
LVL 6

Assisted Solution

by:Manju
Manju earned 250 total points
ID: 41727715
I would use https://www.microsoft.com/en-sg/download/details.aspx?id=43690 to migrate. This is a MS tool for access to SQL migration.
0
 
LVL 35

Accepted Solution

by:
PatHartman earned 250 total points
ID: 41727873
Yes.  Remove the table level lookups first since SQL Server does not support them.  To remove a lookup
1. Backup the BE database
2. Open the table in design view.
3. Select the column to change.
4. On the Lookup tab, change the Display Control value to "Text Box"

Now for the FE.
Every query/form/report where you depended on seeing the lookup value rather than the stored value will need to be changed.
1. For the queries, add a join to the lookup table and select the text field from there.  That will give you both the actual stored value plus the display value.
2. For forms - these are probably OK if they are using combos to display the column.
3. For reports- change the ControlSource to reference the lookup value from the query rather than the stored value.  OR - less desirable - change the text boxes to be combos.  Combos don't look good on reports so the first option is usually better.

Make sure that all your relationships are correctly defined.  Check the enforce RI option and cascade change as appropriate.  Cascade update is rarely used since most primary keys should be autonumbers which cannot be changed.
Once everything is working again, then you can upsize.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
SQL STANDARD CORE 6 30
SQL Syntax Grouping Sum question 7 24
MS SQL SERVER and ADODB.commands 8 18
MS SQL + group by time 4 14
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

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