T
trainbif
I am trying to use Access connected to a database. I have created a form
thru Access and on it I have the normal fields i.e. last name, first name,
account #, start date, termination date, etc.... and I also created 3 new
fields that I am trying to use for billing purposes. one field is Total
billing days, which is using the date dif and is working correctly. The
other two fields is "Billing_start" and "billing_end" which I am trying use
just for current month. I have entered the formula
1. =IIf ([dt_started]<â€9/30/2005â€, [dt_started],â€10/01/2005â€) which looks
for dates less that "9/30/2005" and makes it another date of "10/01/2005" for
current month billing purposes. It works fine.
2. =IIf ([dt_started]<â€9/30/2005â€, â€10/01/2005â€, [dt_started]) is the second
formula I am using to look for dates within the current month of billing and
make them the actual start dates (i.e. 12 Oct 2005).... It works fine.
I have tried to combine the two formulas using "And" "Or" statement and not
working together???? Any Ideas????
Thanks
thru Access and on it I have the normal fields i.e. last name, first name,
account #, start date, termination date, etc.... and I also created 3 new
fields that I am trying to use for billing purposes. one field is Total
billing days, which is using the date dif and is working correctly. The
other two fields is "Billing_start" and "billing_end" which I am trying use
just for current month. I have entered the formula
1. =IIf ([dt_started]<â€9/30/2005â€, [dt_started],â€10/01/2005â€) which looks
for dates less that "9/30/2005" and makes it another date of "10/01/2005" for
current month billing purposes. It works fine.
2. =IIf ([dt_started]<â€9/30/2005â€, â€10/01/2005â€, [dt_started]) is the second
formula I am using to look for dates within the current month of billing and
make them the actual start dates (i.e. 12 Oct 2005).... It works fine.
I have tried to combine the two formulas using "And" "Or" statement and not
working together???? Any Ideas????
Thanks