I am using VB 6. I want my end user to select a date from a calendar and a name from a combobox and create a Crystal report. The VB code below does not work. I know it's because I do not know the proper syntax for this formula. Basically, I want the formula to select a name and a date from the "reservations" table.
Any help would be welcomed. Thanks!
B = Combo2.Text
Report.RecordSelectionFormula = "{Reservations.instructor}_ =" & Chr(34) & B & Chr(34) and {Reservations.rsdate} ="+ "'" + Calendar1.SelectedDays(0).Date + "'"
Any help would be welcomed. Thanks!
B = Combo2.Text
Report.RecordSelectionFormula = "{Reservations.instructor}_ =" & Chr(34) & B & Chr(34) and {Reservations.rsdate} ="+ "'" + Calendar1.SelectedDays(0).Date + "'"