Solved

search from a list of values and defined output

Posted on 2003-12-08
7
181 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

746 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

11 Experts available now in Live!

Get 1:1 Help Now