Need help - Database Item

How to find that if an item is a base table item or not ?
suppose if there are 5 items in a block. How will I come to know that the item is a database item or not?

It is possible to have a database item with out having its column_name property set to a value, when the item name itself is the column name, in this context, how can i come to know whether that item is a database item or not? Any way??
RK Raju

Similar Messages

  • Need help on item field validations.

    All right, here's the problem >>
    I have a form on a report with columns and attributes taken from the tables in the database. 5 tables are allocated in the database, but one table is used for this "form on a report."
    I named the report as a Company form, where users can add/edit company's name and details into it. However, without the use of candidate keys, i added validations to control the columns such that no two values are the same, although there is a primary key which i named it as company_id.
    For the validations, i created an sql expression type "not exist" and input the following code:
    SELECT company_name
    from Project_COMPANIES
    where company_name = :P8_COMPANY_NAME;
    The code did work where no two values are the same within a particular column. However, when changes are made to update and delete, it wasn't successful unless users are forced to change the existing values to a different value. So my question was, what are the methods to set such that all three basic functions (Insert, update, delete) can work at the same time?
    Regards,
    Andrew.

    NOT EXISTS validation
    select 1 from mytable where company_name = :P1_COMPANY_NAME and company_id <> :P1_COMPANY_ID
    Where mytable is the table name, company_name is the column being updated, P1_COMPANY_NAME is the page item corresponding to the company_name column and is the item being validated, P1_COMPANY_ID is the page item containing the primary key of the row being updated corresponding to the company_id column.
    Scott

  • Need help - DATABASE INDEPENDANCE

    Hell all,
    Can you please help me to answer this question?
    "What techniques can be utilised to guarantee database independence?"
    Really looking for the answer from you.
    Thanks in advance.
    Himanshu

    "What techniques can be utilised to guarantee
    database independence?"Database agnostic approach? That depends which products you have to support with your solution. For example: mysql 4.x did not provide mechanisms such as views. Very view databases support things like autonomous transactions or materialized views, just to name some oracle features. So if your solution should work on the given databases, you would have to make sure that you don't use materialized views, autonomous transactions or views in your solution.
    You could however provide workarounds for missing features in the mentioned product(s), depending on the given requirements and budget. And have a look at different locking models, etc. There are frameworks like hibernate, that solve some issues, but not all of them.
    This link might interest you, since it also touches this topic:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1886476148373
    C.

  • Need help viewing items in Lion Finder folder.

    Hello! I just recently migrated to a Mac with Lion and have a question regarding viewing files in the Finder window. I currently like sorting my folders using "Kind" then sorting by "Name", which works great for me except one problem. How do you have the Finder window "Show All" by default instead of having to click on the "Show All" everytime? See my example folder in the pic.
    Any help for a Mac noob would be greatly appreciated! Thank You in advance!

    Hi Peter
    This is a change in version 9.
    Adobe removed the previous choice in preferences, without asking customers.
    Many of us who used earlier versions don’t like it.
    If you feel the product is not what you reasonably expected, request a full refund or ask your credit card company for a refund and chargeback.

  • Need help displaying item based on pl/sql anonymous block

    This is probably something really simple but I'm stuck.....
    On purchase order, I want to show related parent project name and ID. What is the best way to do it? I have created a region based on pl/sql anonymous block, and that works, but the data is above where I want it. I want the project name and ID to show up in the region w/ all the other fields.
    I have created an item in the region that has other form fields, item is based on pl/sql anonymous block, w/ same code as above region, and the item doesn't find the data. What's the difference? Is it because the item doesn't save state? In order to choose for the item to be based on pl/sql anon block, APEX made me choose Display as Text (based on PLSQL, does not save state).
    Please see this picture:
    http://farm3.static.flickr.com/2391/2658673285_04f157a3fa_o.png
    thanks!
    ~Darby

    this is weird.. Now it is working. I didn't change anything! What the heck?
    http://farm3.static.flickr.com/2010/2659557520_73e54b67ea_o.png

  • Need help restoring items to my dock.

    Yesterday, when I was deleting excess files off of my computer, I accidentally dragged two icons off of my dock and into my trash bin and now I can't get them out.  I am, however, still able to access them in the sidebars through "Finder", but when I try to drag them toward the dock, they won't click.  Is there any way to put them back on my dock?
    The lost icons are for my "Applications" and "Documents" folders.

    Show your drive in the sidebar and then click on it. Click on the Applications folder and DRAG it to the Dock. A Shortcut/Alias will be created on the dock.
    You can't drag it from the Sidebar.

  • Need Help/Advice with Photo Web Gallery coming from SQL Database

    This is my first attempt at a database driven website. I assume what I am trying to accomplish should be fairly easy for more experienced but I am stuck at this point.
    First, let me explain what I am trying to accomplish.
    I want to create a thumbnail photo gallery displayed in columns and rows. I want to be able to hover over or click on the thumbnail image and have a lightbox script display the image over the thumb page. I am developing locally right now with intent to upload to the hosting site upon completion.
    I am developing with ASP vbScript pages. I have an SQL database where the paths to the image thumbnails and pictures are stored in a table. On the gallery page, I have created a div tag to hold my image recordset. Within this div, I have inserted 3 absolute positioned divs to hold the pictureID, the pictureName and the image inserted as a datasource. I then inserted the information from the bindings panel of my recordset. Last, I used a horizontal looper extension from Tom Muck to get the thumbnails to display in columns and rows. Everything works up to this point just fine.
    Now, I want to be able to hover or click on a thumnail image and have it displayed in a lightbox. I downloaded and used a javascript called Lightbox 2 which contains 3 javascript files and a css stylesheet. I inserted the files into the head tag like instructed to but could not get things to work properly. Here is where I need help. Currently, I am clicking on the thumbImage binding within the image Div and creating a link holder. I am then binding the larger pictureImage to it with the a.href selected in the bind to. I am then adding the command to call the lightbox javascript. Now, when I test my page, my thumbnail images do not show up (my alt text does in its place) but the links are in place and you can click on the alt text and it will return the correct larger image, but not in the lightbox, just in a new window with no styles.
    Am I going about this correctly? Can you use lightbox scripts with data-driven galleries? Does anybody have any suggestions of what I may be doing wrong or missing? Are there better ways to go about accomplishing this?
    Any help would be appreciated as this dynamic data thing has my head spinning. Although I know a database is needed to simplify the update and maintenance of the photos while allowing them to be searchable by keywords and tags also set up in the database.
    Thanks

    As I explained, I am developing locally a the moment. I will see about getting the databased moved up to the hosting server and then provide a link for an example.
    In the mean time, can you or anyone else explain a way that you would go about displaying an image thumbnail photo gallery laid out in rows / columns, with any lighbox script that would overlay the larger image over the existing page instead of opening a new browser window?
    I don't have to use the method I tried to describe.
    In all of the lightbox examples I have looked at thus far, they give instructions on how to append that javascript to a single static image or a group of static images, not images from a datasource. That is where I am getting confused.
    Don't know if this will help or not but please see code below:
    Javascript and CSS positioned in head tag
    <!--beginning of lightbox script with css -->
    <link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/protype.js" type="text/javascript"></script>
    <script src="Scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="Scripts/lightbox.js" type="text/javascript"></script>
    <!--end of lightbox script with css -->
    Calling for javascript in the galleryimage div when hovering over thumbnail image
        <!--beginning of gallery div -->
        <div id="gallery">
          <p>
            <!--beginning of galleryImage div -->
          </p>
          <table width="400" border="0" align="center" id="galleryNav2">
            <tr>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_moveFirst%>">First</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                <a href="<%=MM_movePrev%>">Previous</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                <a href="<%=MM_moveNext%>">Next</a>
              <% End If ' end Not MM_atTotal %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                <a href="<%=MM_moveLast%>">Last</a>
              <% End If ' end Not MM_atTotal %></td>
            </tr>
          </table>
          <p> </p>
          <table align="center" id="HorzLooper">
            <%
    startrw = 0
    endrw = HLooper1__index
    numberColumns = 5
    numrows = 5
    while((numrows <> 0) AND (Not rs_ssfGallery.EOF))
    startrw = endrw + 1
    endrw = endrw + numberColumns
    %>
            <tr align="center" valign="top">
              <%
    While ((startrw <= endrw) AND (Not rs_ssfGallery.EOF))
    %>
              <td><div id="galleryImage">
                <div id="galleryThumb"><a href="images/pic/<%=(rs_ssfGallery.Fields.Item("picture_url").Value)%>"rel="lightbox"><img src="images/thumb/<%=(rs_ssfGallery.Fields.Item("thumb_url").Value)%>" alt="<%=(rs_ssfGallery.Fields.Item("alt_url").Value)%>" /></a></div>
                <div id="galleryImageID"><%=(rs_ssfGallery.Fields.Item("picture_ID").Value)%></div>
                <div id="galleryImageFamily"><%=(rs_ssfGallery.Fields.Item("family").Value)%></div>
              </div></td>
              <%
    startrw = startrw + 1
    rs_ssfGallery.MoveNext()
    Wend
    %>
            </tr>
            <%
    numrows=numrows-1
    Wend
    %>
          </table>
          <p> </p>
          <table width="400" border="0" align="center" id="galleryNav">
            <tr>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_moveFirst%>">First</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If MM_offset <> 0 Then %>
                  <a href="<%=MM_movePrev%>">Previous</a>
              <% End If ' end MM_offset <> 0 %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                  <a href="<%=MM_moveNext%>">Next</a>
              <% End If ' end Not MM_atTotal %></td>
              <td width="100" align="center"><% If Not MM_atTotal Then %>
                  <a href="<%=MM_moveLast%>">Last</a>
              <% End If ' end Not MM_atTotal %></td>
            </tr>
          </table>
    <!--end of galleryImage div -->
        </div>
        <!--end of gallery div -->
    Thanks for any help or suggestions.

  • Need help with the session state value items.

    I need help with the session state value items.
    Trigger is created (on After delete, insert action) on table A.
    When insert in table B at least one row, then trigger update value to 'Y'
    in table A.
    When delete all rows from a table B,, then trigger update value to 'N'
    in table A.
    In detail report changes are visible, but the trigger replacement value is not set in session value.
    How can I implement this?

    You'll have to create a process which runs after your database update process that does a query and loads the result into your page item.
    For example
    SELECT YN_COLUMN
    FROM My_TABLE
    INTO My_Page_Item
    WHERE Key_value = My_Page_Item_Holding_Key_ValueThe DML process will only return key values after updating, such as an ID primary key updated by a sequence in a trigger.
    If the value is showing in a report, make sure the report refreshes on reload of the page.
    Edited by: Bob37 on Dec 6, 2011 10:36 AM

  • HELP: Formula Item data is not saved to database

    Hi:
    I've added a formula in a database item but when i commit the form the data is not saved to the database. When i am working on form the item reflects the formula value, but when i commit the value is not stored in the database.
    I need urgent help.
    Thanks
    Joao Oliveira

    It is not clearly stated in the help file I agree. With a little PLSQL code you could copy the item to a hidden database field and have it be saved to the database. See Note 43012.1 on Metalink for details.

  • Display '0s' for null database items Please help!

    Hi all,
    I need your help on a possible minor problem I'm encountering. I have 5 fields (all numeric data types) on my form of which, the last field is a sum (formula non-database item) of the top four items. 2 out of the remaining 4 fields are database text items in which I'd like to update the database based on user input. The table that stores the 4 values does not require data and defaults to null if no data present.
    What I'd like to do is display a '0' on the form so that its visible and it could get added to the formula sum item but not update the database fields with a '0' (if any one of those top 4 fields returns null from the table ). I've tried creating a formula in the property palette on the fields with an nvl(field,0) function and got a chain reference error that I couldn't figure out based on the oracle error suggestions. Does anyone have any suggestions on how I could handle my request. Any help would be greatly appreciated.
    Thanks,
    Eric

    Zakiy,
    I don't know much about the POST-CHANGE trigger. Did a little research and posted some code in there retrieving the nvl(field) value. It compiled ok but didn't display the '0.' I'm not sure if I used the trigger the right way.
    Here's my code:
    DECLARE
    v_points NUMBER;
    CURSOR c_points IS
    (SELECT nvl(points,0)
    FROM student
    WHERE student_id = :id);
    BEGIN
    OPEN c_points;
    FETCH c_points INTO v_points;
    CLOSE c_points;
    END;
    If this is incorrect, do you have an example from what you were thinking? Also, just out of curiosity, why do you recommend this trigger over the formula?
    From what I was mentioning before, I don't know why the formula w/the nvl works in the sum field but doesn't in the other 4 fields. The sum field is a non-database item whereas 2 others are display items and the remaining 2 are text items. Seems simple enough to use the nvl in the formula section for all 4 fields I kept getting that error.
    Eric

  • The item referred to by this shortcut cannot be accessed. you may not have the appropriate permissions, this erroe message i get every time i try to access iTunes, I need help.

    I have been having this problem for few weeks I tried to unistall it and reinstall it still didn't work I also tried to delet the shortcut by draging it to Recyle bin and find the iTunes through the c drive and send the icon or even open it from there still didn't work so I really need help here.
    Thank you

    Ok. seems like I am in bigger problem than what i thought..So i did what you asked me and here is the log from the scan
    Malwarebytes Anti-Malware (Trial) 1.62.0.1300
    www.malwarebytes.org
    Database version: v2012.07.25.04
    Windows 7 Service Pack 1 x64 NTFS
    Internet Explorer 9.0.8112.16421
    [administrator
    Protection: Enabled
    7/25/2012 8:34:03 PM
    mbam-log-2012-07-25 (20-42-53).txt
    Scan type: Quick scan
    Scan options enabled: Memory | Startup | Registry | File System | Heuristics/Extra | Heuristics/Shuriken | PUP | PUM
    Scan options disabled: P2P
    Objects scanned: 239337
    Time elapsed: 7 minute(s), 52 second(s)
    Memory Processes Detected: 0
    (No malicious items detected)
    Memory Modules Detected: 0
    (No malicious items detected)
    Registry Keys Detected: 1
    HKLM\SOFTWARE\Google\chrome\Extensions\fdloijijlkoblmigdofommgnheckmaki (PUP.Funmoods) -> No action taken.
    Registry Values Detected: 0
    (No malicious items detected)
    Registry Data Items Detected: 0
    (No malicious items detected)
    Folders Detected: 0
    (No malicious items detected)
    Files Detected: 3
    C:\Users\mer\Downloads\7zip_Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\Setup.exe (PUP.Bundle.Installer.OI) -> No action taken.
    C:\Users\mer\Downloads\SoftonicDownloader_for_mkv-player.exe (PUP.ToolbarDownloader) -> No action taken.
    So I removed everything and did the restart but still didn't work, the I used Microsoft Security Essentials and find this one: TrojanDownloader:ASX/Wimad.DS and the alert level was severe so I removed too and the problem was still there even after restarting the computer, Now I am kinda lost and I dont Know what to do.

  • Hi need help on getting customer open  items

    hi all,
    i need help regarding getting open items for customers in the previous
    ie. if i give current date,
    i want to get the open items for past 30 days from current date
    help me to get this ...
    thanks a lot
    regards,
    selvi

    or else ,
    use table BSID.
    Regards
    Peram

  • Need Help to query Lync Database for User Information

    Need Help to Query the lync database to retrieve below user information.
    1. SIP Address of the registered user
            2. Phone Number configured to the particular account.
            3. IP Address
           4. Last Logged in time.
    I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.

    Hi,
    For SIP address and Phone number you can check RTC database.
    IP Address:
    You can refer to the link below to query IP address: 
    http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Last Logged in time:
    You can refer to the link below:
    http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Need help Crystal Reports running in BO 4.1 while using Universe as database connection.

    Sorry, I may not know how to describe this in the correct technical manner, but I'll explain in as simple terms as I can.
    I open up Crystal Reports 2013 click new document
    and it begins to ask for Database Expert.
    I select Universes and log in to my Business Objects Enterprise Explorer.   I then select the Universe that I want to write my report with,
    then i save the rpt on my local machine.
    then I log into my Business Objects 4.1 CMC or BI and upload this rpt file so that I can begin to schedule the report for example...
    but the problem i have is whenever I try to run the report, 
    it asks for a prompt for my database connection...  
    it displays the Universe name, but User Name Password, I am not sure what to write,
    do I write My login for Business Objects?  do I write the user name password of the database that Universe uses?
    in CMC I see a database configuration,  I tried many combinations and still have been receiving the following error message
    The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. []
    ---- Error code:0 [CRWEB00000119]
    From all I read the point of using the Universe in Crystal reports is to be automatic in such a way that it doesnt need the database conneciton, because its technically using the Universe as the database connection....
    so what am I doing wrong here?    maybe its my database configuration,    I keep reading that it doesnt need anything...   that you upload the Crystal Reports and it would just work...
    any help with this issue would be greatly appreciated..
    thanks
    -Daniel

    Hi Daniel,
    What is the reporting DB used?
    The trick with your configuration is the following:
    - Universe Designer: 32bits application that may work fine on your desktop
    - Crystal 2013: 32bits application as well
    - When you export to the repository, Web Intelligence (64bits) has to process the Universe to extract the query.
    Your server should have the drivers required for Crystal + Universe: 32bit and 64bit versions.
    See more details on this KBA:
    https://service.sap.com/sap/support/notes/1821625
    Regards,
    Julian

  • Need help in creating Database connection to Apache 4

    I desperately need help for my project. I'm doing a shopping cart project. Created a java bean to establish connection to my sql 7 server database. But the following always appear. I'm using dreamweaver mx to create my webpage and so I use its binding and components feature.
    Here's the error message I always get..
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 36 in the jsp file: /TMP8ouafocg7v.jsp
    Generated servlet error:
    C:\tomcat4\work\Standalone\localhost\ArtGallery\TMP8ouafocg7v$jsp.java:163: Class org.apache.jsp.DBConn not found.
    DBConn connect = null;
    ^
    An error occurred at line: 36 in the jsp file: /TMP8ouafocg7v.jsp
    Generated servlet error:
    C:\tomcat4\work\Standalone\localhost\ArtGallery\TMP8ouafocg7v$jsp.java:166: Class org.apache.jsp.DBConn not found.
    connect= (DBConn)
    ^
    An error occurred at line: 36 in the jsp file: /TMP8ouafocg7v.jsp
    Generated servlet error:
    C:\tomcat4\work\Standalone\localhost\ArtGallery\TMP8ouafocg7v$jsp.java:171: Class org.apache.jsp.DBConn not found.
    connect = (DBConn) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "DBConn");
    ^
    3 errors, 1 warning
    Anyone out there, pls let me know the solution soon. Thanks!

    I was glad I came across this note. I recently started a tutorial on J2EE , and have run into exactly the same error. Have you found a solution? Can you share it with me?
    Thanks.....

Maybe you are looking for

  • After update to iOS 7.1, iPhone 4 won't work. Stuck in recovery mode. Won't restore.

    Hello, So I'm pretty baffled at this point. Last night I started downloading the iOS 7.1 update as my iPhone 4 was plugged into iTunes. The update did not complete on my phone. Instead, the dreaded "Connect to iTunes" logo appeared. After researching

  • Sort ArrayList of objects by  id

    I have ArrayList of containing 'MonthlySale' objects, below is my class. import java.io.Serializable; import java.util.ArrayList; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.

  • Loading Norton AntiVirus 10.0 in OS 10.4.2

    Tried loading my new anti-viurs product, Norton AntiVirus 10.0, and was given an alert on my iBook that I couldn't continue loading due to needing a BSD package in OS 10.4.2. What is that, and how do I make that happen in my computer? Thanks. elbowpi

  • Add Image in PDF with Alive PDF

    Hi community, i need help to add a image in PDF with Alive PDF. I try it so: [Embed(source="bilder/PDFLogo.png", mimeType="application/octet-stream" )] protected var PDFLogos:Class; printPDF.addImageStream(new PDFLogos() as ByteArray,15,5,190,0); But

  • "Allow AutoFill even for websites that request passwords not be saved." not appearing in Safari 7.0.3 prefs

    A December 2,  2013 Apple FAQ says that you can go to Mavericks:Safari:Preferences:Passwords and select "Allow AutoFill even for websites that request passwords not be saved." However, this checkbox does not appear. The features and management of iCl