Results 1 to 3 of 3
  1. #1
    Seahawk114 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    2

    Help with creating a calculated field in a query

    I am following a practice lesson and I have created a query based on School credits. I am asked to create a calculated field named Tuition Payments that determines tuition if paid in three installments. In the Pmt function, replace the rate argument placeholder with 0.025/12, the nper argument with 3, the pv argument with the [Tuition Due] field name, fv argument with 0, and due argument with 0. can anyone please assist with this? I don't recall having done this before.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    You have a function with 5 arguments? Need to call the function from query and pass data to the arguments? Assuming Pmt function code is in a public module and the arguments are declared by the function in the order you posted:

    SELECT *, Pmt(0.025/12, 3, [Tuition Due], 0, 0) AS [Tuition Payments] FROM tablename;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Seahawk114 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    2
    Thank you.

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

Similar Threads

  1. Calculated field on results in the same query
    By becka11 in forum Queries
    Replies: 1
    Last Post: 05-07-2013, 05:11 PM
  2. Replies: 3
    Last Post: 02-13-2013, 10:15 AM
  3. Receiving Error when creating Calculated Field
    By hydrojoe11 in forum Access
    Replies: 4
    Last Post: 02-04-2013, 08:01 PM
  4. Parameter Query on a calculated field
    By l3111 in forum Queries
    Replies: 5
    Last Post: 10-12-2011, 02:18 PM
  5. Creating a Calculated Field Using IIF or NZ
    By rjwell in forum Queries
    Replies: 1
    Last Post: 09-09-2011, 07:32 AM

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