Setting a '%' after the enter_query command...

Hi,
I have written an "enter_query" command in WHEN-NEW-FORM-INSTANCE....
After that i want to set a '%' into a block item which is dababase based.....
How can i do that.....????
I use Dev10g
Thanks,
Simon

On behalf of using the same standard (code,colors... on template) i don't want to use.....it....????
Isn't there any other solution...????
I have tried various solutions(built-in procs) .....
:<block_name>.<item_name>:='%';
copy('%','<block_name>.<item_name>');
in both PRE-QUERY and afterwards the enter-query command(in when-new-form-instance)... but no desired result....- i mean the character '%' is not written in the block item!!!!!
Thanks....anyway,
Simon

Similar Messages

  • I can't print any web page. after the print command, it wants to save xps files. on cannon printer. vista system

    can't print any web page. after the print command, it wants to save as a xps file.
    == This happened ==
    Every time Firefox opened
    == after up grade to 3.6.6 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

    I found that Firefox/XPS had deleted all printer driver setups except for the XPS connection. I had to reinstall my printer connection in order to have that selection present in the printer dialogue box.

  • Suddenly, I can't print any web page. After the print command, it wants to save it as a XPS file.

    suddenly I can't print any web page. After the print command it wants me to save as an XPS file and I can't get past that.
    == This happened ==
    Every time Firefox opened
    == few weeks ago

    I found that Firefox/XPS had deleted all printer driver setups except for the XPS connection. I had to reinstall my printer connection in order to have that selection present in the printer dialogue box.

  • New line in smartforms after the enter command .

    Hello experts ,
    I get text from a text box , and i need to display it in table field on my form.
    After the user push the 'ENTER' button during inserting the text , i need to display this text in a new line
    How can i  do this ?
    Thanks for your help.
    AVI.

    Hello Sakkthiss.R ,
    For example , the user write the following text :
    Hello world
    today is
    a nice
    day
    After every line in this text the user push the enter button, in the table filed which will be display in the form, the text should be display as it is written below.
    I hope it is clear now.
    Thanks for your help,
    Avi.

  • Permissions will not set, even after using terminal commands?

    Hey,
    I found a thread on here for using the terminal to type in commands for the user permissions and for the PSIX permissions on Leopard (10.5) server.  These commands are supposed to clean the server of all underlying(hidden) permissions that you cant see and then you are supposed to be able to then set the permissions again and finally, to hit "Propagate Permissions" so that all the permissions set for the shared volume then get farmed out to all sub files/folders.  This did not work when I tried it in the terminal, it said "Command not found" even after I typed in the admin password.  Is there anyone out there who can tell me the actual way to fix the old permissions and get new ones set?
    The story is:  We had an old server on a G4 when i first took control of the server, I took the shared hard drive out of the G4 and inserted it into a G5 and started using it with the leopard server.  the permissions did not really need to be set on that volume because they had carried over from the last time they were shared.  But we recently just got a Drobo unit for our server and I recently transferred all the shared files and folders over to the new volume, but ever since I cant get the permissions to farm out to all the stations, it shows me that its done on the server.  But when I go to access the files I am able to delete faculty folders where I had set the permissions to "read only" so I am wondering if there is a streamlined way of going about this or if I should just start from scratch and use all brand new HDD's?
    Please Help!

    Hi ..
    Try the tips mentioned here > Mini-tutorial: Force-deleting stubborn or problematic files in Mac OS X

  • Photos dont set right after the up date on screen

    after I dated 7.0.4 the screen photos do not fit the screen like they did before the up date...I tryed everything..they worked great before the up date for the ipad

    I did run disc utility off the install disc and ran disk repair on both the volume and permissions before running the verbose mode. Do you think it would make sense that I still get that corrupt mDNSResponder.plist file? Just curious.
    Unfortunately, the Disk Repair feature of the Disk Utility does not necessary "fix" corrupted .plist files ... so, yes, I would think that you could still have a corrupted mDNSResponder.plist file even after running it.
    Do you have any idea what that mDNSResponder.plist file may be and if it could be related to setting file sharing or turning off my firewall, both of which I did right before this problem?
    OS X uses the mDNSResponder process for both unicast DNS and Bonjour functions. Unicast DNS resolution is used to resolve hostnames like www.google.com. It would be related to file sharing as it would be necessary for local host name resolution.
    To boot off a clone, power-down your Mac. Plug in the clone drive, and then, power-up the Mac again. Your Mac should find and boot off the bootable clone drive.

  • Changing label set names after the fact

    Hi,
    Let's assume I have applied the standard labels to a set of images. Now, I decide that Red, Green, Blue,... are not self explanatory enough and I change the names of the default label set (this also applies to a custom label set).
    Problem: for all images marked with the original label set, the label color switches back to white because the new names are not recognized.
    How can I make the new names apply to the already marked images?
    Thanks in advance.
    Patrick

    John,
    Glad you got it set now
    That's not the case. My previous message explained what I exactly did but as I said, this procedure failed. When I deleted the temporary collections that I created (one for each label), all labels were switched to Custom (white). Here is exactly what happened:
    1. I started with the standard label names (Red = Red, Green = Green,...). I had a lot of images in various folders marked with these labels.
    2. I created a collection for each label (Red Collection containing only images with the red label, Green collection,...)
    3. I changed the label names (Red = To be fixed, Gree = Ready to print,...)
    4. I selected each collection and applied the corresponding new label. No problem.
    5. Once all marked images had the label with the correct (new) name, I deleted the temporary collections which were now useless.
    6. After I did this, all marked images were assigned the same label (Custom = White). All previous label attributes were lost.
    It seems that labels are valid only within a collection and that the same image can have different attributes depending on whether you look at it through a collection or directly in a folder. So the whole approach doesn't work.
    Regards.
    Patrick

  • Red number 1 over the setting app after the new update.

    I just updated to the new update (iOS7), now there is a red number 1 above my settings app.  I am not sure how to get rid of this.  Any suggestions??  Thanks!

    Sorry, for next time so you understand where to find it..
    Click the icon for the TC and the status will show.. you can then see details for status.
    A description of the problem will appear along with edit which opens the full airport utility to allow you to fix the issue. But it is probably in your case just typical Mountain Lion has lost its network marbles and cannot find the TC anymore.. or the TC lost its marbles and cannot find the modem.. especially over wireless losing ones marbles is fairly common.

  • WEBUTIL problems importing a file with the HOST command.

    We are investigating a problem where the users are trying to import a file in from the webserver to be used by the application. The users have successfully moved the file from their local PC to the application server. But, when we perform a HOST command to have the form moved to the UNIX directory, the form hangs. The very last statement of the .BAT file used in the HOST command does the move of the file. And, we can see the entire file in the UNIX directory, we just don't get return back to the form.
    I added displays before and after the HOST command in the form. I see the display before the command but don't receive anything after. The weird thing is this is only happening in our development server. The same issue is not happening in production. Also, if I run the form in client server mode, it works fine also. So, it has to be something on the development application server.
    If anyone has any advice, I would appreciate their help.
    Thanks.

    On the server (assuming Windows since you mention a batch file), locate the Oracle Process Manager Service (for mid tier) on the MS Services Console. Open the properties for this service and click on the "Log on" tab. Check the box labeled "Allow service to interact with desktop".
    That said, if you are executing a batch file on the Windows server to transfer another file to a Unix machine, the above likely won't work either. This is because Windows will not allow a service permission to access network resources (for security purposes). In this case, rather than the above, you will need to change the same setting so a real domain user and not the "Local System" account.

  • Error message"Could not complete the Save command......

    Sometimes when I open Photoshop CS6 (cloud version) and I try to save my work I wil get an error message: "Could not complete the save command because the document is currently being saved in the background. Please try the operation again after the Save Command has finished" Well the background save never finishes and I end up having to restart Photoshop and lose all my work. Any ideas. I am running Windows 7, core i& quad procewssor and 12 gigs of ram.
    Thx

    Hi Chris!
    Yes. I did that after the first time it happened and then it happened again.  Here is my system info:
    Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 3073 MHz
    Built-in memory: 12279 MB
    Free memory: 6264 MB
    Memory available to Photoshop: 10996 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: ATI Technologies Inc.
    Video Card Renderer: AMD Radeon HD 6800 Series
    Display: 1

  • Can't set brightness after screen blanking

    After last update, I can't set brightness after the screen goes off because of inactivity, before that everything works normally.
    When I reboot brightness setting works, as is after suspend/unsuspend.
    The laptop is Dell Latitude D830.
    Any ideas?

    b4d wrote:
    After last update, I can't set brightness after the screen goes off because of inactivity, before that everything works normally.
    When I reboot brightness setting works, as is after suspend/unsuspend.
    The laptop is Dell Latitude D830.
    Any ideas?
    Can you share your kernel version and graphics controller information, please? I had a similar issue with my graphics controller after upgrading to the 3.x kernel in core.

  • Reading columns after a "fetch_rows" command

    Dear All:
    Could somebody help me with this issue?
    The following is a sample code to declare, open and fetch a Dynamic Cursor using BIND_ARRAY command ...
    declare
    c number;
    d number;
    n_tab dbms_sql.Number_Table;
    indx number := -10;
    begin
    c := dbms_sql.open_cursor;
    dbms_sql.parse(c, 'select cod from emp order by 1', dbms_sql);
    dbms_sql.define_array(c, 1, n_tab, 10, indx);
    d := dbms_sql.execute(c);
    loop
    d := dbms_sql.fetch_rows(c);
    /* The problem is here ...... */
    /* After to read the first row, I can not identify a way to read the following row fetched, how can I read the first 10 rows fetched and stored in n_tab variable? */
    dbms_sql.column_value(c, 1, n_tab);
    exit when d != 10;
    end loop;
    dbms_sql.close_cursor(c);
    exception when others then
    if dbms_sql.is_open(c) then
    dbms_sql.close_cursor(c);
    end if;
    raise;
    end;
    The problem is that I can not identify a way to read each row fetched in n_tab after the fetch_rows command, It's supposed that n_tab store 10 rows each time, but how can I read these 10 rows? Is it enough with the column_value command? after this Do I have to reference each row by n_tab[1], n_tab[2] .... n_tab[10] to read the codes fetched?
    Thank you to everybody for your attention
    Regards
    Josi

    Dear All:
    Could somebody help me with this issue?
    The following is a sample code to declare, open and fetch a Dynamic Cursor using BIND_ARRAY command ...
    declare
    c number;
    d number;
    n_tab dbms_sql.Number_Table;
    indx number := -10;
    begin
    c := dbms_sql.open_cursor;
    dbms_sql.parse(c, 'select cod from emp order by 1', dbms_sql);
    dbms_sql.define_array(c, 1, n_tab, 10, indx);
    d := dbms_sql.execute(c);
    loop
    d := dbms_sql.fetch_rows(c);
    /* The problem is here ...... */
    /* After to read the first row, I can not identify a way to read the following row fetched, how can I read the first 10 rows fetched and stored in n_tab variable? */
    dbms_sql.column_value(c, 1, n_tab);
    exit when d != 10;
    end loop;
    dbms_sql.close_cursor(c);
    exception when others then
    if dbms_sql.is_open(c) then
    dbms_sql.close_cursor(c);
    end if;
    raise;
    end;
    The problem is that I can not identify a way to read each row fetched in n_tab after the fetch_rows command, It's supposed that n_tab store 10 rows each time, but how can I read these 10 rows? Is it enough with the column_value command? after this Do I have to reference each row by n_tab[1], n_tab[2] .... n_tab[10] to read the codes fetched?
    Thank you to everybody for your attention
    Regards
    Josi

  • Custom SharePoint 2010 designer page throws "The data source control failed to execute the insert command" exception while adding the new item after the August 13, 2013 CU has installed

    We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
    August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values)     at
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65  w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
    failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)     at System.Web.UI.DataSourceView.Insert(IDictionary
    values, DataSourceViewOperationCallback callback)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65* w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
    Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
    instead of only "Daughter".
    Please provide the solution to get rid of this issue.
    Thanks
    Ramasubbu

    Try below:
    http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
    http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
    While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
    'i' and I was working with an Edit Form. Changing it to
    'u' as it was with every other FormField fixed the issue.
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
    />
    Explanation:
    DataBind operation type parameters (the first parameter) are listed below:
    'i' stands for INSERT,
    'u' stands for UPDATE,
    'd' stands for DELETE.
    http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

  • Objects not created after the AT USER-COMMAND

    Hi experts, gud evening. I'm new to ooabap. in my prog. after the at user-command the objects are not getting created. so i've created even before that. even then i couldn't get that created. so pls help me where the prob. is
    Prog :
    REPORT  yrj_my_oops.
          CLASS cl_vbak DEFINITION
    CLASS cl_vbak DEFINITION.
      PUBLIC SECTION.
        METHODS : load_data IMPORTING value(im_kunnr) TYPE vbak-kunnr,
                  display_head,
                  write_data.
      PROTECTED SECTION.
      PRIVATE SECTION.
        DATA : it_vbak TYPE TABLE OF vbak,
               wa_vbak TYPE vbak.
    ENDCLASS.                    "cl_vbak DEFINITION
    DATA : w_vbeln TYPE vbak-vbeln.
          CLASS cl_vbap DEFINITION
    CLASS cl_vbap DEFINITION.
      PUBLIC SECTION.
        METHODS : load_data IMPORTING value(im_vbeln) TYPE vbak-vbeln,
                  write_data.
      PROTECTED SECTION.
      PRIVATE SECTION.
        DATA : it_vbap TYPE TABLE OF vbap,
               wa_vbap TYPE vbap.
    ENDCLASS.                    "cl_vbap DEFINITION
          CLASS cl_vbap IMPLEMENTATION
    CLASS cl_vbap IMPLEMENTATION.
      METHOD load_data.
        SELECT * FROM vbap INTO TABLE it_vbap WHERE vbeln = w_vbeln.
      ENDMETHOD.                    "load_data
      METHOD write_data.
        LOOP AT it_vbap INTO wa_vbap.
          WRITE : /5 wa_vbap-posnr,
                  20 wa_vbap-matnr,
                  35 wa_vbap-arktx,
                  70 wa_vbap-netpr.
        ENDLOOP.
      ENDMETHOD.                    "write_data
    ENDCLASS.                    "cl_vbap IMPLEMENTATION
          CLASS cl_vbak IMPLEMENTATION
    CLASS cl_vbak IMPLEMENTATION.
      METHOD  load_data.
        SELECT * FROM vbak INTO TABLE it_vbak WHERE kunnr EQ im_kunnr.
      ENDMETHOD.                    "load_data
      METHOD display_head.
        WRITE : /5 'Order No.',
                15 'Order Date',
                30 'Net Value'.
      ENDMETHOD.                    "display_head
      METHOD write_data.
        LOOP AT it_vbak INTO wa_vbak.
          WRITE : /5 wa_vbak-vbeln,
                  15 wa_vbak-audat,
                  30 wa_vbak-netwr.
        ENDLOOP.
      ENDMETHOD.                    "write_data
    ENDCLASS.                    "cl_vbak IMPLEMENTATION
    PARAMETERS : p_kunnr TYPE vbak-kunnr.
    DATA   : o_vbak TYPE REF TO cl_vbak,
             o_vbap TYPE REF TO cl_vbap.
    START-OF-SELECTION.
      SET PF-STATUS : 'YRJ_MY_OOPS'.
      CREATE OBJECT o_vbak.
      CREATE OBJECT o_vbap.
      CALL METHOD o_vbak->load_data
        EXPORTING
          im_kunnr = p_kunnr.
      CALL METHOD o_vbak->display_head.
      CALL METHOD o_vbak->write_data.
    AT USER-COMMAND.
      w_vbeln = sy-lisel+4(10).
      CASE sy-ucomm.
        WHEN 'BACK' or 'EXIT'.
          LEAVE LIST-PROCESSING.
        WHEN 'ITEM'.
         CREATE OBJECT o_vbap.
          CALL METHOD o_vbap->load_data
            EXPORTING
              im_vbeln = w_vbeln.
          CALL METHOD o_vbap->write_data.
         WHEN OTHERS.
      ENDCASE.

    Hi,
    I dont see any problem with you code. I ran your code in my system and worked fine. Except for one thing that is you need to do a conversion exit on the w_vbeln before selecting data from VBAP in method load data. This is because when you ouput the data, the VBELN is converted to external format and thus needs to be converted to internal format if you want to do further selects based on it.
    CLASS cl_vbap IMPLEMENTATION.
      METHOD load_data.
    " Add this , so it converts the VBELN to internal format.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = w_vbeln
          IMPORTING
            output = w_vbeln.
        SELECT * FROM vbap INTO TABLE it_vbap WHERE vbeln = w_vbeln.
      ENDMETHOD. "load_data
      METHOD write_data.
        LOOP AT it_vbap INTO wa_vbap.
          WRITE : /5 wa_vbap-posnr,
          20 wa_vbap-matnr,
          35 wa_vbap-arktx,
          70 wa_vbap-netpr.
        ENDLOOP.
      ENDMETHOD. "write_data
    regards,
    Advait

  • Executing multiple IOS commands one after the other with a delay

    Hi -
    As part of my monitoring solution, I have scheduled scripts running on my routers to do various tasks, now I am trying to do trace route to about 10 routers from a seed router to track the path of the trace and if it changes i would be alerted.
    What I am having difficulty is doing one trace commands from a text file. Example follows:
    Trace 10.10.10.1
    Trace 10.20.10.1
    Trace 10.30.10.1
    The command will stop right after the first line, is there a way in IOS to do a “wait” statement between each command to get this going?
    Regards
    Daya Rajaratnam

    Correct, you need 12.3(2)T or higher (for router IOS).  Tcl is also available in many other non-router platforms.  Yes, you do need to be enabled. for tclsh.  For EEM, though, you do not need to be enabled.  You can register an EEM policy, then anyone on the box can execute it.  EEM is also built around Tcl, so the same code could be added to such a policy.  For example:
    ::cisco::eem::event_register_nonenamespace import ::cisco::eem::*namespace import ::cisco::lib::*array set cliarr [cli_open]set output {}foreach host [list x.x.x.x y.y.y.y z.z.z.z] {    append output [cli_exec $cliarr(fd) "traceroute $host"]    after 3000}cli_close $cliarr(fd) $cliarr(tty_id)puts $output
    EEM Tcl policies require 12.3(14)T or higher for router IOS.

Maybe you are looking for