See the region if recordset is empty

Hello
I modified the 'see the region if recordset is empty' to make it 'see the region if the field in the recordset is empty. but for some reason, it doesn't seem to work. did I do it correctly?

Ive pasted my code below


< cfif rsLatestNews.image EQ 0 >
"< img src =" images/dvdNoFlash.jpg"alt ="other pictures"name ="image1"width ="87"height ="92"="image1"id / > < img src =" images/dvdNoFlash.jpg "alt ="other pictures"name ="image2"width ="87"height = id ="92""image2"/ > < img src =" images/dvdNoFlash.jpg"alt ="other pictures"name ="3"width ="87"height ="92"id ="3"/ >"
< / cfif >

Wednesday, December 20, 2006, 17:33:47 + 0000 (UTC), ' * mista. "
wrote:

> What happens if there is more than one set of records released by your query.

Just FYI, a recordset is the Group of zero, one or more of the records returned by a
query. To have more than one Recordset, you need more than one
query.

I don't know enough about CF offer much by way of
suggestions, but my suspicion is that the test is wrong:

I doubt that the image field is numeric. Unfortunately, I do not know what is
returned by CF of an empty field. I would say something like that
might work:

However, if CF returns a value, you may need to test for this as
Well.

Gary

Tags: Dreamweaver

Similar Questions

  • See the region if the recordset field is (not) "null."

    Facing another problem. The solution is probably going to be very simple, but so far I have not thought of her. That's what I'm looking for:

    Say you have a page with the title, the introduction of message and a news reading, more button. The table in which the ballots are stored got 5 columns:

    • ID (primary key, I)
    • date_entry (timestamp)
    • newstitle
    • newsintroduction
    • newsmessage (may be NULL)

    As you can see, the "newsmessage" column can be NULL because sometimes there are short messages. What I want to know is, if the "newsmessage" column is null, on the page that displays the records of news, the link "read more" should not be visible. It should show only when the "newsmessage" column is "not null", so got content inside.

    Thank you!

    Is this really a region you want to show or hide? I guess it could be, but DW normally like it better when the "region" is its own row of the table. I don't know how much time, even when I do not select the TR tag in the property inspector and apply a show or Hide Server behavior, DW still places the code inside the TR tag in the source code.

    So, basically, want you want to do is wrap the a tag that contains the text read more, in an If statement. I don't have the exact syntax for you, my PHP skills are still developing. Maybe an other people could help - or if you do not have a behavior show or hide (when the recordset is empty or non-empty), take a look at the way this code is structured and use it as a guide. But if you use Null/Not Null as your requirement, make sure that the field contains a null value.

  • Can't see the region list when you try to create

    Hi guys,.

    I am trying to create the list box, but it cannot access my application when I try to create a region.

    In the database Application example, easiily can I do,.

    http://i.imgur.com/26ASO.PNG

    but in my application, the option is missing.

    http://i.imgur.com/oGiJQ.PNG


    I tried to go to 21. Scarlet theme but no luck as well. Not sure what I should do to create a list box.

    APEX 4.1.1

    Hello

    First go to shared components and create a list entry. Now, go to the wizard in any page, and you should see the list item.

  • How can I change the region on the optiarc AD-5560

    I would like to know how to get to the place to change the region on an optiarc AD-5560 has DVD + RW.    Apparently a few months ago I received a software update from Microsoft on 4 different computers at home. I took a local of so-called expert to get the computer to recognize the dvd drive.  Fixed it.  The display was not the same since I came back.  I tried to get the other computers to recognize on them dvd players since then. Today I tried to fix the problem on another computer and anyway I'm going on a screen so that I was in Device Manager which allowed me to see the region that did it has been configured for. There was no region are entrusted to him. I took a chance and put the region 1 for the United States and the computer has finally acknowledged the dvd player.  I tried to fix the same problem on the laptop that I use now and have been unable to find the place to check the region assigned to the dvd drive and fix it.

    See this article if this can help:

    How to change DVD region? How to make your DVD player region free?
    http://www.gromkov.com/FAQ/faq2004-0063.html

  • is this a bug in the region... selector apex5 during import lose region selector

    I have a request to one of the pc... I have to export it and import it into another pc

    with the same workspace name

    But when I run the app I see the region selector donot work like in the first pc... go where I had imported from the

    program and also the database.

    Is this a bug. Or if someone has encountered the same situation...

    What do we do to fix this problem.

    What I've observed as is on the same page down that we do not have the status bar

    Edit page debug debug mode are present in the status bar. It is present in the main pc

    But after I moved the data to the second pc the page where the region selector is present I can't see this status bar. .

    This question is for the page where the region selector is present

    Oracle db 11g xe and apex verison 5, universal theme

    Information appreciated


    I found the solution...

    SELECT *.

    Of apex_release;

    5.0.0.00.31

    The main pc version was

    5.0.1.00.06

    2013.01.01

    Who should be creating the problem...

  • Hide the region using Lov apex oracle 5.0

    Created a static LOV to my report page.

    Now, a selection of drop down of lov values, I need to hide the region and for another selection, I need to see the region.

    Say it like...

    If you are already a customer then it is useless to see the area of registration, if you are a new user, you must complete the registration form.

    So I have to possibility of selection

    Already a customer of 1)

    (2) new customer

    Click on the selection to an existing customer of LOV only registration form region must didn't show the region that I created for new client.

    Ditto for the new customer.

    GOT STUCK HERE.

    I created LOV, but it redirects me to one page to another does not what I wanted.

    Apex. Oracle.com

    testdump/developer/Office

    Hi Dominique,.

    You can do this by creating two dynamic action

    Create a static region which equip your Lov article

    Now you have three regions

    1 static area - container of your LOV point

    2. new customer area

    3. existing customer area

    1. create a dynamic action to show and hide the new client area

    Event: change

    Selection type: point

    : Item Lov that contains (new or existing value)

    Condition: equals

    Value: N (assuming that N is the new customer return value)

    Action: show

    Fire on loading the Page: Yes

    Generate the opposite action of false: Yes

    Selection type: region

    Region: Select the new customer area

    2. create a dynamic action to show and hide Existing customer area

    Event: change

    Selection type: point

    : Item Lov that contains (new or existing value)

    Condition: equals

    Value: E (assuming that E is the return value of existing customers)

    Action: show

    Fire on loading the Page: Yes

    Generate the opposite action of false: Yes

    Selection type: region

    Region: Select the customer existing region

    Kind regards

    Jitendra

  • hide and show the region and pass values to the region

    I have a p_dept lov static 10,20,30 and submit button

    I have 2 areas with the name dept10, dept20

    When I select lov p_dept = 10 and submit button then see the region of dept10 (do not know how to pass values from: p_dept suggest key)

    dept10 region query is
    Select * from emp where deptno =: p_dept

    dept20 region query is
    Select * from emp where deptno =: p_dept

    Please someone help me how can I achieve it with stetp by step.

    Hello

    You can simply set the display state of your regions.

    - Edit dept10 region set condition [item / column = value]
    - Expression 1
           p_dept
    - Expression 2
           10
    

    Do the same for the dept20 region

    - Edit dept20 region set condition [item / column = value]
    - Expression 1
           p_dept
    - Expression 2
           20
    

    When you submit a page, your selected items will be defined in the session if you do not need to pass any parameter.

    Thnks

  • hide the region if the recordset field is empty

    Hello

    IM after a logic that will allow me to hide a code if a field in a recordset is empty. so I have a field called motion in a Recordset called rsProj_detail, now if the query contains no text so I want to hide a region of code. does anyone know how to do this? I hope that ive made myself clearly, if this no is not please tell me and I have re written the post.

    Thank you

    Have you tried something like this?

  • Outlook Express - I can see the list of received emails, but can't read them in the display below pane. It is empty.

    I use Outlook Express for my e-mail.
    I can see the list of emails received, but cannot be read in the display below pane. It is empty.
    You are dragging the separator between the components of Message and preview low path by chance?
     
    See this news, but at least you're behind in the updates should not be the reason.
     
    Possible fixes for the display of an empty message
    www.oehelp.com/OETips.aspx#10 
     
     
    Finally, try in a new identity. File | Identities | Add the new identity. Create a new one and try it. If all goes well, you can import your messages and address book from the old identity and delete it.
     
    Note: Do not use the main word in the name of the new identity.
  • When I open my pictures folder and display their (in any view-film, thumbnails etc.) photos have a 'white' on the region, and I don't see the whole picture.

    I recently had a new hard drive installed; now when I open my pictures folder and display their (in any view-film, thumbnails etc.) photos have a 'white' on the region, and I don't see the whole picture.

    Hi AnnEdelstein,
     
    To resolve this problem, install the latest version of the video card driver.
    Contact your video hardware manufacturer to find out how to obtain and install the latest version of the video driver for your video device.
     
    To see if applicable driver updates are available, visit the Microsoft Windows Update Web site at the following address:

     

    More information on:

    How to manage devices in Windows XP

    Keep me updated on the status of the issue.

  • My queue is empty and shows no documents that are printing. Printing works fine and I can cancel all documents, but I don't see the list to cancel individual documents.

    My queue is empty and shows no documents that are printing.  Printing works fine and I can cancel all documents, but I don't see the list to cancel individual documents.

    Hi sunshineabove,

    ·          What is the number and the model of the computer?

    ·          What is the service pack installed?

    ·          Do you remember all the recent changes on the computer before the show?

    In the meantime, you can check the link below: http://support.microsoft.com/gp/pc_print_introductiontocanc

  • When you open the bridge I get empty frames, I have to click on each one to open and see the picture, is a person tried before and what can be done to fix the problem?

    When you open the bridge I get empty frames, I have to click on each one to open and see the picture, is a person tried before and what can be done to fix the problem?

    Reset preferences, reset the default workspace, and purge the cache.

    Damaged preferences or workspaces can cause unexpected behavior in Adobe Bridge. Purge the cache can solve problems of the thumbnail display.

    • Start Adobe Bridge, and immediately press Ctrl + Alt + Shift (Windows) or command + Option + shift (Mac OS down) until the dialogue box reset settings appears.

    • Select all three options - reset preferences, reset Standard Workspaces and all miniature Purge Cache - and then click OK.

  • Hello!  I have created a fillable pdf file.  When I send the completed forms and try to open on my Iphone, I don't see the filled in information.  I don't see empty shaded areas.  I have Adobe Reader on my Iphone.

    Hello!  I have created a fillable pdf file.  When I send the completed forms and try to open on my Iphone, I don't see the filled in information.  I don't see empty shaded areas.  I have Adobe Reader on my Iphone.  Should I have a different program?  Am I missing a step of creation / fill in the form to fill out?  Thank you!

    Hi Carol,.

    Thanks for sharing your PDF form with us!

    I opened the attachment PDF in Apple Mail, used the iOS feature "open in" (or "copy in") to open it in Acrobat Reader for iOS and filled in one of the text fields. I found no problems with your PDF form.

    What is the version of Acrobat Reader for iOS that you have on your iPhone?

    Could you pass a glance "Open of Mail" section in the following FAQ document once again to make sure that you open a PDF document in Acrobat Reader for iOS (not in other Apple iOS applications)?

    How to open PDF documents in Adobe Acrobat DC for iOS (iPhone version)

    Please let us know what you find.

    Thank you.

  • I can't use creative cloud. After the program open, I see backbone of creative cloud and empty space without all the icons. I want to download photoshop as I pay by bank transfer for Adobe...

    I can't use creative cloud. After the program open, I see backbone of creative cloud and empty space without all the icons. I want to download photoshop as I pay by bank transfer for Adobe...

    If you see a blank white screen, see this link. If you see something else, please let us know what you see.

    Blank white screen. Sign in | Creative cloud Packer

  • See the empty table if there is no data

    Hello
    I have a line chart in a dashboard page, which shows sales of the company in a given country (chosen by guest). When I choose a country that has no data, the system displays message: "no results - specified criteria result in all data. I want that in this scenario, appears an empty array. Is it possible? How do I change my application? Thank you

    Giancarlo

    OK, in this case, you must change the join in the repository. Let's say you have a table 'months' and a fact table. Join the two tables, but use a right join (where the table is the table with the months). This way, you will get all values in the table of months, associated with the data in the fact table. During these months does not, you will see the value null. You can set a zero with a case statement.

    I hope this helps.
    J. -.

Maybe you are looking for