Solved

How to design the form and database to get input of Math formular and print it in Exam papers

Posted on 1998-03-20
2
163 Views
Last Modified: 2010-04-06
I am taking charge of designing the "exam-paper bank" application which receives the imput from users via form.  The problem is that the application has to be capable of appropriately receiving all various formula or math equations via form-interface and storing them in database in order to print them out to the exam paper.  On other words, users will, for Mathematic exam, key in some math equation in a proper format and request the output in the exact format as they key in.
Please devote your time advising me what method or function to use, how to use it.
0
Comment
Question by:teeradech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1360661
I do not understand very well the problem:

if a user submits a formula, you get that exact formula on the server side, with any non-alphanumeric chars encoded like %xx, where xx is the ascii value for an encoded char, in hexadecimal.

Your problem is you don't know how to decode it?

If so, i've already written a decoding function which i could post here.
If not so, please, tell a bit more.


0
 
LVL 1

Accepted Solution

by:
dvaline earned 100 total points
ID: 1360662
Let me get this straight you have say a form where the user enters the equation for say the area of a rectange,
l * w = a
or
10 * 20 = 200
To Store that value into a database make sure, you first don't use the dbEdit box use a normal edit box, then on exit write the following to store, you can use the reverse to retrieve...

to store...
MyTable.FieldByName('MathFormula').AsString := edit1.text
(I would probable place this line on the OnLeave event for the edit box)

to retrieve
edit1.Text := MyTable.FieldByName('MathFormula').AsString;


0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question