I need to make a selection from VB that has multiple parameters:
this selects using the date varibles but not the 500 dollar cost. That is ignored.
I have had trouble right along making multiple parameter selections. This one with the two dates was the first I was able to make work.
I have also tried sqlquerystring with the same results. Anyone know how I can do this.
This has got to be easy and I am just missing something
Code:
campaign.RecordSelectionFormula = "{MarketingCampaign.MarketingCampaign_Start_Date} >= Date (" & sStartdate & ")" & "AND {MarketingCampaign.MarketingCampaign_End_Date} <= Date (" & sEndDate & ")" & "AND {MarketingCampaign.MarketingCampaign_Cost} > 500"
this selects using the date varibles but not the 500 dollar cost. That is ignored.
I have had trouble right along making multiple parameter selections. This one with the two dates was the first I was able to make work.
I have also tried sqlquerystring with the same results. Anyone know how I can do this.
This has got to be easy and I am just missing something