Affichage des articles dont le libellé est If Statements in MS Access Tables. Afficher tous les articles
Affichage des articles dont le libellé est If Statements in MS Access Tables. Afficher tous les articles

If Statements in MS Access Tables

vendredi 27 mars 2015

Hi, I am creating a Database and I am baffled how to make the following If Statement Work in a table. =IIf(IsNull([Sold Date]),Date()-[Listing Date],[Sold Date]-[Listing Date])



I want to count the number of days between the list date and sale date, but if the sale date is blank, I want to calculate it from todays date. The problem is that MS Access gives me an error that this formula cannot be used in a calculated table. Any ideas.

If Statements in MS Access Tables

Labels