?
Solved

search from a list of values and defined output

Posted on 2003-12-08
7
Medium Priority
?
188 Views
Last Modified: 2010-04-06
Hi there,
I've created a database containing student file information (ID, missing items) and would like students to search by ID rather than calling.

I'd prefare if the table is be hidden and all what the page has is a text box (to enter ID) and a search botton.

Missing items are as follow (copy of passport, copy of Highschool cert, and a photograph)

desired output messages are as follow
1. Yes you do have a complete file, Thank You
2. You do have a file, but it's missing (one or more of the missing items described above)
3. Sorry, you don't have a file.  click here to download the form

thanks
0
Comment
Question by:omanca
[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
  • 3
  • 2
7 Comments
 
LVL 3

Expert Comment

by:red010knight
ID: 9904708
What interface coding are you using? PHP? Perl? other?..
What database are you using? MySQL? ORacle? other?..

Without those it'll be hard for anyone to really tell you the code, but the basic steps you are looking for is:
1>Have a type in page for the ID
2>The page is reloaded and if ID has been entered it
  A>select data from table where studentID ='s entered ID
  B> Display the messages

You may also consider adding the option of - Sorry that ID was not recognized, you entered ______ ID if that is correct then click here to download the form.

Or something like that.
Enjoy
Red010Knight
0
 
LVL 2

Author Comment

by:omanca
ID: 9909792
there is still no interface.  I know HTML only.
database is MS Access, and all data stored in one table.
(number for ID, and check boxes for missing items)

I have no experience in programming.
0
 
LVL 3

Accepted Solution

by:
red010knight earned 2000 total points
ID: 9909941
HTML alone cannot do what you ask, and MS Access is not the best platform for what you want to do. Not in a web enviornment at any rate. Or if it does do this, I'm ignorant of the fact as Microsoft is windows based and for site stability is the wrong platform to use to serve webpages. You may want to move your question to the group under MS Access...

There might be a way to jerryrig something you are looking to do, with what I know but as it stands I do not have the time for it as I barely have an hour a day to give to EE. And with your lack of programming experience, there would be more questions than I can answer... but I'll try to lay the ground work for anyone that attempts to follow in my footsteps on this question:
1>Convert your access database to a comma seperated file
2>Have a user verification page
3>Have a id input field
4>Have a program language read in the file and parse out the data into a two dimensional array:
  a>the first dimension is the ID
  b>the second is the list of missing items
5>Have the language print out only the array element that is missing

This has to be done with a server side script otherwise the data file could be accessed by anyone that is web literate enough to understand a page's source code which is a good portion of the internet community today, especially among those wanting to find info they do not know.

Hope this gets you towards a solution and my apologies for not helping further.
Red010Knight
0
 
LVL 3

Expert Comment

by:red010knight
ID: 9909945
PS this is where you will need to go if you elect to seek help along the MS Access route:

http://www.experts-exchange.com/Databases/MS_Access/

Good Luck,
Red010Knight
0
 
LVL 2

Author Comment

by:omanca
ID: 9976607
I found a java script that will do the job.

Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

718 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