Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

    What exactly is the problem? Your last post is too vague.

  2. #17
    Bellablu is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Nov 2011
    Posts
    9
    Ssnafu

    Could you please give me a step by step guide on how to create this. Its just not working for me I have tried to replicate it & I must be missing something.

    ie: create form
    add text box & title GST
    Go to properties & in source code put "blag blah"

  3. #18
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by Bellablu View Post
    Ssnafu

    Could you please give me a step by step guide on how to create this. Its just not working for me I have tried to replicate it & I must be missing something.

    ie: create form
    add text box & title GST
    Go to properties & in source code put "blag blah"
    My example was to show how to do the calculation. The amount (percentage) of the GST is hard coded into the calculation. What happens when the GST changes? So you have to decide if you want to store the GST amount (percentage) in the record or look or up from a table.

    First, create the query. I don't know the name of your table or fields so.......
    Add the table to a new query. add the fields to the design grid.
    "Journal Description", "Cost", "GST Yes" (note: this is a bad name for a field; shouldn't use spaces)

    In a new column, enter:
    Code:
    GST: IIf([GST Yes],[cost]*0.1,0)
    The blue is the GST percentage

    In the next column, enter:
    Code:
    Total: [cost]+[gst]
    Execute the query. Are there values in the grid?

    If there are values in the query, create a new form, set the record source to the query. Set the default view property to "Continuous Forms".
    Add the fields to the detail section of the form. Change from Design view to Form View - you should see the "GST" and "Total" amounts.

    Again, I would think about what to do with the GST - look it up from a table or store the GST percentage in each record.

    Does this help??

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. Replies: 20
    Last Post: 08-08-2011, 01:34 PM
  3. Replies: 3
    Last Post: 05-15-2011, 10:52 PM
  4. Replies: 1
    Last Post: 11-03-2010, 10:41 AM
  5. Replies: 4
    Last Post: 08-12-2010, 08:38 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