Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 868369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:07:44+00:00 2026-05-15T10:07:44+00:00

INFORMIX-SQL 7.3 Perform Screen: Suppose I have a customer who wants to pay a

  • 0

INFORMIX-SQL 7.3 Perform Screen:

Suppose I have a customer who wants to pay a $100 (7% tax included), what logic can I use
so that when the cashier clerk enters $100 in the tax included sale amount, it will
calculate the sale price and tax so that it adds up to $100.

I have the following 3 field tags in my Perform screen:

sprice = transaction.sale_price;
stax   = transaction.sale_tax;
stotal = transaction.sale_total;

after editadd of transaction.sale_price
   ?...what goes here...?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:07:45+00:00Added an answer on May 15, 2026 at 10:07 am

    If your problem is the formula then sprice = stotal * 100 / (100 + stax).

    For example

    $12345 * 100 / (100 + 7) = $11537.38

    and adding 7% to $11537.38 gives you $12345.

    Note of course that it may be impossible to find an exact amount of pennies that after adding a tax will give you a prescribed total.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Informix-SE 4.10.DD6, Informix-SQL 4.10.DC1 Perform screen: 1) I have column defined as DATETIME HOUR
INFORMIX-SQL or any other SQL-based DB: Suppose I have an app where depending on
INFORMIX-SQL 7.32 (SE) Linux Pawnshop App. I have some users who own several pawnshops
I have an Informix-SQL based Pawnshop app which calculates an estimate of how much
Does anyone have experience developing with ESQL/C for INFORMIX-SQL, as in calling C funcs
So we are migrating from Informix to Sql Server. And I have noticed that
INFORMIX-SQL 7.3 Perform Screens: According to documentation, in an after editadd editupdate of table
I have a pawnshop CRUD app written 20 years ago with INFORMIX-SQL/SE (DOS) which
I have an Informix SQL query which returns a set of rows. It was
In Informix I can run SQL statement that use other database: INSERT INTO other_db:mytable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.