Results 1 to 2 of 2
  1. #1
    Esmatullaharifi is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2014
    Posts
    40

    Question Writing Formula in query on existing fields

    I have a table linked to SQL Server 2014. As SQL Server 2014 does not support calculated fields I created a query to use formulas. Now I want to write formulas on the existing fields ( TotalMarks ) of table Not to create new fields. I tried but I can't. Please Help Me.

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    A calculated field IS a "new field". Its a virtual field and does not exist except in the query. You WANT it to show as a new field.
    In a query, in a blank column (field), type: =5+1 ,enter
    a label will appear : Expr1: 5+1
    change the label to your 'field name'. Change the function to what you want with fields..like TotalMarks: [Qty]*[Amt]+1

    There is your functon.

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

Similar Threads

  1. Replies: 23
    Last Post: 11-06-2014, 02:27 PM
  2. Exporting Report to PDF specific location on quit - over-writing existing
    By augcorv@gmail.com in forum Import/Export Data
    Replies: 13
    Last Post: 03-21-2014, 02:08 PM
  3. Replies: 8
    Last Post: 02-21-2014, 09:26 AM
  4. Writing a Formula in Access
    By efmbman in forum Access
    Replies: 11
    Last Post: 07-09-2013, 10:47 AM
  5. Replies: 16
    Last Post: 12-08-2012, 07:44 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