Between..And: How You Say It in VB????

K

Kevin11

Update to: IIf([ProductID] > 10 AND [ProductID] < 39, 0.50,
(IIf [ProductID]>39,1,0))

I think this should work.

Kevin11
-----Original Message-----
Here are the results I want in a syntax I am familiar
with (an update query, for example)
FieldName: QuantityDiscount
Update to: IIf([ProductID] Between 10 And 39, .50,IIf [ProductID] >39,1,0))

How do I say this in VB? I want these values to be set in
[QuantityDiscount] on Frm.Orders After Update on
[ProductID]
 

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