RE: find exact match or match those only few cents off

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hoachen -

Yes, this can be done, but I would worry about multiple matches occurring...
I also don't like the special characters in the field names...

To do what you want, make the query an inner join, but don't join on the
Dep$ = Return$ at all. Then add a field in your query for ABS([Dep$] -
[Return$]), and set the criteria to <=0.10.

You can test this, and then uncheck the 'Show' box for this new field if you
don't want to see it.

--
Daryl S


"hoachen" wrote:

Table1
item# CustID Dep$
1234A 111 10.15
2554S 222 7.75
1232B 111 8.49

Table2
item# CustID Return$
1234A 111 10.15
1232B 111 8.47


Right now, I use Left join on all these fields (it have more fields but I
shortern it). But if the Cents (Table1 1232B have 8.49 and Table2 have 8.47)
did not match exactly then I would not be able to varify the item has been
return
Is there anywhere I can do like if match exact the same, then display or if
only one to ten cents different it will display also.
The above result will only display:

The result should be display below even though there were two cents
different:

1234A 111 10.15
1232B 111 8.47

I am not know much about IIF function. I believe it can do it, can anyone
show me how to accomplish this?
Thanks
.



Relevant Pages

  • RE: find exact match or match those only few cents off
    ... "Daryl S" wrote: ... Yes, this can be done, but I would worry about multiple matches occurring... ... The result should be display below even though there were two cents ...
    (microsoft.public.access.queries)
  • Re: Exdeploy - Orgnamecheck failure
    ... So if the directory name does not contain any of the special characters, ... can replace the Display name with a name that does no contain any special ... Migrating Mailboxes from Microsoft Exchange Server 5.5 to Microsoft Exchange ...
    (microsoft.public.exchange.setup)
  • Re: Apostrophe - instert to DB and retrieve for display
    ... >>through ASP and then retrieved and displayed through a ASP web page. ... >> special characters. ... >> but if this is right I can't remember how to then retrieve it and display ...
    (microsoft.public.inetserver.asp.db)
  • Re: getting out of LaTeX
    ... via options set all the special characters to be ... Are you referring to Word or Acrobat? ... Showing Hidden Text destroys the pagination display. ...
    (sci.lang)
  • Re: Two date pickers
    ... You shouldn't have to worry about that. ... Dates are stored as Doubles; ... is only when you display them or assign them from Strings that regional ...
    (microsoft.public.vb.general.discussion)