J
Jonathan Blitz
I am use Access with SQL Server.
From what I understand when I enter a value in Server Filter it is added to
the where clause and sent to SQL Server as part of the command.
However, I have found that if I format a field (for example, a phone number)
then the Server Filter must use the formatted value rather then the base
value.
For example if the select is:
Select stuff(stuff(ce.ServiceNumber,7,0,'-'),4,0,'-') as ServiceNumber
from table
If I wish to get the row where the servicenumber field is '1234567890' then
I have to enter, in the Server Filter:
ServerNumber = '123-456-7890'
However, if I use the same command in SQL Query Analyzer then I enter:
Where ServiceNumber = '1234567890'
So....
What is happening?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
From what I understand when I enter a value in Server Filter it is added to
the where clause and sent to SQL Server as part of the command.
However, I have found that if I format a field (for example, a phone number)
then the Server Filter must use the formatted value rather then the base
value.
For example if the select is:
Select stuff(stuff(ce.ServiceNumber,7,0,'-'),4,0,'-') as ServiceNumber
from table
If I wish to get the row where the servicenumber field is '1234567890' then
I have to enter, in the Server Filter:
ServerNumber = '123-456-7890'
However, if I use the same command in SQL Query Analyzer then I enter:
Where ServiceNumber = '1234567890'
So....
What is happening?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."