Calling form with new db connection

Hi all,
This is my problem. I have a requirement to call a form from the when-button-pressed trig of a different form and connect to that called form using a different username/password/connect string. I used logout and logon to do it and it works fine for me (or this machine). My problem is that it doesn't work for anyone else. Whenever anyone else tries the same button (including myself logged into the form on a different machine) they get the error ORA-01012 Not Logged On.
I have the following code in the pre-form trigger of the called form :
logout;
Logon ('scott','tiger'| |'@'| |'dev');
AS I said it works for me on this machine. What am I missing? Thanks in advance.
Required info:
Forms [32 Bit] Version 6.0.5.0.2 (Production)
Oracle Toolkit Version 6.0.5.6.0 (Production)
PL/SQL Version 8.0.5.1.0 (Production)
OPerating sys: windows 2000
Database Oracle 8.0.6.1.0

make sure that the same database alias is configured in the tnsnames.ora on all the machines.

Similar Messages

  • You cannot open window  Service Call Form with your current license  8.8

    Hi Expersts,
         I am trying allocate license for users in 8.8 (PATCH 09) , I am assigning properly but when log in to assigned user i am continously getting the following error. again i checked license has been allocated correctly. it is a CRM License
    Kindly help
    You cannot open window [60110] Service Call Form with your current license
    Regards
    Mohamed

    Dear Mohamed,
    This issue probably occurs due to the application error described in the SAP Note [1456922|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1456922].
    When login B1 with incorrect upper/lower cases for the user name (eg. The user name is registered "manager" but login as "Manager"), the user can login successfully but fails to open a certain form window the user has permission.                                                        
    This issue is planned to be fix in a Patch of 8.8.
    As workaround, until the issue will be fixed, the users should use exactly the same user name as itu2019s represented in the OUSR table, with case sensitive user code.
    hope it helps,
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • ADD ROW in tabular form with new max value for a certain field

    All,
    I have a tabular form with an 'ADD ROW'-button.
    When a row is added the field 'TemplateID' should get
    automatically a new value which is MAX from TEMPLATEID + 1.
    I would be very glad, if someone has a hint for me.
    Thanks in advance,
    lucio

    Hi
    the cause of not seeing the 'Default Item Field' is,
    that during creation of a 'Tabular Form' the column with the
    primary key doesn't get that feature, why so ever.
    I still hope that someone could give me a hint why that code isn't working:
    function SetNewID(vDBID)
    v_check = $v('P20_MAX_TEMPLATEID');
    pNd = $u_Carray(vDBID);
         for(var i=0;i<pNd.length;i++){
              var node = $x(pNd);
              node = $x_Check_For_Compound(pNd[i])
              var lTr = $x_UpTill(node,'TR');
    updateRow = lTr.rowIndex - 1;
    document.wwv_flow.f02[updateRow].value=$v(v_check)
    Many thanks in advance
    lucio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Calling form with value problem

    Hello All,
    Platform: forms 6i
    calling form- quot.fmx
    called form- inv.fmx
    Value to pass: ref_no
    on Calling form-> button-> when-button-pressed-trigger
    DECLARE
    P PARAMlist;
    BEGIN
    P:= CREATE_PARAMETER_LIST('ABC');
    ADD_PARAMETER(P,'A_REF_NO',TEXT_PARAMETER,:ref_no);
    CALL_FORM('D:\clean\inv.FMX',NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,P);
    DESTROY_PARAMETER_LIST(P);
    END;On Called form-> Parameter created-> a_ref_no
    when-new-block-instance trigger
    SET_BLOCK_PROPERTY('inv',DEFAULT_WHERE,'ref_no:='||:PARAMETER.A_REF_NO);
    EXECUTE_QUERY;When i am clicking om button form is opening but no value in inv.ref
    Please help.

    ref_no datatype is number and we are creating text_parameter. Is this creating problem?Why do you have the leading Zero's if REF_NO is a NUMBER? Oracle will automatically strip the leading Zero's unless you specify REF_NO as a VARCHAR2. Your code sample used 000001 so this implied your REF_NO was a VARCHAR2. Is the Data Type of :PARAMETER.A_REF_NO a NUMBER or a CHAR? If it is a CHAR, you will need to cast the value to a NUMBER using the TO_NUMBER() function. You can't rely on Oracle to implicitly convert the CHAR to NUMBER - in fact - Oracle strongly recommends you always cast data type conversion rather than relay on implicit conversions.
    And wht do you mean by where clause in forms? are you talking about data block------properties-----------Query data source type------ From clause query------------ (WHERE ref_no=:PARAMETER.A_REF_NO)>
    Is your Datablock based on a From Clause Query? If yes, you can't using the BLOCK WHERE property to filter your block records. You will have to alter the From Clause Query each time. Let me know if you are using a From Clause and I'll show you how to make this work.
    Craig...

  • Open calling form in new browser window

    HI,
    I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
    Any idea ?
    Regards
    Ramesh babu

    If you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
    (1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
    (2) as (1) might lead to suspect, you are in a new database session.
    Why do you want to do this?
    Cheers, APC

  • How to populate smart form with new values

    Hi!
    I am new to smart form . Can anybody help me in how to populate smart form with some new fileds. Actually i have to populate credit memo form with some customized values..

    Hello,
    Please elaborate your query more in order to be comprehendable.
    Regards,
    Shehryar

  • IAS calling forms with parameters

    Hi,
    we are using IAS, and i want to logon oarcle applications sesion by calling a form (via url). In addition i would like to pass parameter to the form at the same time. Is that posible? How can i do it?
    Thanks in advance
    Julio

    if you are using the forms servlet you can pass your parameters on the URL that calls forms otherparams=p1='10'

  • Call form in new browser window

    Hello all,
    I am trying to call a form that will appear in a new browser window, but be part of the same forms application. I am able to call the applet by using web.show_document, however you must log on to the forms services before you can access the form. I would simply like to click a button and have it call a form that opens in a new window. I am doing this for our data entry techs that need to utilize dual monitors looking at 2 separate tables.
    Thanks in advance,
    -Jordan

    Be aware that there are limitations with Forms if you are trying to run the application on the secondary monitor. Known issues related to dual monitors have been corrected in the upcoming patch set for 10.1.2. This patch is due for release soon (exact date unknown). A one-off patch is also available for 9.0.4.3.
    Take a look at this thread for more details:
    Users with two monitors

  • ABAP proxy client call PI with new client 120 in old business system

    Hi all
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    Will it work or we need to do some extra configuration for communication channel.
    Also please let me know how to configure Integration Directory for sender agreement, Receiver Agreement and the communication channel.
    Thanks in Advance.

    Hi Naina ,
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    > hope the technical entry of CRM is already in SLD . So you just need to make a business system entry . point the business sytem to the technical system entry with the right client here 120 .
    Will it work or we need to do some extra configuration for communication channel.
    > since sender is client proxy you don't need to do anything in case of receiver proxy you will be needing reciver communication channel of XI adapter type .
    for proxy based communication your application system(other than PI/XI) should be able to make a proxy call to XI or receive a call from XI .for this purpose you need to make some settings at R/3( or CRM level)
    For this check blog  : /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Abap proxies ( Client and Server proxies)
    Other steps i.e Interface determination/receiver determination are as usual .
    Regards ,

  • Call  form   with out  broken image icon

    Question: How can fit the tags of a <form> into a small
    cell without the tags causing misalingment in the table?
    I need to put a PayPal button on my site. The shopping cart I
    was using up until now used only a link so I simply used hotspots
    on button images. This new PayPal button sends information from my
    site to PayPal with a <form>. The problem I am having is with
    the elements in the red dotted form box ( yellow tags and broken
    image icon). I have made the yellow tags invisible but the grey
    broken image icon won't fit into the small cell( 86x22 ) of my
    sites menu bar with out misaligning the table of cells. I spent
    considerable time building my menu bar from layers so I would like
    to keep intact.
    The gray broken image icon shows because PayPal requires
    that you copy the button image location directly from the browser
    webpage <input type="image" src="
    http://www.glotosleep.com/images_2007/img_buy_now_paypal.gif"
    Thank You for any help. I am sure there is a simple solution
    I just was not able find it anywhere on the net.
    my site is www,glotosleep.com and the button i would like to
    link to the PayPal form is the "Buy Now" in the menu bar

    Question: How can fit the tags of a <form> into a small
    cell without the tags causing misalingment in the table?
    I need to put a PayPal button on my site. The shopping cart I
    was using up until now used only a link so I simply used hotspots
    on button images. This new PayPal button sends information from my
    site to PayPal with a <form>. The problem I am having is with
    the elements in the red dotted form box ( yellow tags and broken
    image icon). I have made the yellow tags invisible but the grey
    broken image icon won't fit into the small cell( 86x22 ) of my
    sites menu bar with out misaligning the table of cells. I spent
    considerable time building my menu bar from layers so I would like
    to keep intact.
    The gray broken image icon shows because PayPal requires
    that you copy the button image location directly from the browser
    webpage <input type="image" src="
    http://www.glotosleep.com/images_2007/img_buy_now_paypal.gif"
    Thank You for any help. I am sure there is a simple solution
    I just was not able find it anywhere on the net.
    my site is www,glotosleep.com and the button i would like to
    link to the PayPal form is the "Buy Now" in the menu bar

  • Time Machine re-Backuping with new network connection!

    Hi,
    I have an early 2011 MacBook Pro, running 10.8.5. I have a new 3TB Time Capsule I set up last Sept 25 (2013). Well, when I did that I backed up the MacBook to the Time Capsule via WiFi (about 100GB of data). And used WiFi ever since.
    Well today I connected my MacBook to my local network via an Ethernet cable. Both WiFi and Ethernet conections are on my same local network. All was working well. Then after a couple hours I noticed the Time Machine was backing up, so I opened the Time Machine to see what it was doing and I see it was backup up 25GB of data!!! And it said "Oldest backup: September 25.2013"!!
    I then noticed the size of the backup kept growing, "Backing up 25GB of 26.1GB" became "Backing up 32GB of 33.1GB"!! ....both numbers just kept growing! And using up space on my Time Capsule! I finally selected "Stop Backing Up".
    I just restarted the backup, and the same thing is happening! Why is it doiong this? Why is Time Machine apperantly backing up all my files again to the same backup on the Time Capsule? Simply because I change the network connection?? Will it re-backup up another 100GB+ if I go back to using WiFi??
    Why can't I use WiFi OR Ethernet with Time Machine??
    I have turned off Time Machine on the MacBook until I can figure out whats going on here.
    Thanks,
    Jeff

    I used "Verify Backups" from the TM menu, I saw it was verifing the backup so I went to do something else, it was going to take a while....when I came back it appears to have completed the Verify.....but there is no message as whether it was sucessful or not??? eeeee
    PS How come spell checker doesnt work on these forums??

  • Can't set up TC in new apartment with new Internet connection

    I'm trying to set up a Time Capsule in my new apartment. I can't. Here's an outline:
    --I just moved (from the Southwest back to the Northeast). I set up my TC for the first time in the Southwest and used it as a wireless router with the DSL service I had there. I never had problems.
    --I just had Internet service set up in my new apartment here (cable). I connected the modem to my TC. At first, the TC flashed amber; my MacBook detected the device but gave an error message that said that it was not connected to the Internet. I followed an online tip and disconnected the modem from its power source for a short time before reconnecting it and connecting it to the TC again. The TC's status light went solid green--and then went back to flashing amber. It now seems to alternate every few minutes.
    --I'm able to use the TC as a non-wireless router without problems (that is, I have an ethernet cable running from the cable modem to the TC's main input and another running from one of its outputs to my laptop). What's more, my Airport utility seems to think it's connected to the wireless network I set up on the TC (it shows a checkmark next to the network's name). But the only way I'm connected is with the ethernet cable.
    Any suggestions? Thanks.

    I suggest trying the following:
    o Power-down the modem, TC & computer(s). Order is not critical.
    o While powered-down, perform a "factory default" reset on the TC. When done, power-down the TC.
    o Power-up the modem; wait at least 10-15 minutes.
    o Power-up the TC; wait at least 5-10 minutes.
    o Power-up the computer(s).
    The computer(s) should now be able to access the Internet either by wire or wireless from the TC. Please post back your results.

  • Getting photos off iPad onto disc (with new camera connection kit)

    I bought the camera connection kit and can't figure out how to get my pictures from iPad on to the 8 GB disk. Any suggestions? The disk is not showing up anywhere. Not in Photos, Settings or anywhere. IU searched here to no avail and online found Dropbox app, but that hasn't worked either. Unless I am missing a step.
    Any suggestions?

    can I then put the new disk in my camera
    What "disk" are you referring to?
    If it's something to do with the camera, you need to refer to the camera manual to see how to load pix onto it.
    If it's a SD card, you can get an adapter to plug it into a USB port on the computer.

  • Calls dropping with new OS

    I have a 4s, and updated to the new OS a couple of days ago. Ever since then it has been constantly dropping calls. Any suggestions before I head for the Apple store? And what will they tell me?

    Hello Ron,
    Thank you for using Apple Support Communities!
    I would recommend the troubleshooting from this Troubleshooting Assistant:
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Cheers,
    Sterling

Maybe you are looking for

  • Error while reading PO  message when creating confirmation for PO

    Hi all, We are on SRM 5.0 SP 13. Extended Classic. While creating confirmation for PO in the system,whenI click on the CREATE CONFIRMATION icon,I get the following error: Error while reading PO in backend system.Inform System admin. when I goto chang

  • Logical System name in RSA7 Delta Queue wrong because of BW System Change

    Hello All, we changed our BW System landscape. Before we had one BW development system (System ID: DBW) and now we are using BW development system (System ID: EBW). Now we face the problem, that in our R/3 system in the delta queue the wrong / old de

  • Excise Base value wrong in MIGO

    Hello , PB00 and some Z condition types are used in Pricing Procedure....And Excise is calculted on the addition of PBoo+Z condition types, The BED and ECS and SECess is calculted correctly While capturing the excise invoice in MIGO We are using Ecc

  • NAT -LAST Question

    Dear All, i have the following question regarding the NAT Configuration. as Every One Knows we have in NAT Terminology the following Terms :- 1- Inside Local Address, which is Private Network or which is MY LAN IP Address . 2- Inside Global Address,

  • Question about online email virus's

    Hey folks, I am quite aware than Virus's programmed for Mac OS X are relatively unheard of and as a result, the need for antivirus software seems unnecessary. However, does this still count for when it comes to using email accounts online such as Hot