A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Query of Office Spreadsheet (Web Components) in a Access Form



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2007, 08:31 PM posted to microsoft.public.access.forms
Anderflash
external usenet poster
 
Posts: 44
Default Query of Office Spreadsheet (Web Components) in a Access Form

I put the Office Spreadsheet in a form;
I accessed the 'Command and Options' button and went to the 'Datasource' tab;
I put the database and the query in the fields at the normal process in this
tab...;

I can manipulate this datasource fields of the spreadsheet using the propery
'connectionstring' on VBA

Two questions about it:

1)I cannot put the same database as I'm using, because it says that the
database is already opened by another user (in this case, me). I can do it
only putting another database. Can I put the active database on the
datasource tab of the spreadsheet to view the tables and queries of this
database?

2)If the query has a criterium like 'field like "A*"' (without single
quotes), the spreadsheet doesn't work. The query with criteria like 'ID = 2'
works well. How can I do to the spreadsheet works with complex queries? Or
what is the limitation of the query to be used in a Spreadsheet?
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.