copying tables etc

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Copying tables etc

Copying tables etc

resolvedResolved · Low Priority · Version 2007

Copying tables etc

Can you copy objects (eg complex tables) between databases to avoid starting froms scratch every time?

RE: Copying tables etc

Hi Evelyn,

yes you can, just copy and paste with the table closed, into the table list area in the copy to database.

Regards, Mark (delegate).

RE: Copying tables etc

Thanks to both of you. This answers my question!

Best regards

Ev

RE: Copying tables etc

Dear Evelyn

Thank you for attending Access Intermediate course!! I hope you enjoyed the course and benefited from it.

You can easily export various object from one database to another by simply choosing the object and choosing External Data Tab on the Ribbon. In the Export group click on the drop down arrow on the More button and then choose Access Database.

In the next window choose the database the object needs to be exported to. Then press OK.

If you are exporting a table then Access will ask you if you want to export the Definition and data or Definition only. This simply means if you want all the design structure as well as all teh records to be exported tyne you'll choose definition and data but if you just wanted to export only the Design view without any records then you'll choose Definition Only.

What Martin has suggested is helpful if you wanted the same table in the same database!! Thank you Martin for your contribution!!

I hope this has answered your query.

If this has answered your query then I would request you to please mark the question as resolved!! If not and you have a specific question related to this then please post it as a new question and we should be able to provide you the solution for it!!

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000 and 2003
MCAS Master Instructor 2007


 

Access tip:

Calculating The Difference Between Dates

If you wish to calculate the time between two date fields, this can be done in a number of ways:

1. As a calculated field in a query
2. As a calculated control in a form or report
3. As a calculation in a VBA procedure.

The basic syntax to get the number of days between two dates is:

=[One Date Field] - [Another Date Field]

You can also use one of the following functions:

=Month([One Date Field] - [Another Date Field])
which calculates the number of months between the two fields

=Year([One Date Field] - [Another Date Field])
which calculates the number of years between the two fields.

Another function is the DateDiff() function.

It uses an argument to determine how the time interval is measured. For example:

=DateDiff("q",[One Date Field] - [Another Date Field])
returns the number of quarters between the two fields.

Other intervals that can be used in this expression are as follows:
"yyyy" - Years
"m" - Months
"d" - Days
"w" - Weekdays
"ww" - Weeks
"h" - Hours
"n" - Minutes
"s" - Seconds

View all Access hints and tips


Server loaded in 0.09 secs.