Executing listbox items according to loop
I am making a vi in which we need to execute listbox items according to loop values defined at the begining( shown in the image attached below) , it's like that we start a loop with some values in it e.g loop(2,4,5) and loop ends with END string and all the items between loop and END we need to execute number of times the values we have defined within loop , e.g in this case since only three values are there within loop 2,4,5 so any items present between loop and END we need to execute 3 times, it could be nested loop also, we tried so many solutions but not getting how to do this, some guidance would be great help.
function of the values defined within loop bracket is that we are having instryment list defined within loop and End and we having kept one constant x with every instrument , this x ( and the values defined within loop) are different voltages, x would be replaced every time by the newq loop value until all values are not executed.
below i am attaching the sequence list image.
Attachments:
sequence list.png 76 KB
Ritu wrote:
i am doing auto indexing but it not working correctly, below attached is the image of what i am doing.
Like this. (However you'll need more algorithm for this to work in nested loops - you'll have to keep a track of outside loop iterations while you execute inside loops.)
-DP
New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI
Similar Messages
-
Linking a JS object to ScriptUI listbox item
I am writing a script that that takes elements from a document and for each element makes a custom object with its own properties and methods. This list of elements is then spat out into a ScriptsUI listbox.
How do I link each listbox item to its associated obejct? i.e. So if I double click on a listbox item it will run a particular method within that object.
P.S. I dont want to have to store array ids in a column or something hacky like that.Yep, it seems that the Translator component of the MVVM pattern wouldn't be very useful in a ScriptUI perspective.
The most asbtract pattern you have to deal with, I think, is the GenericList widget (ListBox, DropDownList, maybe TreeView?) and its relationship with what we may call a DataProvider (following Flex and .NET terminology). But ScriptUI/ExtendScript does not allow a serious level of data binding.
The whole problem is to emulate something of a dynamic link so that the data provider can notify the List widget of some changing. As a response, the List then would update its items accordingly. A skeleton of this approach could be drawn using custom event notification:
const EXTERNAL_EVENT_TYPE = 'myEventType';
var externalProcess = function F()
if( F.targetWidget )
F.targetWidget.dispatchEvent(new UIEvent(EXTERNAL_EVENT_TYPE));
// =====================================
// UI
// =====================================
var w = new Window('dialog', "Example"),
// register the LB as a target:
lb = externalProcess.targetWidget = w.add('listbox'),
b = w.add('button',undefined,"Test Change");
lb.addEventListener(
EXTERNAL_EVENT_TYPE,
function(){ alert("Something is happening. I need to update my items!"); }
b.onClick = externalProcess;
w.show();
but I'm afraid this code—which, by the way, works!—leads us to an anti-pattern! Indeed, while we have to register and maintain a reference to the List widget in the external object (which is assumed to wrap the data), we still need to tell the list how to access the data provider in order to update the list items. The only benefit of the scheme above is that the external process can notify the list at any moment. Maybe this could make some sense in a non-modal context (palette), but this doesn't solve the original problem.
So, intuitively, I would tend to take the opposite view: instead of making the external process trigger some event in the UI when its data change, let simply provide a generic resync() method to the list widget. The paradigm, here, is that a data provider should always be an array structure whose elements expose a toString() or whatever feature. If the list widget has a reference to some data provider, then it can load and/or resync the list items using always the same abstract routines. Then we have something purely prototypal:
ListBox.prototype.load = DropDownList.prototype.load = function(/*obj[]&*/dp)
// =====================================
// A simple load method based on the assumption that
// all dp items offer a toString() ability
// Manage a reference to the data provider
this.properties||(this.properties={});
this.properties.data||(this.properties.data=[]);
dp?(this.properties.data=dp):(dp=this.properties.data);
// Vars
var CAN_SEP = 'dropdownlist'==this.type,
n = (dp&&dp.length)||0,
i, s;
// Add the ListItem elems
for (
i=0 ;
i < n ;
s=(''+dp[i++]),
this.add(CAN_SEP && '-'==s ? 'separator' : 'item', s)
// One could improve the code to support additional
// keys for: multicol, images, checks, etc.
return this;
ListBox.prototype.resync = DropDownList.prototype.resync = function(/*obj[]&*/dp)
// =====================================
// Resync, or even reload, the data provider items
this.selection = null;
this.removeAll();
return this.load(dp||null);
ListItem.prototype.get = function()
// =====================================
// Return an object instance from the DP (behind this ListItem)
return this.parent.properties.data[this.index] || null;
From that point, what could the client code look like? We basically have two options:
#1 The process is non-modal and then the external object will invoke List.resync(…) when required; in this case it MUST have a reference to the widget.
#2 The process is modal, meaning that the 'external' object in fact is entirely interacted from the UI (e.g. via a button click); in that case no external reference to the list widget is actually required since the UI module itself knows exactly when a List.resync() is required, so why should it delegate the job? Here is a basic example in such a context:
// Let's have some arbitrary 'OOP' stuff available
var MyClass = function(uid,str)
{ // constructor
this.id=uid||0;
this.rename(str||'');
// various methods
MyClass.prototype.rename = function(str){ this.name=str||'<unknown>'; };
// toString()
MyClass.prototype.toString = function(str){ return this.name; };
var myDataProvider = [
// some array of instances
new MyClass(3, "Name 3"),
new MyClass(5, "Name 5"),
new MyClass(7),
new MyClass(11, "Name 11, OK?")
var processChanges = function()
{ // emulate various changes in the data provider
myDataProvider[0].rename("New name (3)");
myDataProvider[2].rename("Finally Born 7");
myDataProvider[myDataProvider.length] = new MyClass(13, "Did you miss 13?");
myDataProvider[myDataProvider.length] = new MyClass(17, "Hello 17");
myDataProvider.splice(1,1);
// Now the User Interface:
var w = new Window('dialog', "Example"),
lb = w.add('listbox').load(myDataProvider),
b = w.add('button', undefined, "Test Changes!");
lb.onDoubleClick = function()
var someInstance = this.selection.get();
alert( "My secret UID is: " + someInstance.id );
b.onClick = function()
processChanges();
lb.resync();
w.show();
Does it make sense?
@+
Marc -
Execute Work Item: Invalid Link (SWN155)
Hi,
I am trying to configure Extended Notifications. I read and implemented the entries according to blog [/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox|/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox]. The problem is that I get a "Execute Work Item: Invalid Link (SWN155)" in my mails. My question is what I need to add to parameters INBOX_LINK_URL and WD_HOST to make this work. Please provide examples if you have a working scenario.
Thanks!Hi,
Have you checked OSS for possible fixes? It might that this was something that was clearly a bug, and not matter what you do, it will not work, unless you implement some fix.
Regards,
Karri
PS. The note is 966681
Edited by: Karri Kemppi on Oct 27, 2009 9:26 PM -
How to populate table rows with selected listbox items?
Hello,
I am trying to populate a table with selected listbox items. Each item should be a new row in the table. The picture below is the listbox and table I am using. I need to get the selected name to populate the Attendee column of the table when the user clicks the Add button. How do you do this with mutltiple attendees selected?
Thank you,
AngieSo you're considering the fact the if the user clicks the button twice, the name will appear twice and you don't want this, right?
Then you must check if any value is the same than the one you are about to add in the row..
for (var i = 0 ; i < ListBox1.length; i++){
if (ListBox1.getItemState(i) == true){
for (var x = 0 ; x < Table1._Row1.count; x++){
var boNewAttendee = true;
var strAttendee = Table1.resolveNode("Row1[" + x.toString() + "]").txtAttendee;
var newAttendee = ListBox1.getDisplayItem(i);
if (strAttendee.rawValue == newAttendee){
boNewAttendee = false;
break;
if (boNewAttendee){
txtAttendee.rawValue = ListBox1.getDisplayItem(i); -
A List of Customer Line Items according to the *CONTACT PERSON*
Hi All,
I'm looking for a report which shows the List of Customer Line Items according to the CONTACT PERSON data, that I can find in the customer master data.
Thanks for your helpNot sure if you can add this field to the selection criteria. Please look at OSS notes 188663, 310886. I remember there were some restrictions as only fields from certain tables are allowed to use in FBL1N, FBL3N and FBL5N transactions.
Shail -
Delete a line item according to Mat erial code
Hi SD experts,
I need to write an ABAP program to delete a line item according to some Material codes in a given Quotation(Revised).
I want to know what are the undelying fields and tables to be queried for a revised Quotation. Where do i find a give line item in a Quotation?
Appreciate your answer with points
Thanks
DanHello Dan
Initially Check the table VBAK for the Quotations, this can be done with the statement
Select * from VBAK where VBAK-AUART = QT.
Once the records are selected from the header table, go to the lines table [VBAP] and check for the material codes.
Select * from VBAP where VBAP-VBELN = VBAK-VBELN.
Read all the line and check for the material code.
Check all the line details to be matched with the material code.
Regards,
Gauravjit.
Reward Points if solution matches your requirement. -
Actobat 9 Execute Menu Item problem
I have a new PC with Window 7 and have successfully loaded Acrobat 9 pro - but a lot of the Acrobat functionality is now missing (it all worked under the XP platform). For example, when creating a form, using a buttom with an 'Execute menu item' command is not possible - it's blank actually. As this is the most useful tool within Acrobat forms it's really annoying. I have upgraded to 9.4.1 which is supposed to be Window 7 compatible but no luck. I've unistalled and reinstalled and called Adobe support (4 hours!) and still no solution.
Can anyone help me?After selecting this action you're supposed to go to the actual menus and
select the menu item that should be executed. This is instead of choosing it
from a list. Did you try that? -
Incorrect Link of Execute Work item in External Notification
Hello Experts,
I am working with the HCM Processes and Forms and used Standard Task TS17900101 in workflow, for Approve/Reject Forms.
Everything is working fine (form gets approved/rejected from UWL).
Now I configured, SWNCONFIG for sending the external notifications, and notifications are also being sent. But when pressing the "Execute Work Item" link from external inbox, I am getting the error:
===========================================================
"Service cannot be reached".
What has happened?
URL http://xyz.abc.com:1234/webdynpro/dispatcher/sap.com/pa~asr~formstep/ApproveFormApp call was terminated because the corresponding service is not available.
===========================================================
Since, the task seems to be bound with Java web Dynpro application ApproveFormApp by looking at SWFVISU task visualization, Do I need to do any kind of addition in Services (SICF).
Or I am missing something in SWFCONFIG.
Kindly suggest asap.
Thanks & Regards,
Jimit VadherHi Rob,
Thanks for the note number.
Let me tell you one more thing is, I have created customized Web Dynpro ABAP application, bound it with the newly created custom Task (for User decision), and used inside the Workflow.
So when I am sending the Notification of this custom task to External email, Correct link is being generated and working fine for agent.
But this is not working only for the standard task (TS17900101), I mentioned in my question above.
So still any service activation is pending? As per the Note, I checked ICF service and found it inactive.
Is activation required for ICF service, as custom notifications are already going & working fine.
Please suggest.
Thanks & Regards,
Jimit. -
Execute Work Item: Invalid Link (SWN155) for WD ABAP task ?
Dear all,
I have created a workflow task with WEBSERVICE object and configured task visualization with WD ABAP application.
When i am executing the work item through SAP Inbox , the application is triggering successfully.
But when the work item is transmitted to Outlook through Extended notifications configuration i am getting the error
Execute Work Item: Invalid Link (SWN155).
We have already implemented the 1381164 and 1164090 OSS notes.
We don't have UWL, the link need to be opened the WD application directly.
I am unable to find the error.
Please help to solve the issue.
Thanks,
VamshiHi,
Have you checked OSS for possible fixes? It might that this was something that was clearly a bug, and not matter what you do, it will not work, unless you implement some fix.
Regards,
Karri
PS. The note is 966681
Edited by: Karri Kemppi on Oct 27, 2009 9:26 PM -
FM to execute work items of non active substitutions.
Dear Experts
Greetings!
I have a requirement to execute work items for non active substitution from a report program.
I know the FM SAP_WAPI_EXECUTE_WORKITEM or SWW_WI_EXECUTE to execute Workitems assign to me or my active substitutions.
I need to execute for non active substitution.
What is the way to do this, is there any FM?
Appreciate your help and valuable suggestions.
Many thanks and regards
SandeepYou should use BADI
WF_BWP_SELECT_FILTER
To identify those workitem and then call the FM you have found to complete the workitem.
Thanks
Arghadip -
Workflow Error - ROLLBACK WORK executed (SWP_CALLBACK_WI_DONE item 8)
Hi Workflow Experts,
I need help regarding a workflow error I encountered during a workflow run, the error is as follows:
when I click the "red" traffic light right besides the broken box a pop up of the error log shows:
"object does not exist
ROLLBACK WORK executed (SWP_CALLBACK_WI_DONE item 8)
object does not exist
object does not exist
object does not exist
ROLLBACK WORK executed (SWP_CONTINUE_WITH_NEXT_NODES item 1)"
when I click the drop down arrow, the following error log shows:
WF Manager SWP_CALLBACK_WI_DONE
WF Manager SWP_CALLBACK_WI_DONE
WF Manager SWP_CALLBACK_WI_DONE
Workflow-System SWP_CALLBACK_WI_DONE
Workflow-System SWP_CALLBACK_WI_DONE
WF Manager SWP_CALLBACK_WI_DONE
Workflow-System SWW_WI_STATUS_CHANGE
Are any of you familiar with this error? or even encounter them? WHen I restarted the workflow in error using SWPR (restart workflow after error), the workflow continues and status is in process...
Please let me know if you have any idea on how to solve this issue or if there are anyone who have solve similar issues like this. Please help me, I am running out of options.
Thanks in advance!
MannyHello,
Does the error message give any more information? What sort of step does it happen at?
Did it also happen in the last run of that workflow? If not, compare the contents of the containers, one of the elements may be missing a value.
regards
Rick Bakker
Hanabi Technology -
Save listbox items to file with date in filename
Im trying to setup a small program to where when you save listbox items, it saves to a file with a specific name. All works fine, no problems. What I need to do is hen you click save, it saves the file with the specific name BUT with the date &
time added to the filename.
Example: filename-date-time.txt
Currently, Im only able to save as filename.txt
So when you save the list again, it just overwrites the file already there.
Here is what I have:
IO.Directory.CreateDirectory("C:\foldername")
Dim w As New IO.StreamWriter("C:\foldername\filename.txt")
Dim i As Integer
For i = 0 To ListBox1.Items.Count - 1
w.WriteLine(ListBox1.Items.Item(i))
Next
w.Close()
MsgBox("List has been saved to C:\foldername\filename.txt", MsgBoxStyle.OkOnly)
What do I need to add to this line: Dim w As New IO.StreamWriter("C:\foldername\filename.txt") So that it can save it with the date & time?Dim w As New IO.StreamWriter("C:\foldername\filename " & Now.ToString(" MM/dd/yyyy hh:mm:ssf") & ".txt")
Custom Date and Time Format Strings
Format specifier
Description
Examples
"d"
The day of the month, from 1 through 31.
More information:
The "d" Custom Format Specifier.
2009-06-01T13:45:30 -> 1
2009-06-15T13:45:30 -> 15
"dd"
The day of the month, from 01 through 31.
More information:
The "dd" Custom Format Specifier.
2009-06-01T13:45:30 -> 01
2009-06-15T13:45:30 -> 15
"ddd"
The abbreviated name of the day of the week.
More information:
The "ddd" Custom Format Specifier.
2009-06-15T13:45:30 -> Mon (en-US)
2009-06-15T13:45:30 -> Пн (ru-RU)
2009-06-15T13:45:30 -> lun. (fr-FR)
"dddd"
The full name of the day of the week.
More information:
The "dddd" Custom Format Specifier.
2009-06-15T13:45:30 -> Monday (en-US)
2009-06-15T13:45:30 -> понедельник (ru-RU)
2009-06-15T13:45:30 -> lundi (fr-FR)
"f"
The tenths of a second in a date and time value.
More information:
The "f" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> 6
2009-06-15T13:45:30.05 -> 0
"ff"
The hundredths of a second in a date and time value.
More information:
The "ff" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> 61
2009-06-15T13:45:30.0500000 -> 00
"fff"
The milliseconds in a date and time value.
More information:
The "fff" Custom Format Specifier.
6/15/2009 13:45:30.617 -> 617
6/15/2009 13:45:30.0005 -> 000
"ffff"
The ten thousandths of a second in a date and time value.
More information:
The "ffff" Custom Format Specifier.
2009-06-15T13:45:30.6175000 -> 6175
2009-06-15T13:45:30.0000500 -> 0000
"fffff"
The hundred thousandths of a second in a date and time value.
More information:
The "fffff" Custom Format Specifier.
2009-06-15T13:45:30.6175400 -> 61754
6/15/2009 13:45:30.000005 -> 00000
"ffffff"
The millionths of a second in a date and time value.
More information:
The "ffffff" Custom Format Specifier.
2009-06-15T13:45:30.6175420 -> 617542
2009-06-15T13:45:30.0000005 -> 000000
"fffffff"
The ten millionths of a second in a date and time value.
More information:
The "fffffff" Custom Format Specifier.
2009-06-15T13:45:30.6175425 -> 6175425
2009-06-15T13:45:30.0001150 -> 0001150
"F"
If non-zero, the tenths of a second in a date and time value.
More information:
The "F" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> 6
2009-06-15T13:45:30.0500000 -> (no output)
"FF"
If non-zero, the hundredths of a second in a date and time value.
More information:
The "FF" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> 61
2009-06-15T13:45:30.0050000 -> (no output)
"FFF"
If non-zero, the milliseconds in a date and time value.
More information:
The "FFF" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> 617
2009-06-15T13:45:30.0005000 -> (no output)
"FFFF"
If non-zero, the ten thousandths of a second in a date and time value.
More information:
The "FFFF" Custom Format Specifier.
2009-06-15T13:45:30.5275000 -> 5275
2009-06-15T13:45:30.0000500 -> (no output)
"FFFFF"
If non-zero, the hundred thousandths of a second in a date and time value.
More information:
The "FFFFF" Custom Format Specifier.
2009-06-15T13:45:30.6175400 -> 61754
2009-06-15T13:45:30.0000050 -> (no output)
"FFFFFF"
If non-zero, the millionths of a second in a date and time value.
More information:
The "FFFFFF" Custom Format Specifier.
2009-06-15T13:45:30.6175420 -> 617542
2009-06-15T13:45:30.0000005 -> (no output)
"FFFFFFF"
If non-zero, the ten millionths of a second in a date and time value.
More information:
The "FFFFFFF" Custom Format Specifier.
2009-06-15T13:45:30.6175425 -> 6175425
2009-06-15T13:45:30.0001150 -> 000115
"g", "gg"
The period or era.
More information:
The "g" or "gg" Custom Format Specifier.
2009-06-15T13:45:30.6170000 -> A.D.
"h"
The hour, using a 12-hour clock from 1 to 12.
More information:
The "h" Custom Format Specifier.
2009-06-15T01:45:30 -> 1
2009-06-15T13:45:30 -> 1
"hh"
The hour, using a 12-hour clock from 01 to 12.
More information:
The "hh" Custom Format Specifier.
2009-06-15T01:45:30 -> 01
2009-06-15T13:45:30 -> 01
"H"
The hour, using a 24-hour clock from 0 to 23.
More information:
The "H" Custom Format Specifier.
2009-06-15T01:45:30 -> 1
2009-06-15T13:45:30 -> 13
"HH"
The hour, using a 24-hour clock from 00 to 23.
More information:
The "HH" Custom Format Specifier.
2009-06-15T01:45:30 -> 01
2009-06-15T13:45:30 -> 13
"K"
Time zone information.
More information:
The "K" Custom Format Specifier.
With DateTime values:
2009-06-15T13:45:30, Kind Unspecified ->
2009-06-15T13:45:30, Kind Utc -> Z
2009-06-15T13:45:30, Kind Local -> -07:00 (depends on local computer settings)
With DateTimeOffset values:
2009-06-15T01:45:30-07:00 --> -07:00
2009-06-15T08:45:30+00:00 --> +00:00
"m"
The minute, from 0 through 59.
More information:
The "m" Custom Format Specifier.
2009-06-15T01:09:30 -> 9
2009-06-15T13:29:30 -> 29
"mm"
The minute, from 00 through 59.
More information:
The "mm" Custom Format Specifier.
2009-06-15T01:09:30 -> 09
2009-06-15T01:45:30 -> 45
"M"
The month, from 1 through 12.
More information:
The "M" Custom Format Specifier.
2009-06-15T13:45:30 -> 6
"MM"
The month, from 01 through 12.
More information:
The "MM" Custom Format Specifier.
2009-06-15T13:45:30 -> 06
"MMM"
The abbreviated name of the month.
More information:
The "MMM" Custom Format Specifier.
2009-06-15T13:45:30 -> Jun (en-US)
2009-06-15T13:45:30 -> juin (fr-FR)
2009-06-15T13:45:30 -> Jun (zu-ZA)
"MMMM"
The full name of the month.
More information:
The "MMMM" Custom Format Specifier.
2009-06-15T13:45:30 -> June (en-US)
2009-06-15T13:45:30 -> juni (da-DK)
2009-06-15T13:45:30 -> uJuni (zu-ZA)
"s"
The second, from 0 through 59.
More information:
The "s" Custom Format Specifier.
2009-06-15T13:45:09 -> 9
"ss"
The second, from 00 through 59.
More information:
The "ss" Custom Format Specifier.
2009-06-15T13:45:09 -> 09
"t"
The first character of the AM/PM designator.
More information:
The "t" Custom Format Specifier.
2009-06-15T13:45:30 -> P (en-US)
2009-06-15T13:45:30 -> 午 (ja-JP)
2009-06-15T13:45:30 -> (fr-FR)
"tt"
The AM/PM designator.
More information:
The "tt" Custom Format Specifier.
2009-06-15T13:45:30 -> PM (en-US)
2009-06-15T13:45:30 -> 午後 (ja-JP)
2009-06-15T13:45:30 -> (fr-FR)
"y"
The year, from 0 to 99.
More information:
The "y" Custom Format Specifier.
0001-01-01T00:00:00 -> 1
0900-01-01T00:00:00 -> 0
1900-01-01T00:00:00 -> 0
2009-06-15T13:45:30 -> 9
2019-06-15T13:45:30 -> 19
"yy"
The year, from 00 to 99.
More information:
The "yy" Custom Format Specifier.
0001-01-01T00:00:00 -> 01
0900-01-01T00:00:00 -> 00
1900-01-01T00:00:00 -> 00
2019-06-15T13:45:30 -> 19
"yyy"
The year, with a minimum of three digits.
More information:
The "yyy" Custom Format Specifier.
0001-01-01T00:00:00 -> 001
0900-01-01T00:00:00 -> 900
1900-01-01T00:00:00 -> 1900
2009-06-15T13:45:30 -> 2009
"yyyy"
The year as a four-digit number.
More information:
The "yyyy" Custom Format Specifier.
0001-01-01T00:00:00 -> 0001
0900-01-01T00:00:00 -> 0900
1900-01-01T00:00:00 -> 1900
2009-06-15T13:45:30 -> 2009
"yyyyy"
The year as a five-digit number.
More information:
The "yyyyy" Custom Format Specifier.
0001-01-01T00:00:00 -> 00001
2009-06-15T13:45:30 -> 02009
"z"
Hours offset from UTC, with no leading zeros.
More information:
The "z" Custom Format Specifier.
2009-06-15T13:45:30-07:00 -> -7
"zz"
Hours offset from UTC, with a leading zero for a single-digit value.
More information:
The "zz" Custom Format Specifier.
2009-06-15T13:45:30-07:00 -> -07
"zzz"
Hours and minutes offset from UTC.
More information:
The "zzz" Custom Format Specifier.
2009-06-15T13:45:30-07:00 -> -07:00
The time separator.
More information:
The ":" Custom Format Specifier.
2009-06-15T13:45:30 -> : (en-US)
2009-06-15T13:45:30 -> . (it-IT)
2009-06-15T13:45:30 -> : (ja-JP)
The date separator.
More Information:
The "/" Custom Format Specifier.
2009-06-15T13:45:30 -> / (en-US)
2009-06-15T13:45:30 -> - (ar-DZ)
2009-06-15T13:45:30 -> . (tr-TR)
"string"
'string'
Literal string delimiter.
2009-06-15T13:45:30 ("arr:" h:m t) -> arr: 1:45 P
2009-06-15T13:45:30 ('arr:' h:m t) -> arr: 1:45 P
Defines the following character as a custom format specifier.
More information: Using Single Custom Format Specifiers.
2009-06-15T13:45:30 (%h) -> 1
The escape character.
2009-06-15T13:45:30 (h \h) -> 1 h
Any other character
The character is copied to the result string unchanged.
More information:
Using the Escape Character.
2009-06-15T01:45:30 (arr hh:mm t) -> arr 01:45 A
La vida loca
gives error when trying save.
The given path's format is not supported. -
Execute Work Items with Outlook (WF)
Abapers, where i can find information about execute work items with outlook??
Can you suggest me some links?Take a look at the documentation for report RSWUWFML or RSWUWFML2.
Or if you want a richer integration with Outlook, like e-mails disappearing when the work item is finished, then take a look at http://www.desktopworkplace.com.
Cheers,
Scott -
Sort list items according to predifined order
hi all,
I wonder is there any way to sort the items of a list
according to a predefined order (e.g., 2,3,1)?
Many thanksAs far as I know the only predefined sort order is
alphabetic. You could write a function using
list.addAt(position,value) to add new items in the proper location
and maintain the sort order yourself. This might involve a lot of
looping through the target list, depends on how complex your sort
rules are.
I had a project where I needed to keep a list of file names
sorted by rules other than alphabetic. I actually used a big lookup
table (case statement) to append letters to the beginning of each
name just before adding them to the list, the letters were stripped
off when data was retrieved from the list. This trick allowed me to
use list.sort() to maintain the sort order. It’s an ugly
solution and I’m not proud of it, but it got the job done. -
Updating Listbox in a while loop
Hi,
I'm a newbie.
I would like to have a directory listing in a listbox updated
continuously.
I have an array of file names going into the Item Names property node,
then the value and string array are put into an "index array" which
goes to an indicator.
Now it works fine when I run it once but, if I run it in a while loop
I can't select any items in the Listbox.
Can someone tell me what I'm doing wrong?
thanxHi,
I'm not sure that I've got the problem corrcetly. It is always better to send your VI with message. But I tried to make an example and it works fine in my case.
Is it what you want?
Oleg Chtuko.
Attachments:
List.vi 27 KB
Maybe you are looking for
-
Lack of value in promotions for some customers
I've been a long time customer with my first phones being on Alltel plans before Verizon acquired/merged with them and currently on my second smartphone, soon to be third on their service. However, as a single person, the buy 1 get 1 free promotions
-
i have a macbbook air(2013) using mountain lion 10.9.2 i have photoshop cs4 and now get error 150:30(license error), i tried looking to delete flex net program but i don't seem to have it. how do i resolve this?
-
I am trying to setup a new WRT160N. I can connect on the internet and see other pcs' on the network, however I can not complete the installation of the software that came on the cd, and when I try to access the web interface, it takes forever just to
-
Graphics layer over video Layer problem
Hello! we are blu-ray applications developers and we have a problem with repainting graphics layer over video layer. In MHP this problem is solved using the method call repaint() to the HScene. This Method remove all graphics and paint again. But in
-
Option to Disable 4G on Q10 (and use 3G in lieu)
The new iphone 5 has an option to disable 4G and allow the phone to work in 3G mode. This disable button can be helpful for situations when the 4G service is weak. I work in midtown Manhattan and the 4G/LTE service is weak in both my office and my c