Select Statement to VB code

S

Sharon

I want to do a mailing. The first mailing contact for an
account is the CFO or Level 1. If the account does not
have a CFO, I want the letter to go to the PRESIDENT or
Level 2 and so on.

How would you write the following select statement in VB
code for a form? (please be specific in your coding for
this novice)

(SELECT MIN([Level]) FROM tblCombMailCont as X WHERE X.
[account]=[tblCombMailCont].[account])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top