1

My current VBA code is exporting my query to csv.

For quantity field, query criteria is [QuantityOrderedOriginal]-[QuantityShipped]-[QuantityBackordered]

Is there aynway in my VBA code, when the [QuantityBackordered] is not 0, import the [QuantityBackordered] field value instead?

My reference : How to execute a query in ms-access in VBA code?

1

1 Answer 1

0

Look into using IF in the query, or using IIF in Access.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.