hi,
text should be in quotes, and you have to be aware of null, so try:
intVAT = nz(DLookup("[Amount]", "tblFuel", "FuelCost = " & intFuelAmt & "
And Bracket = '" & txtBracket"'"),0)

Signature
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
> Hi all
>
[quoted text clipped - 13 lines]
> Thanks in advance for any help.
> Sue
hughess7 - 18 Jan 2006 14:48 GMT
Great thanks Alex that sorted it (although you had a missing & before the "'"
after txtbracket.
Cheers
Sue
> hi,
> text should be in quotes, and you have to be aware of null, so try:
[quoted text clipped - 19 lines]
> > Thanks in advance for any help.
> > Sue