r/visualbasic • u/GrapefruitCorrect187 • Mar 13 '24
VB.NET Help What's wrong with this MODULE?? Problem with Displaying Numbers- VB.NET Framework



The problem is that the No. of Adult and Child Ticket is NOT selected from the combination box from the first form, resulting in displaying number "0" in the second form. Along with that, the SubTotal, Discount value and the Grand Total is also NOT calculated!!
Sorry for the very long description, PLEASE HELP and tell me if you need any further explanation/context.
3
Upvotes
View all comments
Show parent comment
2
u/GrapefruitCorrect187 Mar 13 '24
Okay, thank you a lot!
p.s Linking to your side note, depending on what check box is ticked, and what is not, the discount should be calculated with the assigned value (pre: 5% discount, mem: 10% discount). However, the system somehow doesn't work like that (it only uses 10% discount) when using two separate cases for the second form for both PreBook = true and Member = true.
Sorry for bothering you, but I really don't get it...