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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now