Like with a qofQ

hi doest anyon know if you can use a like condition with a
query of queries i.e.
<cfset suppliersQuery =
QueryNew("name,address,number")>
<cfloop from="1" to="#Flash.numberofSuppiers#"
index="i">
<cfset temp = QueryAddRow(suppliersQuery, 1)>
<cfset temp = QuerySetCell(
suppliersQuery,"name",Flash.names
,i)>
<cfset temp = QuerySetCell(
suppliersQuery,"address",Flash.address,i)>
<cfset temp = QuerySetCell(
suppliersQuery,"number",Flash.numbers
,i)>
</cfloop>
<cfquery name="sup" dbtype="query">
SELECT * FROM suppliersQuery where number like 'a%'
</cfquery>this constructs a new query from arrays
passewd from flash and then tries to do a sub selection of the data
is this possible?

its ok figured this out if you put a <cfqueryparm> in
then it work sweet

Similar Messages

  • In Messages, how can I get the most recent entries to appear on top, like with my emails?  Thanks!

    In Messages, how can I get the most recent entries to appear on top, like with my emails?  Thanks!

    HI,
    A Note.
    Technically the most recent Conversation (or Chat) that has a new message (be it iMessage or IM) will move to the top in the list on the left if it is set in the View  Menu to do so.
    Obviously this does need more than one Conversation or Chat to be listed to work.
    It does not change the focus of the Chat/Conversation you are viewing.
    iChat - the forerunner naver had an option to invert the chats.
    The iChat Feedback page is where I use.
    You will also see it does not list iChat 6 depsite listing Lion.
    In this sense it has always beeen out of step on the iChat/Messages version front  (it took me a long time via the Lounge and Host help to get it on the list of pages to be updated on New OS versions)
    11:00 PM      Friday; June 28, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I have an hd movie on both my ipad and iPhone 5, using airplay with my iPhone 5 plays perfectly but gets stuck with my ipad 2, almost like its buffering? I just want it to play smoothly like with my iPhone. Any suggestion?

    I have an hd movie on both my ipad and iPhone 5, using airplay on my apple tv with my iPhone 5 plays perfectly but gets stuck with my ipad 2, almost like its buffering? I just want it to play smoothly like with my iPhone. Any suggestion?

    About 6 months ago I discovered iTunes was set by default to 720p. These MUST BE CHANGED TO 1080P!!!!!!!!.......So I installed FULL 1080P file on my laptop on iTunes...  When I download movies on iPhone 5s/iPad mini the file is 720p So within about 60 seconds of starting download of 1080p files into my laptop of iTunes purchases. It was at that moment that I realized it was that file my laptop has on file to sync to my Apple device...Ten minutes later when the first 1080P HD file was downloaded  I must say... The resolution is amazing... I now use this same process to install movie files from iTunes.. In FULL 1080P.. Not 720P... Works on my iPad mini also... Avatar is 5.4 GB if installed over Wi-Fi... However sync with laptop and file is 6.5 GB in size... Called Apple told them... No reply yet.... You must delete 720P files from your laptop... Look for file size in any movie purchase and you will see DOWNLOAD IN 1080P.. This will open preferences in iTunes for you to the correct tab so you can change setting to 1080p from default of 720p... DELETE any downloaded movies already downloaded into laptop... You can check file quality by right click on any movie folder and the look at movie info... Will say 720p HD... Delete to recycle bin and iCloud will appear on each movie... Now download 1080P HD file... When completed. Right click any file to verify it is 1080P HD... The sync with device...... And get ready to be upset with Apple for holding back your device for the last 2 years 3 months and 16 days......And be ready to catch your jaw from hitting the floor when you see your screen in full 1080P HD.... Apple Engineer's were asleep.....
    You will notice better pic quality... Apple by default is still sending the 720P file to the new iPhone 6 plus over wifi and sync.. howve this process above will give you full HD file for your Apple device...

  • Simulate Tilt Shift Lens effect (miniature look like), with PSE 9 ?

    Hi,  How can I simulate a Tilt Shift Lens effect (miniature look like), with my PSE 9 ?

    This is the Adobe Reader forum; you have a better chance to get a useful anser if you ask in the PSE forum.

  • Why don't new events created by importing go to the end of events (become the last event) like with previous version of iPhoto?

    Why don't new events created by importing go to the end of events (become the last event) like with previous version of iPhoto?

    View Menu -> Sort Events.

  • Does the Apple TV play netflix continuously like my xbox, or do I have to select a new episode like with my wii?

    Does the Apple TV play netflix continuously like my xbox, or do I have to select a new episode like with the wii?

    Welcome to the Apple Community Jmiller.
    An episode at a time.

  • 11g Database Adapter: How to make queries using LIKE with % (possible bug?)

    Hi there!
    Sorry if this has been answered before, but the forum search ignores '%' so I could not find anything relevant. I'm completely at a loss here guys so any help will be really appreciated.
    I've got a database adapter that executes a "pure SQL" query:
    select * from supplier t
    WHERE t.idsupplier = #idSupplierParam OR #idSupplierParam2 IS NULL
    AND t.name like '%' || #nameParam || '%' OR #nameParam2 IS NULL
    AND t.address like '%' || #addressParam || '%' OR #addressParam2 IS NULL
    AND t.description like '%' || #descParam || '%' OR #descParam2 IS NULL
    I've got a single record in my DB with name= 'supplier1'
    When I execute my bpel passing 'sup' as nameParam and nameParam2, everything is right and I get my supplier1 in the results.
    BUT if I pass 'asdfghj' as name, I still get my 'supplier1' in the results ¿¿¿???
    ¿Is this a bug? ¿Am I doing something wrong? Thanks in advance!!

    No, but thanks for trying. Iif you had read my post you'd had found that I wrote
    +When I execute my bpel passing 'sup' as nameParam and nameParam2+
    But I double checked against that just in case. I made a test query
    select * from supplier t WHERE t.name like '%' || #nameParam || '%'
    And no matter what I pass as nameParam, I always GET ALL THE RECORDS in my table. ¿Any idea what's going on? It's like param is being ignored and the query that is executed is select * from supplier t WHERE t.name like '%%' which would of course return everything in the DB. :(
    Help plz!!

  • SQL query editor and "like" with a parameter (can't get it to work).

    I've been following all sorts of directions on how to use mysql a table and modifying the query to accept a parameter, funny thing is no matter how I try to construct the simplest query, the query editor does not parse the query properly when using the "LIKE" statement.
    Using 3.11 and/or 3.12 of the J/connector with no success.
    I am using a query that resembles the following:
    select all table.fieldname, table.fieldname2 from tablename where table.fieldname like '%?%'
    It parses correctly but the code when run can not find the parameter as it reports the number of paramenters as being incorrect.
    I have tried these varriations of the "like" statement.
    '%?%' - expected this to work, it parses correctly but errors out claiming invalid number of parameters.
    %?% - without quotes causes parsing errors.
    '?' - parses correctly but isn't the correct query.
    ? - again without quotes causes parsing errors,even if it did it isn't the correct query.
    If I set the query to use a value instead of a parameter - it works fine.
    Hints? Suggestions? Bug?
    Thanks in advance.

    Hmm, try use
    select ... like ?
    And path this kind of string as the parameter to your query
    String findCriteria = "what you are looking for";
    String parameter = "'%" + findCriteria + "%'";Roman.

  • Since yesterday, clicking to read my email gets a blank window, not the email. Same w/ windows where data should be entered (like with online banking). Help!

    Since yesterday, when I click to read my email I get a blank window instead of the usual window with the email itself. The same is happening with windows where data should be entered, like those virtual keyboards for online banking login, or windows where you can add records (like daily electricity and gas consumption). In all these situations, a window should pop-up and pop-up it does - but always blank.
    I already unistalled/reinstalled Firefox and reset it "to its default state".
    Thanks in advance for your help.
    Miguel Sendim

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Like with select query

    Hi,
    I have a query something like ...
    Select ....
    where
    b.prodname like 'SHAFT GEAR%' or b.prodname like '%FRONT GEAR%' or b.prodname like '%BREAK 4K%'
    and
    b.prodname like
    (select company name from companyms
    where <some comdition>
    order by 3,6
    I am stucking at :
    b.prodname like
    (select company name from companyms
    where <some comdition>
    i.e. how do I give select query with like operator.
    In above query I want b.prodname like above and those company name for which I am giving condition.  Company names are stored in other table and I want to select and use them with like operator.
    Thanks.

    create table stock
    prodname varchar2(50)
    insert into stock values ('MICRO FRONT PANEL');
    insert into stock values ('ZEBRA FRONT SHAFT');
    insert into stock values ('KOBRA SHAFT GEAR');
    insert into stock values ('T RUBBER TUBES');
    insert into stock values ('MICRO TUBES PANELS');
    insert into stock values ('HEFT SHAFT GEAR');
    SELECT * FROM STOCK;
    PRODNAME
    MICRO FRONT PANEL
    ZEBRA FRONT SHAFT
    KOBRA SHAFT GEAR
    T RUBBER TUBES
    MICRO TUBES PANELS
    HEFT SHAFT GEAR
    6 rows selected.
    create table companyms
    company_name varchar2(50)
    insert into companyms values ('MICRO');
    insert into companyms values ('CHOPRA');
    insert into companyms values ('H.P.');
    insert into companyms values ('T');
    insert into companyms values ('BEST BROTHERS');
    insert into companyms values ('FIVE STAR');
    SELECT * FROM COMPANYMS;
    COMPANY_NAME
    MICRO
    CHOPRA
    H.P.
    T
    BEST BROTHERS
    FIVE STAR
    6 rows selected.
    Actually I have little big query which have inner join with couple of more tables and suppose query returned me to select those rows who have SHAFT GEAR or FRONT GEAR or BREAK 4K of MICRO or ZEBRO or ABC company.
    So, I have query like :
    select ...
    .... some inner join...
    .... some outer join
    .... some union
    SOME MORE WHERE CLAUSES ... ETC. ETC...
    where b.prodname (b means stock table) like 'SHAFT GEAR%' or 'FRONT PANEL%'
    FOR MICRO or ZEBRA or ABC company.

  • Operator LIKE with SCAPE

    I'm using the operator LIKE on a query with the ESCAPE option to.
    I really dont understund according to the manual, the meaning of the ESCAPE commmand option.
    I apreciated if somebody could explaim me this option and an simple example of how to use it.
    Thanks a lot

    if you have this data
    <pre>
    num val
    1 hello_there
    2 hello there
    3 hellomthere
    4 hello%there
    5 hello you there
    select * from table where val like 'hello%there'
    will return all rows
    select * from table where val like '%hello\%there' escape '\'
    will return only row 4
    select * from table where val like 'hello_there'
    will return rows 1, 2, 3 and 4
    select * from table where val like 'hellox_there' escape 'x'
    will return row 1
    -d

  • How to post via email (like with Wordpress)?

    Hi,
    Hopefully this isn't a silly newby question, I have been scouring the web looking for answers without any luck. I would like to be able to automatically post the contents of emails in chronological order on my website - ie. when I email something to a group I include a special email address that then posts the email contents and/or a header automaticlaly on my website. I see that this is possible with Wordpress, but I can't find anything to help figure out how to do this with HTML through Dreamweaver? I dont really want to have a portion fo my sire Wordpress based if I can avoid it. Maybe it's very simple, but does anyone have a link to a tutorial of some sort?
    Thank you in advance,
    George

    Hi Paul,
    If you have BusinessObjects Enterprise/Crystal Reports Server, you could use the 'Alert Notification' option under 'Schedule'.
    This option can make use of the 'Report Alerts' you setup in the CR Designer.
    1) To create the Alert, go to Report > Alerts > Create or Modify Alerts.
    2) Add a Custom Message
    3) Click condition and use a formula; for e.g:
    Not(IsDate({Date_Field}))
    4) Check the option 'Enabled' in the Alert Creation window
    5) Save the report to BO Enterprise
    6) Browse to the report > Click Schedule > Alert Notification > Enable Alert Notification
    7) Type in the e-mail addresses you wish to send the alert message to along with the message.
    -Abhilash

  • Address mapping function?  (automatically show google map, like with Mail?)

    I have a Numbers spreadsheet full of building addresses in my area. I'd like to be able to automatically visually map an address on google maps, such as is available in the Mail application (like when you hover over an address and it recognizes text that makes up an address and allows the feature to map it with a single click). Is this possible at all?

    Hi Pars,
    you were in a wrong application.
    here is the right one
    Application 71508 - Google Map 2
    Thanks

  • Viewing clips like with a slide sorter

    I have all my mov quicktime files stored in a directory and would like to view them as thumbnails like ACD See software does it with pictures (viewing them moving them in the right subdirectories, renaming them etc.
    As I could not find a way to do it with the MAC Finder application (I can only see one at a time), I am wondering if there is a freeware or software which can do this on MAC. Any suggestion?

    Yes you would.
    But before you do, take a look at that "Cover Flow" feature to be sure that is what you'd like to see.
    It's likely got a demo online in the OS X area of Apple's site.
    Jerry

  • What is the disc utility supposed to look like with a fusion drive

    I have bought a brand spanking new iMac 2013 with a fusion drive. I had a bit of a glitch with the set up of boot camp. I have taken it to the apple service centre and they reformated the drive. But I am no expert but it seem as though the computer is really slow, even slower than my 2009 iMac. can any one tell me what the fusion drive should look like in the disc utility? It appears as two seperate drives!? is this right? Can some one please help me?

Maybe you are looking for

  • I am going to ****.

    Well I managed to break my roommates macbook pro screen. We're studying abroad in the netherlands currently, we live in a small room. I tripped over my chair and in an attempt not to fall attempted to grab onto something... I grabbed onto his macbook

  • Can 2 users on one computer share 1 itunes music folder?

    There must be a way to do this, I just can't seem to find the answer. The reason I need to do this is my ancient PowerBook only recognizes my new iPhone on one userid, not the one where all my music is loaded. Thanks in advance for any help you can p

  • HT201398 How do I delete an application - which is no longer visible in itunes or on the device - from ipad

    Hi I am getting an error that an app can not be copied due to an internal error. I have deleted the application from my iTunes library and from my device but when when I do a sync, it still gives me this error.

  • SAP Business One is slow on client PC

    Our client PC is Pentium Dual Core, 1GB RAM, 160GB. However to post a transaction, open a window, etc. in SBO takes some seconds. Is this normal? To post a transaction for example, after you click "Add", the cursor changes to sand-clock, and takes so

  • Error ITMS-9000 Help

    When I run my ePub through the validator these are the errors I get. ERROR OEBPS/Text/index_split_004.html 51 5 text not allowed here; expected element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "nos