how calculate items in different discount
plz help
anonimous
0
Newbie Poster
Recommended Answers
Jump to PostYou need to show your code. We can't help you if we don't know where you are holding the food type or the quantity or where you want the results. Also you need to show that you've tried.
Show your form and explain a bit better what you are …
Jump to PostOf course they won't work.
What you are doing wrong is nesting all the If's. So you are practically running this:If txtProductName.Text = "Happy" Then If txtProductName.Text = "Moby" Then If txtProductName.Text = "Honey" Then
This translates to if txtproductname is Happy and txtproductname is Moby …
All 6 Replies
anonimous
0
Newbie Poster
adam_k
239
Master Poster
anonimous
0
Newbie Poster
adam_k
239
Master Poster
Reverend Jim
4,695
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
adam_k
239
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.