Solved

search from a list of values and defined output

Posted on 2003-12-08
7
187 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 500 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

615 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