Microsoft has no scruples

  • Thread starter Thread starter George Hester
  • Start date Start date
G

George Hester

http://support.microsoft.com/kb/237377

The script in this example does not work. It will work with just one country
but that is it. The countries seperated by a ; does nothing. It will find
the first country in the semi-colon delimited list but the rest of the
script is worthless.

We can do a filter in the Access interface and look at the SQL to see how it
is really done.
 
Well just a little fix here. In the statement in the script setServerFilter
in this part:

strFilter = Right(strFilter, Len(strFilter) - InStr(strFilter, _
";") - 1)

change it to:

strFilter = Right(strFilter, Len(strFilter) - InStr(strFilter, _
";") )

That will fix it.
 
George Hester said:
Well just a little fix here. In the statement in the script
setServerFilter
in this part:

strFilter = Right(strFilter, Len(strFilter) - InStr(strFilter, _
";") - 1)

change it to:

strFilter = Right(strFilter, Len(strFilter) - InStr(strFilter, _
";") )

That will fix it.


It's kind of a jump from a bug in the code to Microsoft having no scruples,
isn't it? Sure, they should have tested it before posting it -- I'd say
it's fair to call them sloppy upon occasion.
 
The error in the script example has been reported to MS. I expect that the
article will be corrected within the next few weeks or so.
 

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

Back
Top