passing the name of connection against a shape to another shape
Hi allI created a form called login.this receives the user name that are currently loged in. I want this username to another form... I don't want 'PARAMETER FORMS'.
instead I want to create function... How can I do this
Roman salute
1. define a global variable and if it is initialized in the trigger a time new form instance. [Optional step]
WHEN-BUTTON-PRESSED shutter button, use the following code:
:GLOBAL.USER_NAME :=:BLK.USER_NAME;
CALL_FORM ('ur_called_form_name');
IN the second form, or the form called a time-new-form-instance or pre form trigger.
:BLK.USER_NAME := :GLOBAL.USER_NAME ;
I hope this helps solve your problem...
Kind regards
Abdetu...
Tags: Oracle Development
Similar Questions
-
Best way to pass the name of the e/s DAQmx channel Veristand 2011 Custom Device?
I'm building a custom device that will run a DAQmx task on the target of RT.
I use VS2011 and alsoSimple custom device tool, which, at this point I'm not sure if it can work under VS2011...
I created the fine libraries and custom device (a PWM input called InputPWM) has added to the Explorer from the system. Running it returns the following error when I deploy:
-----------
LabVIEW: Type VI reference is not part of connector of VI.
=========================
NEITHER VeriStand: Open VI reference in Custom Devices Storage.lvlib-> pen device reference (Interface HW) .vi-> Custom Devices Storage.lvlib:Initialize Device (Interface HW) .vi OR VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi-> NI VeriStand Engine.lvlib:VeriStand Machine.vi engine-> Engine.vi NI VeriStand Engine.lvlib:VeriStand-> NI VeriStand Engine.lvlib:VeriStand .vi engine Wrapper (RT)
c:\NI-rt\VeriStand\Custom Devices\InputPWM\InputPWM Engine.llb\InputPWM RT pilot VI.vi----------------------
On the console, it says that the error is 1026, LabVIEW: Refernece VI is not valid.
I suspect that a potential problem is that I used a DAQmx e/s in the Configuration.ctl and the InputPWM RT pilot VI.vi in the framework can not deal with this type. So my questions:
-What is the easiest way to pass the names of e/s to the custom device? For a quick test, I could go to hard code, but a more generic solution would also. Should be based on the address for the e/s MAX? Do I have to create the ctr under the DAQ hardware in VS?
- or said by the way, is there a way to review these screw frame to see where the questions is, as you would with LV - RT?
THX.
L.
If you use the tool of easy custom device, just put everything you need inside the cluster configuration data and these data will be in the home page of the custom (for the user to set) device and be available at runtime in the RT device custom code.
You could have them type the name of the DAQ card and have an array of names for the channels to use. You then create the task running. or something like that. You like.
-
How to pass the name of the last target?
var lastItem:string;
If (lastItem! = e.currentTarget.name) {}
Menu1.lastItem.gotoAndPlay ("S2");
}
lastItem is e.currentTarget.name;
He doesn't like me using the string lastItem for the value of the previous currentTarget.name.
How to pass the name of the last target?
Yeh getChildByName returns a display object you need to perform a cast like this
MovieClip (myMovieclip.getChildByName ("lastItem")) .gotoAndPlay (xx);
-
Droping a table from within a procedure by passing the name of the Table as an Argument
HII All
I want to remove a table from a procedure dynamically passing the table name as a parameter of a procedure manual
to do this, I wrote the following procedure
CREATE OR REPLACE PROCEDURE DEL_TAB (TAB_NAME IN VARCHAR2) AS
V_TAB_NAME VARCHAR2 (10);
V_STMT VARCHAR2 (50);
BEGIN
V_TAB_NAME: = TABLE_NAME;
V_STMT: = 'DROP TABLE' | V_TAB_NAME;
RUN IMMEDIATELY 'V_STMT ';
DBMS_OUTPUT. PUT_LINE(V_TAB_NAME||) e TABLE DELETED ');
END DEL_TAB;
but whenever I'm execute it gives me an error
ERROR on line 1:
ORA-06550: line 1, column 15:
PLS-00357: Table, view or sequence of reference 'A' not allowed in this context
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Please tell me the solution...
Thanks in advance
Alisson
Why do you want to implement this procedure? If you want to remove a table just issue the DROP of stand-alone statement. Why write a procedure for this? Also you must understand the difference between REMOVE and DROP in the context of RDBMS. You either use them which is incorrect. DELETION is to remove rows from a table and DROP is to remove the database table.
And with regard to your problem
> RUN IMMEDIATELY 'V_STMT ';
This should be
immediately run v_stmt;
You closed the V_STMT variable is in single quotes. You must remove the apostrophes.
-
Pass the credentials to connect-VIServer
Hey all,.
I give my first ride with scritping with powercli. I have currently a "script" that consists of two one liners, first line is to remove a virtual machine and the second line is to create a virtual machine from a clone. Nothing major, I know. I'm trying to understand, what I would plan this script as a Windows task and pass the credentials used to run the task to the cmdlet Connect-VIServer I at the beginning of the scipt.
Someone help a rookie?
TIA,
-Jason
Why not let the scheduled task run with this specific account?
In this way, you don't have to pass the credentials to the cmdlet Connect-VIServer, it uses the credentials of the user under which the scheduled task runs.
If the above is not possible and you must pass credentials, take a look at Hal functions PSCredential-export and import-PSCredential.
These jacks allow the use the credentials in a secure manner that pass them in clear text in your script.
-
pass the name of symbol instance variable
Hi all
I'm trying to find a way to pass the instance name (ID) of an object selected in a variable, so I can navigate on a label on the timeline of the same name.
So far, I tried different variations of:
sym.getSymbol () //logs as "not defined".
sym.getSymbolTypeName / / stores the name of the symbol in the library, not to the instance
Any ideas?
Thank you
-Dave
Hi David,
You can use "e.target.id" on your button click event to get div id of the button.
Alert (e.Target.ID);
The weird thing only is that it seems to add "Stage_" value, so if your div button is called "myButton", the foregoing will alert you "Stage_myButton".
-
How to pass the name of the Table as an argument in Stored Proc
Hello
I have a condition in which the name of the table must be passed as an argument of MS and the output should be the County of this table based on certain conditions to filter.
Something like this:
create or replace procedure Testing (p_table varchar2, p_count OUT integer) AS
Start
Select count (1) in the p_count of p_table;
end;
/
Get the error on execution of code above:
PL/SQL: ORA-00942: table or view does not exist
Please let me how can know we do this?
Thank you.Just add the where clause in the statement...
What about spending ten minutes of reading literature?
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2009/12/31/estrarre-i-dati-in-formato-xml-seconda-parte/] -
Passing the name of dynamic file to ODI nterface for treatment to another system
Hello
I need assistance in regard to passing a dynamically changing name fixed length flat file in Interface ODI. This interface is designed to take the flat file as input and treat it to SQL Server using data mapping and transformations... The entrance to flat file name is generated for example sequence: OEORD1123.txt and the next file will be OEORD1124.txt and it is located at the Oracle Conc level. How to pass the last ODI interface for processing file name
Kind regards
Anil...Hi Anil,
To get a dynamic name to a file (or any data store) comes to a variable ODI in the name of the resource in the data store.
My understanding... Where did the name come from? A sequence of database?
If so, just put in the variable created as a query "select 'OEORD ' | your_sequence.nextval | ".txt".
That make up the name of the file.
No sense?
-
In adobe acrobat reader:
Preferences > identify
Login name:
name:
title
etc...
The login name is used to comment & digital signatures, and I can't change it because the deposited text is read-only.
where can I change the name? It automatically takes the name of the computer, even if I changed the name of the computer to a name I like, but the old name of the computer.
thanx
:-)
Hey ilx2,
You could right-click on a comment and choose Properties.
Then, open the general tab and change the name on the label of the author.
You can tick "Make default properties" option so that all the comments show the same name of the author.
Hope that helps.
Kind regards
Ana Maria
-
How to pass the name of the image of the road?
I searched for this in several places but can't find the answer. In the library and develop modules, the name of the image and metadata are obscuring the image. How can I move and get rid of them?
While the cycles of 'I', "Ctrl + I" stops instantly.
Dorin,
not the Switzerland.
-
What should I do if I can't remember the name of connection and spread the word for windows mail
Hi for some reason, he asked me for my name login and pass word when I tried to get into the mail window he never asked for this before and I don't remember what I walked in when I started.
Hello
normally if you have configured your Windows Mail in conjunction with the settings of your ISP (Internet Service Provider) initially gives you, you would contact them again for this information
and some anti-virus programs interfere with the settings of your e-mail program
try disabling Mali analyzes your AV program too
-
How can smartphones blackBerry I change the name of connection on an email account?
The connection on my e-mail account name is the complete e-mail address of the account. BlackBerry Torcch does not allow me to enter the e-mail address as a login name. How to do that Ifix?
It is perhaps the set of instructions that you must have set up correctly.
http://BTSC.webapps.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB03133
-
Pass the name of the table to report dynamically?
I'm looking for any method any table name for a sql statement through an independent written report.
a short example:
I'm trying to create a report that lets me select a column in a table - time (column and table) should be provided in time, the report is run.
Of course, something like
does not work; the error is ORA-01745.select :column from :table
Is someone know a method to pass a string to the variable in the SQL before the cursor created?You cannot use LIE in FROM apparently, although I am struggling to find that explicitly in the DOCs, then you need to use & or & in your query of dynamic report OF clauses.
-
passing the name of the context variable ODI
Hello
I get the current execution context and move to a variable of the ODI. I tried to use < % = odiRef.getContext ("CTX_NAME") % > in the variable. But make a mistake during execution.
Error: ODI-1228: nom_du_contexte (Variable) of the task fails when you connect target DSS_STAGING.
Caused by: java.sql.SQLException: parameter IN or OUT to missing index: 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1737)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:602)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.execStdOrders(SnpSessTaskSqlV.java:118)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTaskTrt(SnpSessTaskSqlV.java:224)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:204)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:237)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Can someone help me how to get the context of name in the variable... Thanks in advance
Published by: siva June 21, 2011 17:00Hello
The refreshment of your variable, logic no matter what DBMS and whose education refresh like: -.
Select '<%=odiRef.getContext("CTX_NAME")%> '. "double
above is for Oracle.
Make sure you have the variable of data type as "text".
See you soon
BOS
Published by: Bos June 21, 2011 12:35
-
How to pass the name of user and password to BPEL of the java proxy web service?
Hi all
Environment: SOA Suite 11g
I use basic http authentication in my SOA services using a strategy of "oracle/wss_http_token_client_policy. Now, I need to call these SOA web services from a java proxy.
Please let me know how this can be done.
Thanks in advanceHave you tried the messages below?
BPEL to invoke the secure with HTTP Basic authentication Web service
Call a BPEL process using the HTTP Basic authenticationhttp://docs.Oracle.com/CD/E21764_01/Web.1111/e13713/owsm_appendix.htm#CHDBAHBI
Thank you
Vijay
Maybe you are looking for
-
What external DVD burner for MacBook Pro late 2011
My internal superdrive drive just died, a kind of inner part rattling... sounded like a trombone bouncing around. Has to be replaced. Wanted to buy an external drive of Supe but it won't work with my MacBook Pro late 2011. I need to burn DVDs for my
-
Producer of iTunes does not recognize my Apple ID
Can anyone help me?, producer of iTunes does not recognize my Apple code. I don't know what is happening because that is the same ID that I use in the AppStore, iTunes and same iTunes Connect
-
Satellite P850 - right USB ports stopped working
I have a new P850 Satellite, after a short period, that the two right usb ports stopped working, I had only a wireless mouse connected to them at the time. Is there a reset for these ports, I tried to uninstall and reinstall, no change. Anyone has an
-
I want to update to iOS for iPhone form a computer that isn't mine. I do nit want to backup purchases in their itunes library. What should I do?
-
HP ENVY 4 1070EL: Beats Audio crackles
Hello I have a problem with my HP Envy 4 (1070EL), which is equipped with BeatsAudio, whenever I have would be the option 'Beats Audio"of Control Beats Audio Settigs sound would develop more rich in quality, but it will make a crackling sound which m