Total Noob wanting some help

Hi guys I just got new job and they use CF over here. My
first small project is thowing me for a loop just because I've
never really worked databases before. I'm looking for some starting
help. We have this intranet site that everyone here uses to place
orders and stuff, they all use bunches of databases. And what my
boss is wanting me to do is find a way to put a count of all the
items in a database that match a certian criteria on the main page.
So what I need is a way to count database items. Help would be
helpful. Like I said I'm a total n00b and forgive me if you can't
make heads or tails of this. I'd be glad to explain more in depth
for help. Thanks guys
Kevin

Well, let says that you want to get a count of everything in
your ITEMS table that has a QUANTITY of at least 3 and a PRICE of
greater than $5.00 (assuming that QUANTITY and PRICE and columns
within the ITEM table)
A real simple way of handling this app would be to first do
the query and then out put the result. Your entire application
would be:
<cfquery name="qGetItemCount"
datasource="datasourceName">
SELECT Count(*) AS itemCount
FROM items
WHERE quantity >= 3
AND price > 5
</cfquery>
<cfoutput>#qGetItemCount.itemCount#</cfoutput>
And that is it. It only gets more complicated from there, and
you need to strongly consider some learning resources if you want
to excel at ColdFusion. It is an easy language to learn and use,
but, like any other language, it should not be fuddled through.
Note: You'll need to get your datasourceName from your
administrator.

Similar Messages

  • I want some help i do reset all content and setting and when i do it my ipad show mw a cercle an it do loading what i can do  ?

    i want some help i do reset all content and setting and when i do it my ipad show mw a cercle an it do loading what i can do  ?

    Have you tried connecting the iPad to your computer and using iTunes to restore to factory settings? These are the basic steps.
    You can read more here.
    http://support.apple.com/kb/HT1414
    Do not restore from a backup at the end if you want to restore as new.
    Connect your device to your computer.
    Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices. Select the Summary tab, and click the Restore button.
    Click Restore

  • New Zynq SoC Porting Guide is like a "Bridge Over Troubled Software." Want some help porting that code?

    So you have an embedded design all coded up for one microprocessor architecture and you’d love to take advantage of the significant additional processing power of the dual-core ARM Cortex-A9 MPCore processor/programmable logic combination available with the Xilinx Zynq SoC? Want some help porting that code?
    Help is available with the new “Zynq-7000 All Programmable SoC Architecture Porting Guide,” UG1181. Following a quick overview of the ARM Cortex-A9 processor features found in the Zynq PS (Processor System), the guide gives the following handy table highlighting the differences among five processor architectures including the ARMv7 architecture, PowerPC, MIPS, Renesas-SH, and x86:
    The document also includes a comparison of function-calling conventions, interrupt models, memory maps, register sets, and pointers to the ARM Web pages that provide detailed help in porting from these other processor architectures.

    Are you using the latest version of Silverkeeper? - v.2.0.2 is stated to be compatible with Snow Leopard.
    http://www.lacie.com/silverkeeper/
    If it's messing things up you could try asking LaCie Support for assistance.

  • HT1918 Hi i want some help

    hi...i want some help

    If you would like help from these user-to-user forums then you will need to say what the problem is.

  • Totally Clueless & Need some help!

    Ok so i have my first Macbook Pro... im not a computer wizz and really know nothing about them. So i need some help!
    I have tried to install Snow Leopard and the installation finishes but nothing has changed? I dont have any of the new functions im still running on the normal Safari not Safari4, I have tried to download Safari4 but it says "Safari cannot be installed on this disk, this update requires Mac OS X 10.5.8 or newer"
    I went into the apple menu and into 'about this mac' and it says im running on OS X 10.6.
    Its like it has installed SL.. but nothing has been actually installed properly!
    HELP! And dumb it down for me!!! LOL

    Thank you for your help. One more if I may.
    If I open my MacBook Pro 10.6 SL in the normal manner then go to About This Mac > More Info > Software, the System Software Overview among other things shows. 64-bit Kernel and Extensions: No.
    If I Restart my computer holding down the 6 and 4 keys the answer then becomes Yes.
    My question is do I really have to concern myself about this or, can I just start my computer in the normal manner and forget the No or Yes?

  • Crew I am a total Noob here please help!

    Crew,
    First let me say I am a Noob at Flash. I recently purchased
    Studio 8 and CS2 Photoshop. I created a basic button in flash using
    the default Up,Over,Down and hit routine. I have the frames working
    and can save (publish) the file ie: Button.swf.
    Once I am in Dreamweaver 8, I can import the Button.swf using
    Insert>Media>Flash option. The button appears in the website
    and the graphic animations interact with Up,Over,Down.
    Here is where I exhibit to you pros out there that I am a
    complete idiot!. I can not find a way to link or target with the
    button. I am use to simply providing a link to the web object
    inside of Dreamweaver. Much like the provided style flash buttons
    do in Dreamweaver. Is there a way to create a flash button and have
    it act like the style buttons ie: with the options to link and
    such?
    I feel I am missing the code needed for Dreamweaver to talk
    to the Flash button? And if so, I take it needs to be included
    prior to publishing of the Flash Button? Any help would be great
    guys!... Otherwise I’m looking for a book “Making a
    Flash Button and using it in Dreamweaver8 – For Complete
    Idiots “
    Stephen

    Hi,
    If you are using Flash 8, this would be very easy for you.
    All you have to do to add video to your file is to import your
    video and Flash will open the video importer wizard for you. move
    through the steps. Do not choose embedded video if you want your
    video to play externally. Then choose your player skin.
    Flash will generate the FLV file for your video and add
    controllars to your video in the stage. This is the easiest way as
    you do not have to add any code my hand for the controllars.
    If you like to just export video to FLV, use the Flash FLV
    exporter that come with Flash mx 2004 and Flash 8

  • Z77A-GD65 with 3570k noobie needs some help.

    Hi Guys,
    First of all I’m very impressed by the looks of GD65, I just hope it will work as well as it looks… 
    So finally I should get my RAM tonight (4 x 4gb Sammy ECO ram).   I believe there might some issues with o/c the memory, which I believe was a ittle improved in beta bios.
    3570k
    Silver Arrow SB-E HSF
    4 x 4gb Sammy eco ram
    Gigabyte gtx670 GPU should arrive early next week.
    Corsair TX750
    Windows 7 x64 SP1 Home
    HAF 922 case
    I’ll use this method to upgrade mobo to the latest official BIOS 10.5 using recommeded method.
    https://forum-en.msi.com/index.php?topic=108079.0
    Also should I wait for Gtx670 to come in next week, or would I be able to use hdmi/dvi output from GD65 (IB HD4000 IGPU) to display 1080P on LG 32LD450 display.  I believe there were some reports only VGA output works? Is it true?   
    Also where should I get most stable NIC Intel drivers (I saw some people having problems with them) and 898 audio drivers?
    Is official 10.5 BIOS recommend or is there a “better” beta BIOS I should install (and where do I get it from)?
    I do apologize for so many questions, but I’m very scared to put this rig together with so many z77 chipset issues around…   I’m just trying to avoid “ I told you so” from my wife… LOL  I’m concern about error 55 (memory not installed), in some cases CPU installation issues.  I’m coming from several years of AMD builds… so IB it is very new to me…
    Any help would be much appreciated… 
    TIA

    I promise as soon as I get everything stable I will test it with 200mm fan as intake and outtake...
    I love big sinks and fans, I will post some pictures after everything is done.  My system is nothing to brag about, HAF 922 with  3 x 200mm  1 x 120mm, 1 x 140mm and Silver Arrow SB-E (dual tower) HSF.    I’m using Lampron fan controller to control fans.
    Positive pressure is very interesting concept and some swear it works...
    http://www.silverstonetek.com/techtalk_cont.php?tid=wh_positive&area=usa
    So I went to bed at 3am last night, I did go far, as I was taking updates, installing drivers, changing drive letters… etc..   
    System seems to be stable at stock/default 10.3  bios settings, all I changed was to set fans on CPU (I selected 70C to be my goal) and SYSFAN1 to run at 50% (my 140mm internal fan, which is strapped to the drive cage).   
    The NIC card seems to be working fine,  Intel IGPU video works fine (using dvi to hdmi cable). I haven’t installed any temp monitoring software so I cannot tell you how is my IB CPU. 
    The only problem I found last night was I couldn’t get any audio from rear speaker output (I tried display’s and 2.1 speakers).   The driver seems to be working, because I can see sound bar moving up and down.  Also when I connect my headphone to my front audio output, I can hear sound and I get pop up saying I have headphones connected.    When I remove headphones I get another pop up saying the headphones have been disconnected.  When I connect anything to the green output (speaker out), I get pop up saying rear speakers were detected, however there is nothing no static, noise or anything…     I tried to disable/enable device without luck.      I’ve used all drivers from MSI website, should I try to see if there are newer/older drivers?   Since I’m currently using 10.3 BIOS, should I try latest 10.5?      Have you guys heard about this problem before?      If you have any ideas please let me… I did poke around BIOS but I couldn’t find anything related to audio…   
    Overall (other than small audio hiccup) “so far” I’m very happy from my purchase… 
    Thank you

  • Update date approaching want some help before going into store

    Hi my renew date is approaching (22nd of this month) I currently have 3 phones on my family plan 1 of which I do not want to have removed and have my current plan downgraded as I wont need as many minutes should this create any problems when I go to renew the other 2 lines on the phone? Thanks for any help just dont want to go to the store and look like an idiot in 3 weeks.

    karkz31 wrote:
    Well you answered part which I kinda new but I'm I able to cancel my that 1 line at the same time which would be the 20th month of the 2 year contract
    You cannot cancel the 2 year contract without an Early Termination Fee (ETF) until after the end of 24 months.  Typical ETF's at the 20th month mark are $75 0r $150 depending on the type of phone purchased with the original upgrade.  It will probably be cheaper to maintain the line throught he 24th month.

  • Hi i want some help

    i  have laptop (hp pavilion 13-a002ej) his have a problem in windows and i instelled new version and i want the beats audio control panel how i have to do it
    This question was solved.
    View Solution.

    Hi,
    Download and install the Realtek HD Audio software package on the following link - this should also provide the Beats gui.
    http://ftp.hp.com/pub/softpaq/sp66001-66500/sp66250.exe
    When the installation has completed, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Wants Some Help About Package Spec

    Hi Friends,
    I developed one package spec in my Report.
    It has around 40 Ref Cursors.
    I created 40 Functions for those Ref Cursors.
    Right now all are in my Report at client end.
    At present the performance is very slow.
    Can i maintain these Package spec & Functions
    in data base side? If possible how ?
    If i maintain like that my performance is
    increases or not?

    You should be able to move those to the server. Read Chapter 6 in Oracle Report Documentation. Just click on topic "Documentation" on your left to find documentation on report.

  • I want some help to install a product I just paid for - upgraded trial verion and can't use

    What do I have to do to get my product to ork - you;ve got my money

    Hi Kartikay
    The issue was I mistook what I was buying – I may not have bought the product had I known the real cost – I had to buy the basic version  to upgrade to pro – that was very deceptive – in the trial that wasn’t made clear
    Anyway – you got an extra $191 out of me so you guys win
    Mike Sewell
    0400 647 840

  • I want some help for the layout of MuCow widget

    Hii
    I was browsing the musethemes.com website and I saw that they used two column layout for most of their widget, so my question is how to achieve that..
    Thanks..

    This "ability" is really not an ability at all... it's set up automatically in the background. If you put all of your bool (checkmark) items together, and if the labels for them are of so-many characters, then they will automatically display in two columns. The ability to format the flyout panel is something we're all hoping for someday! :-)  Until then, if you rearrange your bool parameters, then you may condense the flyout panel just a bit. Good luck!

  • I want some help pls...

    can anyone find me the mistakes on this small programs..
    They are from past papers exams ..
    1) class Test {
    int x;
    class ArrayTest1 {
    public static void main(String args[]) {
    int i;
    Test TestArray[] = new Test[100];
    for (i = 0; i < 100; i ++) {
    TestArray[ i ].x = i;
    System.out.println("We made it!");
    2) class TestSomething {
    public static void main (String[] args) {
    int[][] a = new int[7][9];
    int i,k,b=0,c=0;
    for (i=0; i<a.length; i++)
    for (k=0; k<a[0].length; k++) {
    a[i][k] = i * k % 10;
    if (b<a[i][k]) b=a[i][k];
    c++;
    System.out.println("Final value of b is: "+b);
    System.out.println("Number of places is: "+c);
    }

    In the first one you must fill the TestArray with Test objects otherwise you will get a null pointer exception.

  • Hi friends i want some project Title in J2EE

    hi iam doing my final year B.E and my wish is to do a better projet in J2EE(i know J2EE) and i want some help from u. That is if u found any projet ideas and titles in J2EE and if u feel that it was good to me please send to me
    My email is [email protected]
    thank u
    urs senthilnathan

    hi ,
    the title " hostel management project " this is the best data manegement project
    using java in this u can use photo also

  • Some help for a simple condition statement...

    Hello! I wanted some help this condition statement...
    There are 2 tweens called "mc_sun" and "mc_welcome" I want to
    run when someone clicks on a button called "btn_home", but I don't
    know exactly how to write the code because I've already tried these
    2 modes and noone work at all!
    THANKS FOR THE HELP!!!!

    I think I know what you're after here ... but I could be
    wrong ;) but try this:

Maybe you are looking for

  • Message format to be send to the JMS Adapter

    Hi all, I have a very strange situation. i have a sender JMS channel where i am trying to use the Message Transformation module I have done the configuration but the problem is that i have made a .dat file AAABBBCCC DDDEEEFFF and i am using the PutMe

  • How to find the position of view in MM02 transaction for coding BDC?

    Hi Guys, Is there any FM or BAPI Available to find the position of the view in MM02 transaction. I tried FM SELECTION_VIEWS_FIND. But getting inconsistent results i.e Some materials it is giving correct positions but for others i am getting wrong pos

  • Is it normal for iPhone to get warm?

    Is it normal for iPhone to get hot?

  • HP 7210 ALL IN ONE - WON'T PRINT A PDF 2 PAGE DOC

    This is a new one to me.  My HP 7210 prints all sorts of documents and I sent a 2 page pdf  doc (it has printed them before) to the printer and got two blank pages. I can print this document to another HP printer without issue. I upgraded the acrobat

  • How to connect to wireless pacbell Motorola 3347-02 dsl router?

    The password was accepted the very first time but the link was very slow. After resetting the WiFi link on the iPad2 OS1.5 the password is not accepted but the iPad2 works great at work on an enterprise WiFi link. If I drop the home WiFi encryption t