You could do something like this.
ExtrasCost = 0
If chkChildSeat.Checked = True Then ExtrasCost = ExtrasCost + 10
If chkSatVan.Checked = True Then ExtrasCost = ExtrasCost + 5
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: Rburn99
Search: Search took 0.01 seconds.
Results 1 to 2 of 2
Click Here to Expand Forum to Full Width