Send 1 variable 2 value
Hi guru,.
How to send a value in 2 different variables which I enclose in the annex.
Hello
Add Locals.Result1 to your VI.
Break-in in the StepSettings-> Expressions-> Post Expression pane: Locals.Result2 = Locals.Result1.
Concerning
Jürgen
Tags: NI Software
Similar Questions
-
Send a variable and a package file
Hello
Can I send a variable and a whole file? So I would use the FileReference upload() method and the LoadVars send() method to send a file and a variable in a PHP file during a reload.I remember trying this one year back by adding to the url
file.upload (" http://www.yourdomain.com/yourUploadHandlerScript.php?var=value")) -
Script to send email to what value if too hight
Hi all
Search I want to send email when the value is too high.
for example, we script runs and show kmoy of esx, when this value on avegrage 1 min is more that the preset e-mail is sent.
is it possible with powercli?
TKS in advance
This should create the alarm in order to capture opportunities where the latency of reading on any HBA on the host exceeds a certain threshold.
First of all, you need get the metric ID for the measurement of the storageAdapter.totalReadLatency.average.
You can use something like this to get this ID. This is a Lite version of the script that you can find in the blog.
function Get-PerfCounterList{ param($pm) $list = @{} $pm.PerfCounter | % { $obj = "" | Select Name, Level, Summary $obj.Name = $_.GroupInfo.key + "." + $_.NameInfo.key + "." + $pm.Description.CounterType[$_.RollupType].Key $obj.Level = $_.Level $obj.Summary = $_.NameInfo.Summary $list[$_.Key] = $obj } $list } function Get-StatId { param($entity, $pm, $perfCounterList) $result = @() $perfProvider = $pm.QueryPerfProviderSummary($entity.MoRef) if($perfProvider.SummarySupported){ $perfMetrics = $pm.QueryAvailablePerfMetric($entity.MoRef,$null,$null,$null) if($perfMetrics){ foreach($metric in $perfMetrics){ $row = "" | Select Entity, Interval, CounterId, Stat, Instance, Level, Summary $row.Entity = $entity.GetType().Name $row.Interval = "Aggregate" $row.CounterId = $metric.CounterId $row.Stat = $perfCounterList[$metric.CounterId].Name $row.Instance = $metric.Instance $row.Level = $perfCounterList[$metric.CounterId].Level $row.Summary = $perfCounterList[$metric.CounterId].Summary $result += $row } } } if($perfProvider.CurrentSupported){ $perfMetrics = $pm.QueryAvailablePerfMetric($entity.MoRef,$null,$null,$perfProvider.refreshRate) foreach($metric in $perfMetrics){ $row = "" | Select Entity, Interval, CounterId, Stat, Instance, Level, Summary $row.Entity = $entity.GetType().Name $row.Interval = "RealTime" $row.CounterId = $metric.CounterId $row.Stat = $perfCounterList[$metric.CounterId].Name $row.Instance = $metric.Instance $row.Level = $perfCounterList[$metric.CounterId].Level $row.Summary = $perfCounterList[$metric.CounterId].Summary $result += $row } } $result } $pm = Get-View (Get-View ServiceINstance).Content.PerfManager $perfCounterList = Get-PerfCounterList $pm $report = @() # HostSystem $vmhost = Get-VmHost MyEsx | Get-View if($vmhost){ $report += (Get-StatId $vmhost $pm $perfCounterList) } $report | Export-Csv "C:\Stat-Ids.csv" -NoTypeInformation -UseCulture
Then, you will have a good idea of the thresholds to be used in the alarm. Remember that the metric returns the average in milliseconds over a period of 20 seconds.
This little script should give you an idea what latency, you can see in your environment.
$esx = Get-VMHost MyEsx Get-Stat -Entity $esx -Stat "storageadapter.totalreadlatency.average" -Realtime -MaxSamples 1 | Select @{N="Adapter";E={$_.Instance}}, @{N="Latency";E={$_.Value}}, @{N="Latency %";E={$_.Value/($_.IntervalSecs*10)}}
Once you know the thresholds you want to use, we can create the real alarm.
Like this$esxName = "MyEsx" $mailTo = "[email protected]" $alarmMgr = Get-View AlarmManager $entity = Get-VmHost $esxName | Get-View # AlarmSpec $alarm = New-Object VMware.Vim.AlarmSpec $alarm.Name = "Read Latency" $alarm.Description = "Send email when read latency exceeds the threshold" $alarm.Enabled = $TRUE # Action - Send email $alarm.action = New-Object VMware.Vim.GroupAlarmAction $trigger = New-Object VMware.Vim.AlarmTriggeringAction $trigger.action = New-Object VMware.Vim.SendEmailAction $trigger.action.ToList = $mailTo $trigger.action.Subject = "Net received alarm" $trigger.Action.CcList = "" $trigger.Action.Body = "" # Transition a - yellow --> red $transa = New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec $transa.StartState = "yellow" $transa.FinalState = "red" # Transition b - red --> yellow $transb = New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec $transb.StartState = "red" $transb.FinalState = "yellow" $trigger.TransitionSpecs += $transa $trigger.TransitionSpecs += $transb $alarm.action.action += $trigger # Expression - Network data receive rate $expression = New-Object VMware.Vim.MetricAlarmExpression $expression.Metric = New-Object VMware.Vim.PerfMetricId $expression.Metric.CounterId = 327 $expression.Metric.Instance = "" $expression.Operator = "isAbove" $expression.Red = 75 $expression.Yellow = 35 $expression.Type = "HostSystem" $alarm.expression = New-Object VMware.Vim.OrAlarmExpression $alarm.expression.expression += $expression $alarm.setting = New-Object VMware.Vim.AlarmSetting $alarm.setting.reportingFrequency = 0 $alarm.setting.toleranceRange = 0 # Create alarm. $alarmMgr.CreateAlarm($entity.MoRef, $alarm)
I would like to know how it works.
-
The use of JavaScript with radio buttons selected to assign a variable a value
Hey everyone, a little new in Java and try to create a form for my work to request leave. My problem is that I'm trying to assign a variable a value if the user clicks on a radio button or another. Currently, they are incompatible with the following information:
Name: Radio
ToolTip: choice
Button Style: check
Radio button choice: Yes (this is the value of exports, that I think that I'm not sure how to use it correctly)
nor is checked by default, but if a box is checked, I would have a variable defined on the "Approved" text, and if the other radio button is checked I would define the variable contains "disapprove".
Here is my code now and thanks in advance for all the help:
var S_auth;
function auth() {}
If (Radio.value == 'Yes') {}
var S_auth = "approved";
}
else {}
var S_auth = 'denied ';
}
}
var employees = this.getField("Emp_Name").value;
Supervisor of var = this.getField("Supervisor").value;
var Leave_Type = this.getField("Dropdown2").value;
var cToAddr = [email protected];
var cCCADDr = this.getField("Email").value;
var cBenAddr = this.getField("Sup_Email").value; If (cBenAddr! = "") cCCADDr += ';' + cBenAddr;
var cSubline = "Re: leave request form for" + "" + employee + ', ' + Leave_Type + ', Status: "+ S_auth;"
cbody var is 'your request for leave was' + S_auth + 'by' + supervisor. \n' + 'save the attachment of e-mail for your records. \n » ;
this.mailDoc({)
bUI: true,
cTo: cToAddr,.
cCc: cCCAddr,.
bassujetti: cSubLine,
CMSG: cbody
});
I honestly just want to have the subject line and the body to be able to show approved or disapproved according to which radio button, the project manager chooses.
Yes, your script is now correct and should work.
-
I imported a file flash inside Director...
How can I access variables that I used flash, through Director?
How can I send variables from flash movie to the Director?
I used this command in the animation flash a button:
on (release) {}
getURL ("event: FlashMouseEnter, \"hi\ "" ");
}
but I could not send with this command, the variables! only the channels
What should I do about variables?This is how to do it (this is from my memory, so I have not tested this exact code):
--------------------------------------------
ACTIONSCRIPT:
(At the beginning of your script)
implement the listener passing variables and events Director...
var directorListener:Object = new Object();
directorListener.handlerName = function(evt_obj:Object):Void End Sub(At the end of the first picture of the script you)
If (System.capabilities.playerType == "DirectorXtra") {}
getURL("event:flashLoaded"); Director can now do things with the flash object!
} else {}
controls to test the swf outside the Director go here...
}--------------------------------------------
In the JARGON, the behavior of Flash sprite:on flashLoaded me
set up an interception of calls to the directorListener function...
SP = Sprite (spriteNum)
Listener = SP.directorListener
sp.setCallBack (listener, "handlerName", #lingoHandler, me)
endon lingoHandler me, directorListener, flashVariables
put flashVariables.type
put flashVariables.target._x
put flashVariables.selectedIndex
end
--------------------------------------------
Then, back in ACTIONSCRIPT, to pass variables from Flash, not string values, use this code:
--------------------------------------------
call the function in the directorListener event
directorListener.handlerName ({type: "select", target: this, selectedIndex:23});}) Flash Assoc table accessories. can be anything! Add as many times as you need. It's the object passed as a parameter in your Lingo Manager 3.For more information on the events and Flash<->variable Director way, see this post
->
-
Siri in him sending text with the value 'NULL '.
When I say, "Siri, text my wife, 'X', ' Siri responds correctly,"here is your message to Jill: 'X'. "" " "Ready to send it?" I say 'Yes' and sends the message. As soon as I get a text from my carrier saying the recipient of the message was invalid. 100% of the time, I see that Siri has sent a text with the value NULL.
I tried to restart my phone. I tried to remove and re-add my contacts. Anyone else having this problem? Someone knows how to solve?
If it's by the carrier, you should contact them and see what they receive in return for their side. Ive had Siri send messages for me and I have never seen this one IOS.
-
How to have an Oracle procedure send and receive the value of a java program.
The procedure below is the place within a package. This "get_extract_ready_headers" procedure to select the columns store_number, terminal_number, tran_number, tran_date, cust_id in the REX_HEAD_EXTRACT of source table. This information is selected in a ref cursor The data were field cust_id which is encrypted. How can I change the get_extract_ready_headers procedure and accomplish 2 things?
1. make this procedure the "cust_id" reading the table source and send the value of a Java program "getheaderinfo" (this java program decrypts the cust_id field).
2. when we get the value unencrypted to the Java program, make the procedure to accept this decrypted value and use it to update the CUST_ID to the table TRAN_HEAD table value target. I use Oracle 11.2.0.2 and TOAD 10.5.1.3.
-The code of procedure
-Table Structure for the table source REX_HEAD_EXTRACTPROCEDURE get_extract_ready_headers (p_records OUT SYS_REFCURSOR) IS BEGIN OPEN p_records FOR SELECT store_number, terminal_number, tran_number, tran_date, cust_id FROM REX_HEAD_EXTRACT; END;
-Create table DDL for the target TRAN_HEAD tableCREATE TABLE REX_HEAD_EXTRACT ( REX_SEQ_NBR NUMBER(20), REVISION_NUMBER NUMBER, DAY NUMBER(3), RESA_TRAN_SEQ_NO NUMBER(20), BUSINESS_DATE DATE, TRAN_SEQ_NBR NUMBER(12), ORG_NUMBER NUMBER, STORE_NUMBER NUMBER, TRAN_DATE DATE, TERMINAL_NUMBER NUMBER, TRAN_NUMBER NUMBER, TRAN_TIME DATE, BATCH_NUMBER VARCHAR2(8 BYTE), BATCH_TYPE VARCHAR2(4 BYTE), TRAN_TYPE VARCHAR2(4 BYTE), SUB_TRAN_TYPE VARCHAR2(4 BYTE), CLERK_CODE VARCHAR2(15 BYTE), TRAN_TAXABLE_AMOUNT NUMBER(12,2), TRAN_TAX_TOTAL NUMBER(12,2), TRAN_GROSS_TOTAL NUMBER(12,2), COUP_TOTAL NUMBER(9,2), MKD_TOTAL NUMBER(9,2), EMPLOYEE_NUMBER VARCHAR2(15 BYTE), EMPLOYEE_NAME VARCHAR2(40 BYTE), TRAN_ALTTAXABLE_AMOUNT NUMBER(12,2), TRAN_ALTTAX_TOTAL NUMBER(12,2), SALE_AMOUNT NUMBER(9,2), RETURN_AMOUNT NUMBER(9,2), RETURNED_AMOUNT NUMBER(9,2), NETCASH NUMBER(12,2), TENDER_CODE VARCHAR2(4 BYTE), MULT_RCPT VARCHAR2(1 BYTE), SPLIT_TENDER VARCHAR2(1 BYTE), RTN_WITH_PURCHASE VARCHAR2(1 BYTE), RTN_WITH_RCPT VARCHAR2(1 BYTE), REASON_CODE VARCHAR2(4 BYTE), PASSWORD VARCHAR2(10 BYTE), RINGTIME DATE, CUST_NUMBER VARCHAR2(12 BYTE), CUST_ID VARCHAR2(50 BYTE), ZIP_CODE NUMBER, POSTAL_CODE VARCHAR2(9 BYTE), PV_TIME_LAPSE NUMBER, ORIG_STORE_NBR NUMBER, ORIG_TRAN_DATE DATE, ORIG_TRAN_TYPE VARCHAR2(4 BYTE), ORIG_TERM_NBR NUMBER, ORIG_TRAN_NBR NUMBER, ORIG_SALE_AMT NUMBER(12,2), ORIG_TENDER_CODE VARCHAR2(4 BYTE), ORIG_CLERK_CODE VARCHAR2(15 BYTE), PREV_TRAN_TYPE VARCHAR2(4 BYTE), PREV_SUB_TRAN_TYPE VARCHAR2(4 BYTE), GIFT_REGISTRY_ID VARCHAR2(25 BYTE), NO_OF_ITEMS NUMBER, TAX_EXEMPT_ID VARCHAR2(18 BYTE), TRAN_RINGTIME NUMBER, AUDITED VARCHAR2(1 BYTE), BATCH_VERSION NUMBER(9,2), BATCH_SOURCE VARCHAR2(5 BYTE), CREATE_DATE DATE, CREATE_ID VARCHAR2(32 BYTE), CREATE_PROC VARCHAR2(32 BYTE), MOD_DATE DATE, MOD_ID VARCHAR2(32 BYTE), MOD_PROC VARCHAR2(32 BYTE), TERMINAL_GROUP NUMBER, USER_DEF_1 NUMBER, USER_DEF_2 NUMBER, USER_DEF_3 NUMBER, USER_DEF_4 NUMBER(12,2), USER_DEF_5 NUMBER(12,2), USER_DEF_6 NUMBER(12,2), USER_DEF_7 VARCHAR2(50 BYTE), USER_DEF_8 VARCHAR2(50 BYTE), USER_DEF_9 VARCHAR2(50 BYTE), MANAGER_NUMBER VARCHAR2(15 BYTE), MANAGER_REASON_CODE VARCHAR2(10 BYTE), MANAGER_SWIPED VARCHAR2(1 BYTE), PHONE_NO NUMBER(11), KCPOS_KTH_USER_101 NUMBER, KCPOS_KTH_USER_102 NUMBER, KCPOS_KTH_USER_103 NUMBER, KCPOS_KTH_USER_104 NUMBER, KCPOS_KTH_USER_105 NUMBER, KCPOS_KTH_USER_106 NUMBER, KCPOS_KTH_USER_107 NUMBER, KCPOS_KTH_USER_108 NUMBER, KCPOS_KTH_USER_109 NUMBER, KCPOS_KTH_USER_110 NUMBER, KCPOS_KTH_USER_201 NUMBER(12,2), KCPOS_KTH_USER_202 NUMBER(12,2), KCPOS_KTH_USER_203 NUMBER(12,2), KCPOS_KTH_USER_204 NUMBER(12,2), KCPOS_KTH_USER_205 NUMBER(12,2), KCPOS_KTH_USER_206 NUMBER(12,2), KCPOS_KTH_USER_207 NUMBER(12,2), KCPOS_KTH_USER_208 NUMBER(12,2), KCPOS_KTH_USER_209 NUMBER(12,2), KCPOS_KTH_USER_210 NUMBER(12,2), KCPOS_KTH_USER_301 VARCHAR2(50 BYTE), KCPOS_KTH_USER_302 VARCHAR2(50 BYTE), KCPOS_KTH_USER_303 VARCHAR2(50 BYTE), KCPOS_KTH_USER_304 VARCHAR2(50 BYTE), KCPOS_KTH_USER_305 VARCHAR2(50 BYTE), KCPOS_KTH_USER_306 VARCHAR2(50 BYTE), KCPOS_KTH_USER_307 VARCHAR2(50 BYTE), KCPOS_KTH_USER_308 VARCHAR2(50 BYTE), KCPOS_KTH_USER_309 VARCHAR2(50 BYTE), KCPOS_KTH_USER_310 VARCHAR2(50 BYTE), KCPOS_KTH_USER_401 DATE, KCPOS_KTH_USER_402 DATE, KCPOS_KTH_USER_403 DATE, DISC_TOTAL NUMBER(9,2) ) CREATE INDEX REX_HEAD_EXTRACT_NDX ON REX_HEAD_EXTRACT (REX_SEQ_NBR, REVISION_NUMBER, STORE_NUMBER, TRAN_DATE, TERMINAL_NUMBER, TRAN_NUMBER)
-SamplesCREATE TABLE NAVISTOR.KCPOS_TRAN_HEADER_BASE ( TRAN_SEQ_NBR NUMBER(12), ORG_NUMBER NUMBER, STORE_NUMBER NUMBER, TRAN_DATE DATE, TERMINAL_NUMBER NUMBER, TRAN_NUMBER NUMBER, TRAN_TIME DATE, BATCH_NUMBER VARCHAR2(8 BYTE), BATCH_TYPE VARCHAR2(4 BYTE), TRAN_TYPE VARCHAR2(4 BYTE), SUB_TRAN_TYPE VARCHAR2(4 BYTE), CLERK_CODE VARCHAR2(15 BYTE) NOT NULL, TRAN_TAXABLE_AMOUNT NUMBER(12,2), TRAN_TAX_TOTAL NUMBER(12,2), TRAN_GROSS_TOTAL NUMBER(12,2), COUP_TOTAL NUMBER(9,2), MKD_TOTAL NUMBER(9,2), EMPLOYEE_NUMBER VARCHAR2(15 BYTE), EMPLOYEE_NAME VARCHAR2(40 BYTE), TRAN_ALTTAXABLE_AMOUNT NUMBER(12,2), TRAN_ALTTAX_TOTAL NUMBER(12,2), SALE_AMOUNT NUMBER(9,2), RETURN_AMOUNT NUMBER(9,2), RETURNED_AMOUNT NUMBER(9,2), NETCASH NUMBER(12,2), TENDER_CODE VARCHAR2(4 BYTE), MULT_RCPT VARCHAR2(1 BYTE), SPLIT_TENDER VARCHAR2(1 BYTE), RTN_WITH_PURCHASE VARCHAR2(1 BYTE), RTN_WITH_RCPT VARCHAR2(1 BYTE), REASON_CODE VARCHAR2(4 BYTE), PASSWORD VARCHAR2(10 BYTE), RINGTIME DATE, CUST_NUMBER VARCHAR2(12 BYTE), CUST_ID VARCHAR2(50 BYTE) ENCRYPT USING 'AES256' NO SALT, ZIP_CODE NUMBER, POSTAL_CODE VARCHAR2(9 BYTE), PV_TIME_LAPSE NUMBER, ORIG_STORE_NBR NUMBER, ORIG_TRAN_DATE DATE, ORIG_TRAN_TYPE VARCHAR2(4 BYTE), ORIG_TERM_NBR NUMBER, ORIG_TRAN_NBR NUMBER, ORIG_SALE_AMT NUMBER(12,2), ORIG_TENDER_CODE VARCHAR2(4 BYTE), ORIG_CLERK_CODE VARCHAR2(15 BYTE), PREV_TRAN_TYPE VARCHAR2(4 BYTE), PREV_SUB_TRAN_TYPE VARCHAR2(4 BYTE), GIFT_REGISTRY_ID VARCHAR2(25 BYTE), NO_OF_ITEMS NUMBER, TAX_EXEMPT_ID VARCHAR2(18 BYTE), TRAN_RINGTIME NUMBER, AUDITED VARCHAR2(1 BYTE), BATCH_VERSION NUMBER(9,2), BATCH_SOURCE VARCHAR2(5 BYTE), CREATE_DATE DATE, CREATE_ID VARCHAR2(32 BYTE), CREATE_PROC VARCHAR2(32 BYTE), MOD_DATE DATE, MOD_ID VARCHAR2(32 BYTE), MOD_PROC VARCHAR2(32 BYTE), TERMINAL_GROUP NUMBER, USER_DEF_1 NUMBER, USER_DEF_2 NUMBER, USER_DEF_3 NUMBER, USER_DEF_4 NUMBER(12,2), USER_DEF_5 NUMBER(12,2), USER_DEF_6 NUMBER(12,2), USER_DEF_7 VARCHAR2(50 BYTE), USER_DEF_8 VARCHAR2(50 BYTE), USER_DEF_9 VARCHAR2(50 BYTE), MANAGER_NUMBER VARCHAR2(15 BYTE), MANAGER_REASON_CODE VARCHAR2(10 BYTE), MANAGER_SWIPED VARCHAR2(1 BYTE), PHONE_NO NUMBER(11), KCPOS_KTH_USER_101 NUMBER, KCPOS_KTH_USER_102 NUMBER, KCPOS_KTH_USER_103 NUMBER, KCPOS_KTH_USER_104 NUMBER, KCPOS_KTH_USER_105 NUMBER, KCPOS_KTH_USER_106 NUMBER, KCPOS_KTH_USER_107 NUMBER, KCPOS_KTH_USER_108 NUMBER, KCPOS_KTH_USER_109 NUMBER, KCPOS_KTH_USER_110 NUMBER, KCPOS_KTH_USER_201 NUMBER(12,2), KCPOS_KTH_USER_202 NUMBER(12,2), KCPOS_KTH_USER_203 NUMBER(12,2), KCPOS_KTH_USER_204 NUMBER(12,2), KCPOS_KTH_USER_205 NUMBER(12,2), KCPOS_KTH_USER_206 NUMBER(12,2), KCPOS_KTH_USER_207 NUMBER(12,2), KCPOS_KTH_USER_208 NUMBER(12,2), KCPOS_KTH_USER_209 NUMBER(12,2), KCPOS_KTH_USER_210 NUMBER(12,2), KCPOS_KTH_USER_301 VARCHAR2(50 BYTE), KCPOS_KTH_USER_302 VARCHAR2(50 BYTE), KCPOS_KTH_USER_303 VARCHAR2(50 BYTE), KCPOS_KTH_USER_304 VARCHAR2(50 BYTE), KCPOS_KTH_USER_305 VARCHAR2(50 BYTE), KCPOS_KTH_USER_306 VARCHAR2(50 BYTE), KCPOS_KTH_USER_307 VARCHAR2(50 BYTE), KCPOS_KTH_USER_308 VARCHAR2(50 BYTE), KCPOS_KTH_USER_309 VARCHAR2(50 BYTE), KCPOS_KTH_USER_310 VARCHAR2(50 BYTE), KCPOS_KTH_USER_401 DATE, KCPOS_KTH_USER_402 DATE, KCPOS_KTH_USER_403 DATE, DISC_TOTAL NUMBER(9,2), RTA_RTN_AUTCOD VARCHAR2(4 BYTE), RTA_RTN_COMMID NUMBER, RTA_RTN_EVNTID NUMBER, RTA_RTN_QTY NUMBER, RTA_RTN_RCPT_SCAN VARCHAR2(1 BYTE), RTA_RTN_REFUND_AMT NUMBER(9,2), RTA_RTN_TYPE_CODE VARCHAR2(4 BYTE), RTA_RTN_WITH_RCPT VARCHAR2(1 BYTE), RTA_RTN_COUNT INTEGER, SDEDVAL1 VARCHAR2(50 BYTE) )
REX_SEQ_NBR,REVISION_NUMBER,DAY,RESA_TRAN_SEQ_NO,BUSINESS_DATE,TRAN_SEQ_NBR,ORG_NUMBER,STORE_NUMBER,TRAN_DATE,TERMINAL_NUMBER, TRAN_NUMBER,TRAN_TIME 478,1,11,12024005,6/11/2012,,1,692,6/11/2012,155,5,6/11/2012 12:57:17 PM, 479,1,11,12024006,6/11/2012,,1,692,6/11/2012,155,6,6/11/2012 2:01:51 PM, 480,1,11,12024007,6/11/2012,,1,692,6/11/2012,155,7,6/11/2012 2:47:10 PM
Then you describe two stored procedures separated. One that has an OUTPUT parameter which is a SYS_REFCURSOR (that you posted initially). And will need you a second procedure that takes as a parameter IN the decrypted CUST_ID and whatever: key (s) is required for the UPDATE is generated.
Justin
-
Possible to contain variable multiple values?
Is it possible the variable contains multiple values?
In fact, I need to hold a multiple value multiple value.
Procedure:
Remove employee where empno in (#variable)
Table Employees: Informix
variable code #:
Select relieved_employee_id in the relieved_employees (return multiple values)
Employees table raised is in SQL SERVER
any other approach simple approach...
How can I approach my requriement?Hello
Is it possible the variable contains multiple values?
Usually variable ODI hold one value returned by a select query
Procedure:
Remove employee where empno in (#variable)
Table Employees: Informix
variable code #:
Select relieved_employee_id in the relieved_employees (return multiple values)
Employees table raised is in SQL SERVER
any other approach simple approach...
How can I approach my requriement?
You can try something simiral to the following
create an ODI procedure
Command on the source tab:
SQL SERVER technology
Logic diagram should point to your schema that contains the table of relieved_employeesquery: Select relieved_employee_id you relieved_employees EMP_ID
Target control on the tab:
Technology: Informix
Logic diagram should point to your schema that contains the employees tablequery: delete from employee where empno = #EMP_ID
This will make a loop through all the values returned by your query source and delete target.
Thank you
Fati -
Automatically send the variables
I write x and y properties of the box: "Blocks" to the < input type = "hidden" > form elements called 'X' and 'Y '.
- But I don't know how to pass these variables 'X' and 'Y' automatically to another page (when clicked on the links) or refresh when the same page. I don't know how to do this without having to press a button 'submit' in the form.
- How can I write variables then where is now 20 voor x position and position y voor 30 ["move towards (20, 30);" ' "]?
<div id="Bloque" style="position:absolute; left:0; top:0; ">
<a href="nieuws.php?cat=nieuws">nieuws</a><br>
<a href="index.php>home</a></div>
<form method="post" action="nieuws.php" name="myForm">
<input name="X" type="hidden" />
<input name="Y" type="hidden" />
</form>
<script type="text/javascript">
<!--
SET_DHTML('Bloque'+CURSOR_MOVE);
dd.elements.Bloque.moveTo(20, 30);
function my_DropFunc()
{
// Write the name and coordinates of the dropped item into form inputs:
document.myForm.X.value = dd.elements.Bloque.x;
document.myForm.Y.value = dd.elements.Bloque.y;
}
//-->
</script>If you don't want to use a form submission, you can either:
(1) store them as session variables
(2) place them in the query string.
- But I don't know how to pass these variables 'X' and 'Y' automatically to another page (when clicked on the links) or refresh when the same page. I don't know how to do this without having to press a button 'submit' in the form.
-
is it possible to load and send php variables at the same time?
Hello, with this line:
Request.Method = URLRequestMethod.GET; You can get php variables.
and with request.method = URLRequestMethod.POST you can send variables.
But is it possible to do this at the same time?
they send and receive data in order. IE, data are sent (if there are any) and then the data is received (if there is).
-
instance in the objects variables retain values from instances created earlier
It is insane to f - ing, and I want to cry.
I have a class called Note, he receives a text, a clip is a textfield on the clip and the shows.
Each instance can receive text as times and itll keep the text in a table, and when the time comes to show the note, it reorganizes online under the other text fields.
the table that contains the text is an instance variable. Now, when I have 2 or more notes in the same film, the table for every instance RETAINS the text of the previous note! WTF.
I don't in any time insert text notes the precedent in current rating, is the array of static text, these are the only two logical explanations, or variables of these two identical when notes are I create them in the film.
Here is the code
[CODE]
creation of the first note on image 37 of the film
var noteNote:Note is new Note (this, _root.movie, 650, 50);.
noteNote.addText ("< b > values securities < /b > Source provides online access to the more popular Canadian and U.S. securities law materials - all in the same place - through one password.");
noteNote.drawNote ();
noteNote.show ();
[/ CODE]
[CODE]
creation of the second note on image 73 of the film
var noteNote2:Note = New Note (this, _root.movie, 650, note.y + note._height);
noteNote2.addText ("as the official editor, Bulletin of the OSC of Thomson Carswell is available weekdays at noon each Friday and contains Insider full weekly (Chapter 7) report data directly from CD.");
noteNote2.drawNote ();
noteNote2.show ();
[/ CODE]
[CODE]
public var Note: MovieClip;
public var: film;
public var x: Number;
public var y: Number;
public var parent: MovieClip;
public var parentMovie:Movie;
public var fadeDir:Number = 0;
public var fadeSpeed:Number = 8;
public static var width: Number = 260;
private var text: Array = new Array(); IT IS THE TABLE FOR THE PRESENTATION OF TEXT
public static var buffer: Number = 15;
public static var color: Number = 0xf9de80;
public var _height:Number;
...
text should be a paragraph or a point
If isPoint is not undefined it is assumed false
public void addText(text:String,_isPoint:Boolean):Void
{
texts = new Array();
isPoint = isPoint is undefined? false: true;
Index number: var = texts.length;
texts [index] = [];
texts [index] [1] = isPoint;
//
var textParent:MovieClip = note.createEmptyMovieClip ("text_parent_" + note.getNextHighestDepth (), note.getNextHighestDepth ());
var tf:TextField = note.createTextField ("text_" + note.getNextHighestDepth (), note.getNextHighestDepth (), buffer, 0, width - ((buffer * 2)), 1000);
tf.wordWrap = true;
TF. Multiline = true;
tf.embedFonts = true;
tf.setTextFormat (makeFormat (isPoint));
TF. Background = true;
tf.backgroundColor = 0xffffff;
TF.html = true;
TF.type = "dynamic";
tf.htmlText = text;
tf.autoSize = true;
TF._visible = false;
texts [index] [0] = tf;
var f: Array = text;
}
[/ CODE]
I updated f texts each time the text is added so I see the texts as a local in the debugger, this is how I discovered that table has always kept the text of the Note on the frame of 37 at the note on the frame of 73.
I solved this by deleting the table until I use it first in a note, but it's always crazy, instance variables are maintaining the values of the previous instances.
I would like to comment on what it might be.When you instantiate a table to her statement, she becomes static. Fixed some
AS3, but in the meantime, you need to instantiate in the constructor (or
Moreover).Note {} class
private var text: Array;
function Note()
{
This.texts = new Array();
}}
-
How to send a variable of a class to another?
Hello
I have "One.as", which is the class of document for one.swf.
I also have "two.swf", with "Two.swf" entered his class of documents...
We charge both in it. two is basically a movieClip 10 frame with a variable at the beginning called "var endFrame:Boolean = false", then on the last image, said endFrame = true.
My question: how the world to communicate this back to One.as? I tried embarrassing ENTER_FRAME listeners, declaring the variable here and there... and many other strategies usuccessful.
I would just load in 'three.swf' after two.swf finishes... but be aware that it has indeed finished.
your help would be greatly appreciated. Thank youyarkehsiow,
> David,.
> thank you for responding.Sure thing! :)
> what you say, means endFrame is a property of
> two (movieClip), or two (class)?If you have written a property named endFrame for your class in two, then
Yes, Two.endFrame is a property of this class.In your original post, I see that you wrote this:
> We charge both in it. two is basically a 10-frame movieClip
> with a variable at the beginning called "var endFrame:Boolean = false;
> then on the last image, it says endFrame = true.So, it seems that your two class extends MovieClip. (I'm not sure
It's true, but that's what it looks like.) This means that your two class
supports all the features of the MovieClip class, including a play() method,
currentFrame property and so on. In addition, you added new
a feature that amounts to-by the sound of it - a named property
endFrame. If you did your public property (that is, public var endFrame).
It should be accessible through an object reference to your two
instance.myTwoInstance.endFrame;
> so I can call it this method in One.as? I call it Two.endFrame (so)
> (Two.endFrame == true) {?}Methods are things an object can * make, * such as gotoAndPlay(). What
you describe is a property (a feature... in this case, a)
Feature Boolean). You would use the expression Two.endFrame
unless this property is static. Static classes are those who may not have
an instance that is made. Think of the Math class. It contains many
static properties as constants, such as Math.PI, Math.E,
Math.SQRT2 and so on. You cannot create an instance of the Math class - it
would be unwise-Math is a static class.However, you certainly create instances of the MovieClip
class. Each MovieClip instance is an instance of MovieClip class, which
means that each instance has its own unique values for the MovieClip class
members. The MovieClip class sets x and y properties, but each film
movie clip symbol (that is, each instance of the MovieClip class) configures sound
values of these properties, depending on where each instance is located
on the stage.Assuming that your two class is not static, then somewhere along the line,
your a class must be an instance of it. Somethine like...inside your a class...
var myTwo:Two = new Two();how this myTwo variable because a reference to that
case two. You can call two methods on this instance.
You can call two properties and events on this instance. You can call
regardless of the feature is defined by the class two on this instance of myTwo.
If two extends MovieClip, which means that you can also call any MovieClip class
Members on this instance of myTwo.At a certain point in your a class, you can refer to this instance of myTwo
later and check if the value of myTwo.endFrame is true or false.David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design." -
Formatting a variable Date value containing presentation
Hi all
I created a dashboard command prompt by using a date field and used a presentation variable to store the value of the field date and passing to a report. I want to do an advanced search in the report rather than simple filtering based on the line of dashboard.
When I get the value of the variable of presentation in the report, it as DD/MM/YYYY and string. When I try to mount this Date / timestamp object, it throws the error message indicating that the system if he waits to DD/MONTH/YYYY format (LUN is JAN, FEB etc instead of 01, 02 etc.)
I'm looking for so a way to fit the date field in the prompt to MON/DD/YYYY dashboard so that I can throw directly into the report for any use. I would like to avoid making mainpulation chain with complex if the instructions to convert the MM and MY format in the target report
Appreciate your help
-John CRMITVinciane,
This link has been posted before, but I thought I'd share with you once again: http://download.oracle.com/docs/cd/E12096_01/books/AnyUser/AnyUser_Requests11.html
In this paper, he describes this as the variable format: @{variables.
} { } [format] where the value and the format are optional. In addition, you can find out more about the formats here: http://download.oracle.com/docs/cd/E12096_01/books/AnyUser/AnyUser_Format8.html
I don't have the chance to test it, but maybe this you will get to be.
Thom
Published by: Thom L on April 14, 2009 09:12
Published by: Thom L on April 14, 2009 09:14
-
How to send a variable for Labview TestStand?
Hello
32-bit Teststand 2014
32-bit Labview 2015
Not sure if a matter of Labview and Teststand.
I created a simple labview VI that has an indicator of success/failure.
I created a simple teststand when having a success/failure of test with the labview VI as the file.
I have a labview GUI that runs the teststand sequence and indicates if the sequence whole success or failure as a popup message.
I have disabled reporting teststand.
On the labview GUI, how can I show an indicator that my test pass/fail success or failure after the step of the sequence is over?
If this can be done during the execution of the sequence, then how to display an indicator that my test pass/fail success or failure after the entire sequence ends?
For example,.
If I run two digital tests in my sequence. 24VDC testing and other tests of 3.3Vdc. After the execution of my order, I invite myself just at the end if the two tests either success or failure. However, if a test fails I will not be able to know the man who. I want to be able to tell which test failed with an indicator on my labview GUI and not a teststand generate report.
I'm not sure if it's something to teststand I need installation with local variables or elsewhere in labview. I don't have a whole test report, I want to just the user to see an indicator that a particular functionality test adopted during the teststand sequence.
Any help would be greatly appreciated.
Thank you
-
How can I get the SWF file to send a variable in HTML file
I'm new to flash and trying to figure out how it works. I have a task to upgrade a website. I have a map of ND with a few cities on it. I needed to add a new city to the SWF that does not seem to be hard (asuming I did correct). Action on all buttons for each city we the same except the name after the # is the selected city.
(release)
{
getURL ("locations_info.html #minot", "location_content");
}In the code HTML snip that controls that looked like this:
< object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase =" " http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="627"height ="400"> "
< param name = "movie" value = "flash/map.swf" >
< param name = "quality" value = "high" >
< embed src = "flash/map.swf" quality = "high" pluginspage =" " http://www.Macromedia.com/go/getflashplayer "type =" application/x-shockwave-flash"width ="627"height ="400"> < / embed > "< table >
< /tr >
< b >
"< td align ="left"valign ="top"> < IFRAME src ="locations_info.html"name ="location_content"width ="627"height ="190"scrolling =" "frameborder ="0"> < / IFRAME > < table >"
< /tr >
< /table >
< table >capture from the file locations_info.html looks like:
< b >
< td align = "left" valign = "top" > < table width = "687" border = "0" cellspacing = "0" cellpadding = "10" >
< b >
< td align = "left" valign = "top" > < class p = "maintext12" > < / p >
"< class p ="maintext12"> < strong > < a name ="minot"> < /a > Minot/Home Office < facilities > < br >".
408 20th Ave SW, Suite 101, Minot, N.D. 58701 < br >
Main line: (701) 852-5383 < br >
Phone toll-free: (800) 735-4955 < br >
Fax: (701) 852-6272 < br >
Opening hours: Monday - Friday 08:00 to 17:00 < /p >
< p > < / p >Can someone help me understand how when I run the present of my system it should load and process information for the correct city since the locations_info.html file but it doesn't. Nothing shows...
Jeanne
If all the other directives getURL() in the film use the same syntax for the named anchor link so that part should be OK. In the html document, locations_info, even once, if all named anchors look like the one you listed, then you can just need to clear your cache to get the new anchor to work.
The anchor name = "XXX" is to be depricated in some browsers. You can use id = "XXX", or both, instead. Although if you're working, they should all work.
Maybe you are looking for
-
I want to buy the new garageband.
I've had garage band, the have not used for a year or two, now he want to come back. It seems that the new version will cost $4.99, which I don't mind, but I can't understand how to buy and download. Help?
-
When I want to use the modem 711 error messages or 1068 appear
Everything was going well on my new L series with windows 7. Then after a few months, I tried to connect to the modem to check my email. He won t connect.Fortunately, I still have my old computer, so I tried it worked. I googled Error 711 and as was
-
2130 DeskJet printer: printer DeskJet 2130
Pouvez printer DeskJet 2130 scan multiple pages into a single PDF file?
-
Re: Satellite L300 - black screen with flashing white cursor
All of a sudden my laptop won't start more. It turns on, displays screen toshiba for a second and then goes to a black screen with a blinking white line in the upper left corner. I can't type something here! The last time I used it it was 100% very w
-
I'm possitive that is illegal but don't know how to report it.
I was looking for a cheap second hand computer Chair and keep coming across this guy adds. http://capebreton.Kijiji.ca/c-buy-and-sell-computer-accessories-fix-your-own-computer-today-or-allow-me-to-do-it-for-you-W0QQAdIdZ165752897 he said that he has