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 / Queries / November 2005

Tip: Looking for answers? Try searching our database.

Setting text field size in query source when using TransferDatabas

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cherman - 15 Nov 2005 17:10 GMT
I am using a select query off of a linked table (cannot change destination
table properties) and using TransferDatabase to convert query to dBase 5.0
file. I am using Left function on a double to return left 8 characters.
Problem is, conversion sets this field to 255 characters, which expands the
output file by like 9 times what it could be.

I want to set the field size in the select query to keep this down to 50
characters. Is there a way to do this? I also notice this happens when using
Make Table, under various scenarios. I would then have to go in and modify
the table manually or write code to change these sizes. Would be nice to take
care of setting the size of the text field within the query.

Using Access 2003.

Thanks,
Clint
[MVP] S.Clark - 16 Nov 2005 20:07 GMT
You can create and save an Import Spec to dictate the size of the fields.
Do a File / G. E. D. / Import.  When the wizard pops up, click the advanced
button.

I typically import the data into an existing table.  This affords me the
ability to have the table structure as I need it.  Or import the table, then
perform an Append Query to a table of which the structure is set.

Signature

Steve Clark, Access MVP
http://www.fmsinc.com/consulting
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html

>I am using a select query off of a linked table (cannot change destination
> table properties) and using TransferDatabase to convert query to dBase 5.0
[quoted text clipped - 15 lines]
> Thanks,
> Clint
 
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.