467,132 Members | 1,141 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,132 developers. It's quick & easy.

VBA Comparing Query Info on a Different Form

I am writing VBA code in a report code module. I need to make
calculations that display on the report based on information on a
query. What is the syntax for that? The logic is below.

if query.field = 1 then
do calculations
else if query.field = .1 then
do calculations
do calculations

This is in MS Access using VBA code. Thanks all.
Nov 12 '05 #1
  • viewed: 1271

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.