VB 50 Enterprise and Select Case 
Author Message
 VB 50 Enterprise and Select Case


You may want to try:
Select Case ListItem

        Case "Call Schedule"
                CrystalReport1.ReportFileName =
"Patient_Call_Schedule.rpt"

I don't think you need the = sign in there as it may try and evaluate
it as an expression and not a string value... Henry

Quote:
>            Case ListItem = "Week Prior Reminder"
>                CrystalReport1.ReportFileName = "Patient_Remind_1WK_Before.rpt"
>            Case Else

>Hi,

>        ListItem = "Call Schedule"
>        Select Case ListItem
>            Case ListItem = "Call Schedule"
>                CrystalReport1.ReportFileName = "Patient_Call_Schedule.rpt"
>            Case ListItem = "Week Prior Reminder"
>                CrystalReport1.ReportFileName = "Patient_Remind_1WK_Before.rpt"
>            Case Else

>        End Select

>Above is a piece of code that I am running using VB50 E'se edition with service
>pack 3.  Somehow, VB is skipping the statement after  Case ListItem = "Call
>Schedule"
>What am I missing or doing wrong? Any known issues on VB50 and the Select Case
>statement?

>Cheers



Sun, 29 Apr 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB 50 Enterprise and Select Case

2. VB 50 Enterprise and Select Case

3. Drop and Drag Problem and Deployment Problem in VB 50 Enterprise

4. VBScript Select Case vs VB Select Case

5. 50 cent bring em in | 50 cent brings out jim jones | 50 cent broke

6. VBasic 5.0 Enterprise beta2 CD forsale $ 50 obo

7. VBasic 5.0 Enterprise beta2 CD forsale $ 50 obo

8. "select...case", multiples cases not possible ?

9. Select Case and Case 0 To 9

10. VB Doesn't compile 50% of the time

11. Need help on ListBox (VB 50)

 

 
Powered by phpBB® Forum Software