Results 1 to 2 of 2
  1. #1
    KEVWB is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    11

    Setting Temporary Variable

    Hi,



    I have a calibration database with [next due] and [calibrated on] fields in one table, what I would like to do is store the calibration date, multiply it by a [frequency], say 28 days held in a separate table and then create a new record in the original table with the calculation inserted into the [next due] field, can anyone tell me if this is feasible and if so point me in the right direction.

    Thanks in advance

    Kev

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Usually, storing calculated values in a table is a no-no. Something like what you are doing is usually displayed in a report or a form where the calculations are done on the fly. For example, you wouldn't store the "next due" in a table, but rather, create a daily/weekly/monthly/etc report that shows which items are soon due for calibration.

    More info here.

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

Similar Threads

  1. Replies: 3
    Last Post: 10-09-2010, 11:53 PM
  2. Replies: 1
    Last Post: 10-06-2010, 08:36 AM
  3. Replies: 4
    Last Post: 08-05-2010, 01:26 PM
  4. Refering to variable form names inside a variable
    By redpetfran in forum Programming
    Replies: 2
    Last Post: 05-21-2010, 01:39 PM
  5. Replies: 3
    Last Post: 05-30-2009, 12:30 PM

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