Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 41
  • Last Modified:

Access 2016 Adding third subform and would like to be able to show on invoice

I have a form setup to allow for Product, Service and Other. Three Sub forms. I would like to be able to create a invoice that shows the three sub forms. I used the following in the past to display two. IIf([IsProductCode],"Product","Service" What do I need to change this to to show all three?
0
Bill MacDonald
Asked:
Bill MacDonald
1 Solution
 
Gustav BrockCIOCommented:
Only you know if, how, why, or when either of the subforms or a combination of these or all should be displayed.
0
 
Jim Dettman (Microsoft MVP/ EE MVE)President Online Computer Svcs, WNY IncCommented:
On this:

IIf([IsProductCode],"Product","Service"

 What your saying right now is if "IsProductCode" is true, then it's a product.   If it's false, it's a service.

 So the question is, what tells you that it's "other"?    If nothing, then you'll need to add something to indicate that.  What I would do is change "IsProductCode" from a True/False to a single character text field, with either P, S, or O in it.

Jim.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now