Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Access to Excel problem

I have created data import links between queries in an access database and an
excel spreadsheet. Some queries work fine and the data is displayed and
updated. Other queries only display the column headers and no data.
Interestly enough, the spreadsheet seems to know how many rows of data the
query has. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Access to Excel problem

I wonder if the data isn't in the cells but you are not seeing all the items.

Excel 2003 limits
Column width 255 characters
Length of cell contents 32,767 characters. Only 1,024 display in a cell;

Try using len(A1) to find out if the cells are really empty of that you are
not seeing all the data.

"raviyah" wrote:

I have created data import links between queries in an access database and an
excel spreadsheet. Some queries work fine and the data is displayed and
updated. Other queries only display the column headers and no data.
Interestly enough, the spreadsheet seems to know how many rows of data the
query has. Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Access to Excel problem

Joel,
thank you for the idea but it is not the problem. I did a length check on
each cell and it was 0. The data is pretty simple at this point, a date, a
couple of integers and some short text. Any other ideas?



"Joel" wrote:

I wonder if the data isn't in the cells but you are not seeing all the items.

Excel 2003 limits
Column width 255 characters
Length of cell contents 32,767 characters. Only 1,024 display in a cell;

Try using len(A1) to find out if the cells are really empty of that you are
not seeing all the data.

"raviyah" wrote:

I have created data import links between queries in an access database and an
excel spreadsheet. Some queries work fine and the data is displayed and
updated. Other queries only display the column headers and no data.
Interestly enough, the spreadsheet seems to know how many rows of data the
query has. Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Access to Excel problem

I would try opening up Access and try the queries in Access. there may be
some error messages that will help isolate the problem.
]
One possible scenario is the way you have you filters setup in the query.
Suppose you had a database with first names and e-mail addresses. Then
suppose you don't have e-mail address entered for some people. Your query was
setup to return only e-mail addreess and not first names. Now you do a query
for all Johns' email addresses. You could have 5 John's and not have any
e-mail addresses for John. The query will return 5 empty lines.

"raviyah" wrote:

Joel,
thank you for the idea but it is not the problem. I did a length check on
each cell and it was 0. The data is pretty simple at this point, a date, a
couple of integers and some short text. Any other ideas?



"Joel" wrote:

I wonder if the data isn't in the cells but you are not seeing all the items.

Excel 2003 limits
Column width 255 characters
Length of cell contents 32,767 characters. Only 1,024 display in a cell;

Try using len(A1) to find out if the cells are really empty of that you are
not seeing all the data.

"raviyah" wrote:

I have created data import links between queries in an access database and an
excel spreadsheet. Some queries work fine and the data is displayed and
updated. Other queries only display the column headers and no data.
Interestly enough, the spreadsheet seems to know how many rows of data the
query has. Any ideas?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Access to Excel problem

The queries run fine in Access. They are simple queries as well.

I copied the query and made it a 'make table' query. I can import the table
into excel just fine.

Is there something I need to think about with regard to the link between
Access and Excel? If not, I may need to pursue a different avenue.

"Joel" wrote:

I would try opening up Access and try the queries in Access. there may be
some error messages that will help isolate the problem.
]
One possible scenario is the way you have you filters setup in the query.
Suppose you had a database with first names and e-mail addresses. Then
suppose you don't have e-mail address entered for some people. Your query was
setup to return only e-mail addreess and not first names. Now you do a query
for all Johns' email addresses. You could have 5 John's and not have any
e-mail addresses for John. The query will return 5 empty lines.

"raviyah" wrote:

Joel,
thank you for the idea but it is not the problem. I did a length check on
each cell and it was 0. The data is pretty simple at this point, a date, a
couple of integers and some short text. Any other ideas?



"Joel" wrote:

I wonder if the data isn't in the cells but you are not seeing all the items.

Excel 2003 limits
Column width 255 characters
Length of cell contents 32,767 characters. Only 1,024 display in a cell;

Try using len(A1) to find out if the cells are really empty of that you are
not seeing all the data.

"raviyah" wrote:

I have created data import links between queries in an access database and an
excel spreadsheet. Some queries work fine and the data is displayed and
updated. Other queries only display the column headers and no data.
Interestly enough, the spreadsheet seems to know how many rows of data the
query has. Any ideas?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel to Access Problem ostate2007 Excel Discussion (Misc queries) 1 June 28th 06 09:21 PM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
Access to Excel problem? diofan56 Excel Discussion (Misc queries) 0 February 20th 06 05:20 PM
excel to access problem keithl816 Excel Discussion (Misc queries) 9 November 30th 05 11:52 PM
Excel 97 problem with access rwet Excel Discussion (Misc queries) 1 May 22nd 05 05:53 PM


All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"