Shouldn't have spaces in object names.
([BILLING FREQUENCY] --> Better would be BillingFrequency
[EFF DATE] --> better would be EffDate
Use Camel Case instead of all Caps
Post #8

Originally Posted by
Chris_Cline
<snip> Curious as to how else this could have been written to make this work:
Consider
Code:
SELECT CASE [Lease].[BILLING FREQUENCY]
Case "MONTHLY"
PeriodEndDate = DateAdd("m",1,[EFF DATE])-1
Case "QUARTERLY"
PeriodEndDate = DateAdd("q",1,[EFF DATE])-1
Case "SEMI-ANNUAL"
PeriodEndDate = DateAdd("m",6,[EFF DATE])-1
Case "ANNUAL"
PeriodEndDate = DateAdd("yyyy",1,[EFF DATE])-1
Case "ONE-TIME"
PeriodEndDate = "One Time Payment"
Case Else
PeriodEndDate = "Other"
End Select
Post #9

Originally Posted by
Chris_Cline
It is intended to go into an invoice for rentals on RR property
So somewhere you have a RenterID? Would like to see the rest of the code.
Normally do not use [Lease].[BILLING FREQUENCY] nomenclature. (at least I don't.)
But...you seem to have what you want...... good luck with your project.