Hi,
I seem be going round in circles at the moment trying to find the most efficient way of getting a recordset and poviding a search facility (filtering) for remote users.
I've just written myself a new helper class for getting a recordset via a stored procedure and apply a filter to it for my GUI form, everything is dandy.
Except I now find that when I apply a filter to the recordset with a wild card to srart with it is ignored ..ie.
It returns as if the first wildcard wasn't present?
Am i doing something wrong, Or do I need to write a helper method that builds a filter string with...
you get the picture up to z!
Help with this is appreciated, I was so close to finally geting a lightening fast remote user application, and now DAO has thrown this curve ball at me!
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta
I seem be going round in circles at the moment trying to find the most efficient way of getting a recordset and poviding a search facility (filtering) for remote users.
I've just written myself a new helper class for getting a recordset via a stored procedure and apply a filter to it for my GUI form, everything is dandy.
Except I now find that when I apply a filter to the recordset with a wild card to srart with it is ignored ..ie.
Code:
rs.Filter = "CompanyName LIKE '*" & sFilter & "*'"
It returns as if the first wildcard wasn't present?
Am i doing something wrong, Or do I need to write a helper method that builds a filter string with...
Code:
rs.Filter = "CompanyName LIKE 'a*" & sFilter & "*' OR CompanyName LIKE 'b*" & sFilter & "*' OR CompanyName LIKE 'c*" & sFilter & "*'" ...
Help with this is appreciated, I was so close to finally geting a lightening fast remote user application, and now DAO has thrown this curve ball at me!
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta