Link to Outlook Address Book

D

DEI

I have created a link to my Global Outlook Address Book in a database (File -
Get External Data - Link Table - etc.) and I am trying to work with the
table. It is slow, I accept that, but I when I write a query against it that
includes 'like' in the WHERE clause, I get only (1) record returned. Eg.
the following SQL statement returns (1) name:

SELECT [Global Address List].[Display name]
FROM [Global Address List]
WHERE ((([Global Address List].[Display name]) Like "Smith*"));

I have even tried to access it via ADO (with perecent instead of asterisk)
and I only get (1) record.

Has anyone encountered this? Is there a way to get ALL the like records?

Thanks,

DEI
 
R

Ralph

I had the same problem. Then I tried:

WHERE ((([Global Address List].[Display name]) Like "*Smith*"));

It worked but it took at least 5 minutes to run.
You may do better copying the table. Depending on how big or how often
employees turn over in your company you may be able to copy it weekly or even
monthly.
 
D

DEI

Thanks Ralph. I tried the sam ething and got the same results - very slow.

I applied another solution similar to what you describe, but it requires
periodic updates.

Ralph said:
I had the same problem. Then I tried:

WHERE ((([Global Address List].[Display name]) Like "*Smith*"));

It worked but it took at least 5 minutes to run.
You may do better copying the table. Depending on how big or how often
employees turn over in your company you may be able to copy it weekly or even
monthly.



DEI said:
I have created a link to my Global Outlook Address Book in a database (File -
Get External Data - Link Table - etc.) and I am trying to work with the
table. It is slow, I accept that, but I when I write a query against it that
includes 'like' in the WHERE clause, I get only (1) record returned. Eg.
the following SQL statement returns (1) name:

SELECT [Global Address List].[Display name]
FROM [Global Address List]
WHERE ((([Global Address List].[Display name]) Like "Smith*"));

I have even tried to access it via ADO (with perecent instead of asterisk)
and I only get (1) record.

Has anyone encountered this? Is there a way to get ALL the like records?

Thanks,

DEI
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top