How can I get the list of all canvas in the forms programatically?

I want an exemple of how to do it. I really need it to put in a template.

This is the code.
You will see how to loop through every item of every blocks of the form:
PROCEDURE Get_Canvas_Names IS
  lc$blockDeb     varchar2(60); -- start block
  lc$block          varchar2(60); -- current block name
  lc$item               varchar2(60); -- current item
  lc$Type               varchar2(20); -- item type
  lc$itemdeb     varchar2(60); -- first item
  lc$canvas          varchar2(60); -- current canvas name
  lc$tabcan          varchar2(60); -- current tab canvas name
  lc$Acanvas     varchar2(60):= ' '; -- old canvas name
  lc$Atabcan     varchar2(60):= ' '; -- old tab canvas name
  ln$NbRec          pls_integer := 0 ;  -- number of records (for know if the block is multi-records)
BEGIN
  LC$BlockDeb := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
  LC$Block := LC$BlockDeb ;
  Loop -- For each block of the form
  LN$NbRec   := get_block_property(LC$BLOCK, RECORDS_DISPLAYED) ;
  lc$itemdeb := get_block_property(LC$BLOCK, FIRST_ITEM) ;
  lc$item := LC$BLOCK || '.' || lc$itemdeb ;
  while lc$itemdeb is not null loop -- For each item
    -- visible item ? --
    IF GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE' Then
         -- Get the canvas and tab canvas name --
         lc$canvas := GET_ITEM_PROPERTY(LC$Item , ITEM_CANVAS ) ;
         lc$tabcan := GET_ITEM_PROPERTY(LC$Item , ITEM_TAB_PAGE ) ;
    End if ; -- GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE'   
    lc$itemdeb := get_item_property(lc$item, NEXT_NAVIGATION_ITEM );
    lc$item := LC$BLOCK || '.' || lc$itemdeb ;
  end loop ;
  LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ; -- next block
  exit when LC$Block is null ;
  End loop ;
END Get_Canvas_Names;all you have to do is to save each different canvas names in a pl/sql table.
Francois

Similar Messages

  • Hi ,How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi ,how can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm
    or poerwshell . i have struggled for a week
    tchocr

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I get a list of all workbooks

    Can anybody please tell me how can I get a list of all my workbooks that are on my Oracle Discoverer database without having to manually write them down? I am using Oracle Database 10g Enterprise Edition.

    Hi,
    To implement the EUL Management BA follow metalink NOTE:556932.1
    there are very simple steps you need to perform in order to use it

  • How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order.

    How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order??

    The comments list is sorted by page by default. If it's not for some reason, click the "Sort comments" button and select that option. It looks like this:

  • How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I get a list of active savepoints for the current session?

    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"
    So how can I get a list of active savepoints for the current session?
    Could you please also let me know if there is any better way to debug this issue.
    Appreciate any quick response as the issue is very critical.
    Thanks,
    Soma

    user776523 wrote:
    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"It sounds like there's an execution path in the code where the SAVEPOINT is never issued.
    There is no way to get a list of active savepoints. Is this your code or a "canned" procedure? If it is your code you can go through the code looking for answers, possibly tracing execution using DBMS_OUTPUT.PUT_LINE or writing messages to a log table. If its a "canned" procedure you may need to open an SR with Oracle

  • How can I get a list of all my apple ids

    I would like to get a list of all my apple ids ..
    as ive had many macs over the years i have one which i can remeber & i cannot use app store ?

    Hi there darryl53,
    You may find the information in the article below helpful.
    Apple ID: How to find your Apple ID
    http://support.apple.com/kb/HT5625
    -Griff W. 

  • HT203167 Computer crashed and lost all music.  How can I get a listing of all prior purchases and get them downloaded again?

    Compaq computer crashed and lost all music that was on the computer. How would I go about getting a listing of all purchased items and download them again? I know when i first got set up it said I could download up to 2 times when purchased and I have only downloaded once.  But need a listing of songs as well.

    One thing that I also recommend in the future is to back your iTunes library up relatively regularly.  You can get your purchases in the cloud just fine, typically, but at the very least, it will save some time by backing it up.

  • I have a user who has permissions on site A B C 's some libraries. How can I get a list for all the contents the user have permission for?

    The user has permissions on site A B, and C. within the sites, the user has permissions on some lists/libraries.
    how can i retrieve an entire list to see what the user has permissions on?
    thank you 
    I might be a newbie in some area. But I'm working hard. :)

    You can get the report using powershell, please check below posts
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a3252bf-cb03-4488-9a0d-f4e0ce07d497/user-permissionsaccess-report-in-sharepoint-site
    http://reality-tech.com/2011/12/30/reporting-on-all-user-permissions-in-a-web-application/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How can i get a list of all the apps i purchased last year?

    i would like to get a summary of all the apps i purchased as well as the prices

    Open App Store and sign in with your Apple ID. Click on the Purchase icon in the toolbar. This will list out all your App Store purchases. It will not list prices, but you can look those up for each purchased application.
    There should also be an account summary. Click on the Account link under Quick Links on the right.

  • How can i get a list with all devices that have the same icloud account for iMessage, FaceTime, Reminders, etc...

    Hi, I want to know which devices (iMac, MacBook, iPod, iPhone, iPad & PC) are using my iCloud account, specifically because of iMessage going to devices that im not aware of.
    A list of those devices would be great.
    I do have a list of the ones with find my i activated, but i want the full list. Or at least the ones being used by FaceTime or iMessage!
    Thank you in advance!

    I don't think there's a single place that will give you a list but you can check your devices to create one.  On your iOS devices go to Settings>Messages>Receive At and check the Apple ID at the top.  You can check FaceTime at Settings>FaceTime.  You can check iCloud at Settings>iCloud>Account.  On your Mac go to System Preferences>iCloud> click on Account Details.  On your PC go to Start>Control Panel>Network and Internet>iCloud (you Apple ID is listed on the left).

  • How can I get a list of all channels of a device?

    I'm writing a software for use in a couple of our labs to be run as an executable i.e. without LabView being installed on all machines.
    Now there's also a couple of different daq hardwares in use. So I planned to have a config tool where the user can choose the appropriate - physical, not virtual - daq devices and channels like: temperature 1 measured by device 1, analog input 2.
    Therefore I'd need a list of all available daq devices (which is somewhat possible) together with a list of all channels of a particular device. Is there any way to get this?
    Unfortunately I don't want to use virtual channels since I don't want to bother the user with configuring them and btw I don't know if virtual channels work wit
    h the pure run-time module of an executable.
    Thanks!
    Daniel

    Hello Daniel,
    You can use virtual channels with executables and there is actually a way to transfer the virtual channel configurations to the target computers so your users would never need to mess with configuring virtual channels. Once you have configured virtual channels, you can save the configuration within a .daq file. You can then include that .daq file as a support file of the executable and programmatically set the configuration of the target machine. The linked document below illustrates how to accomplish this.
    How Do I Port a DAQ Configuration File With an Executable?
    http://digital.ni.com/public.nsf/websearch/CB83B101E19EF83086256A3E0054206C
    If you do not want to use virtual channels, the only other thing I can think of is to use the Get_D
    AQ_Device_Info VI or function call. You can get a device code when using this VI or call and each code is associated with a specific instrument. You would then have to know (use the device's user manual) to determine how many channels the corresponding device has. Without virtual channels, you would have to use a channel number (0,1,2,...etc) and would not be able to use a string ("temperature 1 measured by device 1").
    So, I think using virtual channels and transferring the .daq file to the target machines with the executable will be the best option. I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • How can I get a list of all DCHP clients of my Airport Extreme?

    I'm trying to troubleshoot network problems, and I can't figure out how to get a list of DHCP clients.  In Airport Utility 6.3.1, it lists the wireless clients when I click on the airport icon, but it doesn't list the wired clients.  Running around the house looking at the network settings of every wired device isn't a lot of run.
    I saw posts that said to download Airport Utility 5.6.6, but the installer gives an error (I'm running OSX 10.7.5), so I can't get that to run.
    Speaking of trying to troubleshoot problems, I don't see any logs accessible from Airport Utility.  How should I get at those?
    Thanks.

    I was not able to install 5.6
    You might be using Mavericks. Apple shut the door on 5.6 workarounds in Mavericks.
    I can understand the need to keep things simple, but SOME level of advanced information (like wired client addresses) should be available on an advanced screen.  Extremely frustrating.
    You might want to tell Apple this.
    Apple - AirPort Extreme - Feedback

  • SCC question - how can I get a list of all line items and minor line items associated with a single contract?

    Current;y have to expand each major line item and check all the minor line items, I just want a list of SNs associated with the contract.  Any way to get this mailed to me every month?

    Hi
    I am sorry to see you are having problems
    I suggest you contact the forum mods they should be able to get this problem sorted for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
    They normally reply by email or phone directly to you within 3 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
    They are a UK based BT specialist team who have a good record at getting problems solved
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • How can I get a Listing of all scheduled reports from Crystal Server 9?

    Hello,
    Can anyone help?
    A colleague and I are trying to find out when we can schedule a server reboot (Crystal Reports 9). We can look at individual jobs but we don't seem to be able to find a list of all the jobs and when they occur.
    We need to do this as we would like to schedule a regular server reboot without interrupting jobs.
    As you may be able to tell, my colleague and I have little Crystal knowledge, but we have found our selves looking after this server.
    Thanks in advance.
    Edited by: Paul Hopkins on Nov 24, 2008 2:26 PM

    Hi Paul,
    Thanks for your response.
    Do you remember what kind of installation process you have followed while installing your crystal enterprise.
    It will prompt for client installation and server installation.
    If you have installed client products then you wont have instance manager in your list of products.
    Else  if you don't have instance manager in crystal server 9, then for buying the product you should contact your accounts manager.
    He can reach the CIC people through your company and based on your license agreements you can the product.
    Just let me know if you have any queries.
    Regards,
    Naveen.

Maybe you are looking for

  • Can't delete hidden file from top level

    Screen grab of what's happening: I used to have it as a startup item until it wouldn't login correctly after a reboot (no login, guest login) I then deleted it from my startup items but it still shows up every reboot. I can't delete it, I can't eject

  • No English language setting with European date formatting available

    The English language setting in my iPod bought in Finland forces date format to the American MM/DD/YYYY style. There is no English language setting that would result in the European DD.MM.YYYY or DD/MM/YYYY format. Either making date formatting separ

  • Filenames within the Aperture container

    I have recently bought Aperture and, having transferred all my photographs into it (>200Gb), I am now trying to move the Aperture library to my file server where I have plenty of storage space. However, when I tried to copy the file to my server whic

  • Calling SSIS package from C# Windows Service Fails

    Hi All. I've got an SSIS package that reads from an Excel file and populates a database. The Excel file location gets passed in to the package as a variable. Also the Protection Level of the package is set to EncryptSensitiveWithPassword. This all wo

  • Channel data

    What is te best way to access data from a multi channel task?  My attached Vi deals with 30 differential channels (PCI 6255), I am using subarray function as I need to use formula node structure. is there a better way? PLz also tell how to improve my