Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Another DSum syntax question

What is wrong with this code?

me.txt10EnvInventory = Nz(DSum("Qty", "tblEnvelopeInventory", "[CompanyName] = '" & me.txtBankName & "' And [EnvelopeStyle] = '" & Me.txt10WindEp "'),0)

The apostrophies and double quote marks mess me up every time.

--Steve
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial