Results 1 to 2 of 2
  1. #1
    Qasim is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    3

    Calcualed value

    I am using ms-access to maintain test data for an application. Each record in msaccess is used as a test record. There are many date fields which need to have value depending on the current date (e.g. installment end date = Today() + 1 year + 1 day). This rule is different for each record. The testing is carried out by test automation scripts. Tester does not want to have this rules in the automation scripts to make the scipts unique for all test data. Is there any way I can store a calucalted date depending on the current date in the MS-Access table (like Now() + 1year + 2 Months - 15 days)



    Thanks,

    Q

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    yes you can store a calculated date depending on the current date.

    easiest method is in the data entry form; in the AfterUpdate event of the the current date field - put your calculation - and it will auto update your future date field...

    you mention that every record will have a different algorithm; and that would make it alot more challenging depending on who is the person deciding & entering that algorithm....

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums