My bad... I didn't see an extra bracket in front of FORMS:
Code:
SomeDate:IIf(Len(Trim([[Forms]![frmBids].[BidDateSelector] & ""))=0,"7/19/2012",[BidDateSelection])
This doesn't error out:
Code:
SomeDate:IIf(Len(Trim([Forms]![frmBids].[BidDateSelector] & ""))=0,"7/19/2012",[BidDateSelection])
From your first post:
What I am trying to do, is have the "BidDateSelection" set to 7/19/2012 when the field is blank but my code does not work. I
I would think the formula would be:
Code:
SomeDate:IIf(Len(Trim([BidDateSelection] & ""))=0,"7/19/2012",[BidDateSelection])