Help! Filtering Problem

Hello,
I am trying to set a filter so that when a number is type in
an input field, a search brings only those records if they exist in
the database as being connected to the number that was type in.
Ideally, a member can type their child's id number and only that
child's records appear, none other. Can't seem to find how to do
this. Presently, all records appear without filters. I have
attached my code below.

Thanks again for the reply. I took your suggestion, or tried
and I am now getting another error. Can't seem to figure out what
should be a simple answer, I think. The error I am now getting is:
"Attribute validation error for tag cfoutput."
Don't know what to do from here.
Here is where I placed the code in the scheme of things:
<cfif StructKeyExists(form, "student")>
<cfquery name="allStudents" datasource="students">
SELECT grades.stuId, student.lName, student.fName,
grades.subNum, subjects.subName, grades.score, date
FROM student INNER JOIN grades INNER JOIN subjects
ON student.stuId = grades.stuId and subjects.subNum =
grades.subNum
WHERE #FORM.student#=stuId
ORDER BY stuId, lName, fName, subName, date;
</cfquery>
<cfelse>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Students Grades View</title>
<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
body {
background-color: #006600;
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
.style3 {font-size: 14; font-weight: bold; }
.style4 {
font-size: 14px;
font-weight: bold;
-->
</style></head>
<body>
<p><img src="/_fgcsLogo02 copy.png" width="124"
height="155" /><u><span class="style4">Grades
View</span></u></p>
<p> </p>
<p> </p>
<table width="913" height="65" border="0" cellpadding="2"
cellspacing="3">
<tr>
<th width="120" height="37" nowrap="nowrap"><div
align="left"><u><span class="style3">Student
ID</span></u></div></th>
<th width="242" nowrap="nowrap"><div
align="left"><u><span
class="style3">Name</span></u></div></th>
<th width="75" nowrap="nowrap"><div
align="center"><u><span class="style3">Subject
ID</span></u></div></th>
<th width="134" nowrap="nowrap"><div
align="center"><u>Date</u></div></th>
<th width="134" nowrap="nowrap"><div
align="center"><u><span
class="style3">Subject</span></u></div></th>
<th width="80" nowrap="nowrap"><div
align="right"><u><span
class="style3">Score</span></u></div></th>
<th width="76"
nowrap="nowrap"><p><u></u></p>
<p> </p></th>
</tr>
<cfoutput query="allStudents">
<tr>
<td height="18"><div align="center">#stuId#
</div></td>
<td><div align="left">#lName#,
#fName#</div></td>
<td><div
align="right">#subNum#</div></td>
<td><div align="center">#DateFormat(date,
"dd/mm/yyyy")#</div></td>
<td><div
align="left">#subName#</div></td>
<td><div
align="right">#score#</div></td>
</tr>
</cfoutput>
</table>
<cfform id="form1" name="form1" method="post"
action="">
<p>
<input type="text" name="students" id="students" />
</p>
<p>
<input type="submit" name="submit" id="submit"
value="Submit" />
</p>
</cfform>
</cfif>
<p> </p>
</body>
</html>

Similar Messages

  • I downloaded my sons ipod 4g to the new iOS and now when we try to sync it says we have no space, but there is nothing but a few apps on his ipod.  I've tried to reset but that didn't help the problem.  What can I do?

    I downloaded my sons ipod 5g with the latest iOS and now when we try to sync it says we have no space, but there is nothing but a few apps on his ipod and he has plenty of space.  The messege says that most of is space is taken up by video but there is no video or music on his ipod right now.  I've tried to reset his ipod but that did not help the problem. What can I do?

    Did you try to set it up again as new device?
    How to back up your data and set up as a new device

  • TS4040 I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs re

    I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs repairing. So I click on Repair, and once again I'm prompted for a password, which I enter, then the same error box opens, and so it goes. Can anyone help me with this problem? I'd greatly appreciate it.
    Thor

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Step 1 should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary, and if everything is working as expected after step 1.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature:   Problem Event Name:APPCRASH   Application Name:lightroom.exe   Application Version:3.4.1.10

    First thing to try is the latest version of Lightroom (currently 5.6). If it don't crash, then problem solved - upgrade.
    If Lr5 won't run on your machine, then Lr4 instead.
    If both Lr5 and Lr4 crash on your machine, then at least you know it's a not a Lightroom version problem but something wonked in your system.
    If you can't figure out how to resolve the crash on the system you have, then it's time for a new system (or try another converter/editor app).
    PS - A few things to try:
    * After re-installing new version, if that doesn't fix it, then get rid of all Lightroom-related data files (rename them so they can be restored), in case problem is in Lr data file.
    * Remove all non-essential hardware in case problem is hardware/driver.
    * Startup up machine with minimal software services.
    * If still no go, consider updating driver software, including mainboard drivers and/or bios firmware if need be.
    * Of course run all the system hardware and software diagnostics you can - problem could be failing disk or ram..
    * Check system event logs for any clues.
    If you don't know how to do some of these things - ask.
    Do not say "you've tried everything" unless you want a lecture - there is most definitely something you haven't tried. It's like when you can't find your car keys - you haven't looked everywhere -  there is somewhere you haven't looked!
    PS - Has Lightroom EVER worked on your machine? what's changed since then..
    Good luck,
    Rob

  • Google browser and others show all web page on netbook but firefox wont i have to scrool why can i change settings on firefos to help this problem

    all other web browsers when i use on my net book show full web page but with Firefox i have to scroll side ways cant see full width of page sometimes Firefox will show full page but this is not often are the settings in Firefox to help this problem i have the latest version of Firefox 4.0.1

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Someone who can say how to get Adpbe flash player version 11.2.202.197 to work together with Lion on mac mini. Support from Apple can obviously not help the problem and do not care if it works

    Someone who can say how to get Adpbe flash player version 11.2.202.197 to work together with Lion on mac mini. Support from Apple can obviously not help the problem and do not care if it works

    Adobe flash player version 11.2.202.197 is for Windows Vista / Windows 7 / Vista 64 / Windows 7 64
    Adobe Flash Player version 11.1.102.55 is the current version for Snow Leopard and Lion.
    Adobe - Install Adobe Flash Player

  • .problem is that icon of  iblacklist in i tune is "disc phone" like One, named iblacklist, but  on screen appear as "secret contact" not as iblacklist icon wich is  contact like icon .please  help . iblacklist problem still , I download it again ,this was

    .problem is that icon of  iblacklist in i tune is "disc phone" like One, named iblacklist, but  on screen appear as "secret contact" not as iblacklist icon wich is  contact like icon .please  help .
    iblacklist problem still , I download it again ,this was not helpfull 

    Have you read my reply to one of your duplicate threads : https://discussions.apple.com/message/22774845#22774845 ?

  • Can anyone help with problem updating iphone5s cant get anything only apple on screen sometimes screen flashes blue

    can anyone help with problem updating iphone5s cant get anything only apple on screen sometimes screen flashes blue

    Hey damien555,
    Thanks for the question, I understand how frustrating this may be. It sounds like the update process may have been interrupted, and to resolve the issue, we’ll need to restore your device in recovery mode with iTunes:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Thanks,
    Matt M.

  • Can you help with problems receiving faxes- powerbook g4?

    Can I get help with problems receiving faxes on the powerbook G4?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/
    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

  • Can you help with Problems that one of our users i having with regiistration of Premiere Pro?

    Can you help with Problems that one of our users i having with registration of Premiere Pro?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/
    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

  • I have installed photoshop elements 12. when I try use the editing features it said that i must login to Adobe to register the product. but each time i try to it said there is a problem. help the problem stated that the internet is not connected, but that

    i have installed photoshop elements 12.
    when I try use the editing features it said that i must login to Adobe to register the product.
    but each time i try to it said there is a problem.
    help
    the problem stated that the internet is not connected, but that is not the case.

    I had the same issue and I'm running Windows 7.  Tried working with technical support for several hours but they were no help.  They just had me doing the same things over and over, offering no real answers.  I finally got fed up and have decided to return my product for a full refund.

  • Help classpath problem j2sdk1.4.2_04

    help classpath problem j2sdk1.4.2_04
    how can i run the java program with specify the file location
    such as :
    -----this one is fine ok and return HelloWorld.class-----
    [root@localhost root]javac /serverData/studentAC/s001/HelloWorld.java
    -----but this one cause exception-----
    [root@localhost root]java /serverData/studentAC/s001/HelloWorld
    -----result-----
    Exception in thred "main" java.lang.NoClassDefFoundError: /serverData/studentAC/s001/HelloWorld
    [root@localhost root]
    I have tried a lot of classpath setting:
    I just want to compile and run the java program without specify the classpath only !! please help !!! and give suggest !! if you have this exp!!
    # ---1
    #PATH=/usr/java/j2sdk1.4.2_04/bin:$PATH:$HOME/bin:./
    #export PATH
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04/
    #export #CLASSPATH=/usr/java/j2sdk1.4.2_04/lib/tools.jar:/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:./
    # ---2
    #set java environment
    # Java Setup Section START
    export JAVA_HOME="/usr/java/j2sdk1.4.2_04"
    export JRE="$JAVA_HOME/jre"
    export CLASSPATH="$JAVA_HOME/lib:$JRE/lib:$JAVA_HOME/lib/tools.jar:."
    export PATH="$PATH:$JAVA_HOME/bin"
    # Java Setup Section END
    # ---3
    #PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
    #JAVA_HOME=/usr/java/j2sdk1.4.2_04/
    #export PATH
    # ---4
    # Java Setup Section START
    #JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export JAVA_HOME
    #CLASSPATH=$CLASSPATH:/usr/java/j2sdk1.4.2_04/lib:/usr/java/j2sdk1.4.2_04/jre/lib:./
    #export CLASSPATH
    #PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
    #export PATH
    # Java Setup Section END
    # ---5
    #export PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export CLASSPATH=/usr/java/j2sdk1.4.2_04/lib:$CLASSPATH:.
    # ---6
    #====================================================
    #export JAVA_HOME=/usr/java/j2sdk1.4.2_04
    #export PATH=$JAVA_HOME/bin:$PATH
    #export CLASSPATH=/usr/java/j2sdk1.4.2_04/lib:$CLASSPATH
    #====================================================

    I think this will work. java -classpath /serverData/studentAC/s001 HelloWorld

  • HT4061 How do I unlock my iPad? Unable to get serial number since I can't open iPad to get serial number to get help fixing problem.

    How do I unlock my iPad? Unable to get serial number since I can't open iPad to get serial number to get help fixing problem.

    What do you need the serial number for to unlock the iPad? If the iPad is locked because you forgot the Passcode, you have to restore the device.
    What are you trying to unlock?
    Your serial number is written on the back of the iPad and on the box that the iPad came in.

  • Video player is choppy,audio keeps skipping,unable to watch any movies online,help fix problem ?

    Never been able to watch TV shows,videos, without player freezing up,skipping,audio problems sounds being choppy. Please help fix problem? Can you auto repair or troubleshoot problem ?Thankyou.
                                                    Joaquin Rodriguez

    ooo wrote:first thing I'd do is try changing your video output driver in either video players.
    Did not help, same result.
    Last edited by uppectle (2015-03-06 18:58:59)

  • HP Deskjet 3050A ALL-IN-ONE J611 series ---- mac filtering problem

    i have a HP Deskjet 3050A ALL-IN-ONE J611 and i cannot get my printer to connect wireless. Everytime I try to connect it it always tells me an error. The error says:
    Issue: MAC address filtering may be enabled on your wireless router.
    Solution: If MAC address filtering is enabled on your router you should disable it.
    The thing is i checked my router to make sure the MAC filtering was not enabled and it wasn't. So why does my printer keep telling me this? if i can get passed this problem i think it would connect. The MAC address is already stored in the router.
    [edited image by Moderator]

    Hi skhjr,
    Welcome to the HP Forums.
    I see that you are having an issue getting the printer to connect over the wireless network.
    So I can better assist you, please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Please write me back when you have time and I will be happy to help.
    Cheers,   
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

Maybe you are looking for

  • Another crash problem with Adobe Premiere Elements 4

    another crash question!  burned a dvd of project, saw something i needed to change as i watched the dvd, tried to get back into project, but crashed time and time again.  have tried any and all suggestions in the forum for other crash problems, but c

  • Oracle adf file handling af: inputFile and convert to binary to send in

    Hi ... I want to try to do is select a file by a <af: inputFile and convert it to binary without having to upload it to the UCM .... I have some idea of how it would be something like this .... <af:form usesUpload="true"> <af:inputFile label="Upload:

  • Keynot '08: "Move" Action to scroll text

    Sorry for this stupid question, but I'm baffled as to how to use the Action "Move". I have a block of text I want to scroll from the bottom to the top of the page. The little "Option Click the Selected Path" "hint" just isn't very helpful. Can anyone

  • Compressor won't export my bluray no matter what I do.

    I've used compressor repair, and I've used both a reference file and a self contained file. Within seconds of submitting it estimates it will take around 20 hours to export, when it usually only takes 8-9 hours. The export either gets stuck on waitin

  • Drop down navigation menu

    I like the automatic navigation menu feature but I have some lower level pages that I want to include with a rollover. For example, when people rollover the About Me link in the navigation menu I would like 3 "lower lever" pages to show so that peopl