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
164 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month9 days, left to enroll

617 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