I need a formula that will multiply a different variable to a field based on the owner of the product and a specific date range. I am using some fields from access that are a date/time field. I'm trying to convert them to a date field.
This is what I have so far. There are no errors in the formula, but it isn't doing what I want it to do.
If {tbl_1.Owner}="Owner 1" and CDate({tbl_2.Date})<CDate(5/1/06)and {tbl_2.Date}>CDate(2/1/07) then
formula=(0*{tbl_3.Qty})
end if
This is what I have so far. There are no errors in the formula, but it isn't doing what I want it to do.
If {tbl_1.Owner}="Owner 1" and CDate({tbl_2.Date})<CDate(5/1/06)and {tbl_2.Date}>CDate(2/1/07) then
formula=(0*{tbl_3.Qty})
end if