Fomatting

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
 
J

John W. Vinson

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top