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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Problem #2 Unreliable querys when linking to SQL Server 2005



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2008, 06:55 AM posted to microsoft.public.access.tablesdbdesign
Cheval
external usenet poster
 
Posts: 22
Default Problem #2 Unreliable querys when linking to SQL Server 2005

Office 2003 SP3

This one is much harder. It seems when you like Access tables to SQL Server
tables, and one or more of the joins are via GUIDs or in Access Point of View
ReplicationIDs and you have WHERE clauses on either type of tables, you get
no results back.

This doesn't happen all the time, and usually I have to create a view in Sql
Server and do the WHERE on that and it's ok again.

I thought this was going to be fixed in Windows XP SP3 and\or Office 2003
SP3 but there are still problems.
  #2  
Old February 11th, 2008, 06:39 PM posted to microsoft.public.access.tablesdbdesign
Pat Hartman
external usenet poster
 
Posts: 392
Default Problem #2 Unreliable querys when linking to SQL Server 2005

In a 1-m join, there are sometimes issues when the criteria applies to
fields in the many-side table. You may have to nest the queries. Create
qry1 of just the many-side table and apply the criteria. Then join the
1-side table to qry1 without criteria.
"Cheval" wrote in message
...
Office 2003 SP3

This one is much harder. It seems when you like Access tables to SQL
Server
tables, and one or more of the joins are via GUIDs or in Access Point of
View
ReplicationIDs and you have WHERE clauses on either type of tables, you
get
no results back.

This doesn't happen all the time, and usually I have to create a view in
Sql
Server and do the WHERE on that and it's ok again.

I thought this was going to be fixed in Windows XP SP3 and\or Office 2003
SP3 but there are still problems.



  #3  
Old February 11th, 2008, 10:56 PM posted to microsoft.public.access.tablesdbdesign
Cheval
external usenet poster
 
Posts: 22
Default Problem #2 Unreliable querys when linking to SQL Server 2005

Hi Pat,

Slower and more painful, but ok thanks for that. I'm curious why it only
happens when performing joins over GUIDs and ReplicationID fields?

"Pat Hartman" wrote:

In a 1-m join, there are sometimes issues when the criteria applies to
fields in the many-side table. You may have to nest the queries. Create
qry1 of just the many-side table and apply the criteria. Then join the
1-side table to qry1 without criteria.
"Cheval" wrote in message
...
Office 2003 SP3

This one is much harder. It seems when you like Access tables to SQL
Server
tables, and one or more of the joins are via GUIDs or in Access Point of
View
ReplicationIDs and you have WHERE clauses on either type of tables, you
get
no results back.

This doesn't happen all the time, and usually I have to create a view in
Sql
Server and do the WHERE on that and it's ok again.

I thought this was going to be fixed in Windows XP SP3 and\or Office 2003
SP3 but there are still problems.




  #4  
Old February 14th, 2008, 02:43 PM posted to microsoft.public.access.tablesdbdesign
Pat Hartman
external usenet poster
 
Posts: 392
Default Problem #2 Unreliable querys when linking to SQL Server 2005

I am not sure that it is specifically a GUID issue. It is more likely the
internal order of operations that causes the problem.
"Cheval" wrote in message
...
Hi Pat,

Slower and more painful, but ok thanks for that. I'm curious why it only
happens when performing joins over GUIDs and ReplicationID fields?

"Pat Hartman" wrote:

In a 1-m join, there are sometimes issues when the criteria applies to
fields in the many-side table. You may have to nest the queries. Create
qry1 of just the many-side table and apply the criteria. Then join the
1-side table to qry1 without criteria.
"Cheval" wrote in message
...
Office 2003 SP3

This one is much harder. It seems when you like Access tables to SQL
Server
tables, and one or more of the joins are via GUIDs or in Access Point
of
View
ReplicationIDs and you have WHERE clauses on either type of tables, you
get
no results back.

This doesn't happen all the time, and usually I have to create a view
in
Sql
Server and do the WHERE on that and it's ok again.

I thought this was going to be fixed in Windows XP SP3 and\or Office
2003
SP3 but there are still problems.






  #5  
Old February 20th, 2008, 10:43 PM posted to microsoft.public.access.tablesdbdesign
Cheval
external usenet poster
 
Posts: 22
Default Problem #2 Unreliable querys when linking to SQL Server 2005

Hi Pat,

ok for you, but for our setup it only reproduces itself when joining between
Sql Server GUID and Access ReplicationID fields.

"Pat Hartman" wrote:

I am not sure that it is specifically a GUID issue. It is more likely the
internal order of operations that causes the problem.
"Cheval" wrote in message
...
Hi Pat,

Slower and more painful, but ok thanks for that. I'm curious why it only
happens when performing joins over GUIDs and ReplicationID fields?

"Pat Hartman" wrote:

In a 1-m join, there are sometimes issues when the criteria applies to
fields in the many-side table. You may have to nest the queries. Create
qry1 of just the many-side table and apply the criteria. Then join the
1-side table to qry1 without criteria.
"Cheval" wrote in message
...
Office 2003 SP3

This one is much harder. It seems when you like Access tables to SQL
Server
tables, and one or more of the joins are via GUIDs or in Access Point
of
View
ReplicationIDs and you have WHERE clauses on either type of tables, you
get
no results back.

This doesn't happen all the time, and usually I have to create a view
in
Sql
Server and do the WHERE on that and it's ok again.

I thought this was going to be fixed in Windows XP SP3 and\or Office
2003
SP3 but there are still problems.






 




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 11:42 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.