> So I put this into the SQL view of a query. I changed the fields and tables
> into the actual fields and tables and it keeps asking me for input. I would
[quoted text clipped - 36 lines]
> > >
> > > Any help would be appreciated.
> UPDATE tblArReport AS S
> SET S.Paid = True
> WHERE Exists
> (SELECT Total FROM tblArReport as S2
> WHERE S2.[EIRef] = S1.[EIRef]
> AND S2.[Total] = S1.[Total] * -1);
You refer to S1 in the subquery. You should either change that to S or
change the alias in the first line to S1. If this still fails, then I will
propose an alternate solution.

Signature
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
>I just realized that the code I had in the program took your * out after
> select and replaced it with total. I did this trying to figure out why it
[quoted text clipped - 52 lines]
>> > >
>> > > Any help would be appreciated.
Sleepless In the Natti - 20 Dec 2007 14:06 GMT
Well Mr. John Spencer you are the man!!! Everything works well now. Thank
You for your help. I was actually messing about in this and started to
understand the code and now understand when that was. Thank You again.
> > UPDATE tblArReport AS S
> > SET S.Paid = True
[quoted text clipped - 63 lines]
> >> > >
> >> > > Any help would be appreciated.