OK, its time for another noobish question, and its about Casewhere structures. Now back in VB6 I managed to get a casewhere structure working successfully, but by now I don't know how.
My Problem: I have a Combo Box on my form with a Collection of around 380 objects. I need to store specific variables under each selection in the Collection and I feel that casewhere is better than:
VB Code:
If cboObject.WhateverItemSelected = True Then Do This Else If cboObject.WhateverItemSelected = True Do This Else If cboObject.WhateverItemSelected = True Do This Else If cboObject.WhateverItemSelected = True Do This 'And this goes on for all objects End If
So basically, casewhere would be better right? I could make a DB but I only have FileMaker and I haven't the slightest clue on how to implement a DB made in FM into a program. I'm not even at that level yet in VB.NET book! So anyway, How do I make a casewhereThanks...




Thanks...
Reply With Quote