Default Value

  • Thread starter Thread starter Jeni
  • Start date Start date
J

Jeni

I have table called PlanMonth and field called Generation.
For month of Nov to April i want to put the default value to 150. For month
of May to October I want to put the default value to 115. I donot know how
can i put this logic. Can anyone help?

Thanks
Jeni
 
Jeni

Will these values ALWAYS be associated with these months? If so, consider
NOT putting the values in your table ... after all, knowing the month will
mean the value has already been determined, right?

Instead, use a query and an IIF() statement to dynamically "calculate" these
values in the query.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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

Back
Top