Fomatting

  • Thread starter Thread starter Emma
  • Start date Start date
E

Emma

I have the following in a text box, it works ok but when a LoanId number is
already in the database or imported in this doesn't do anything instead it
just shows the LoanId. Is there anyway to have it always show up? I was
thinking of before update?

=Format([DateofLoanAgreementSigned],"""HELP- ""yyyy""- 0""") & [LoanId]

THanks Emma
 
I have the following in a text box, it works ok but when a LoanId number is
already in the database or imported in this doesn't do anything instead it
just shows the LoanId. Is there anyway to have it always show up? I was
thinking of before update?

=Format([DateofLoanAgreementSigned],"""HELP- ""yyyy""- 0""") & [LoanId]

THanks Emma

What do you want to see if there is no data in the DateOfLoanAgreementSigned
field? Perhaps you could do something like

="HELP- " & IIF(IsNull([DateOfLoanAgreementSigned], "0000",
Year([DateOfLoanAgreementSigned]) & "-0" & [LoanID]
 
Back
Top