How to save the detail view of a task in a database?
Hi experts,
I need to save the detail view which we get after selecting the work item in the table list in UWL. Can anyone provide me the solution for it step by step as I have no prior knowledge of portal.
Thanks,
Amit.
PS: Points will be rewarded.
Edited by: amit sinha on Jun 4, 2008 5:41 PM
Hello,
take a look on the below example :
--Initialize data
Create table #tmp (id int,name varchar(50),marks int)
Insert into #tmp values (1,'a' ,3)
Insert into #tmp values (2,'b',5)
--Decalare variable
Declare @maxid int, @minMarks int
--Take data from table
Select @maxid=max(id),@minMarks= min (marks) from #tmp
--Select data storead in variables
Select @maxid,@minMarks
Drop table #tmp
Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/
Similar Messages
-
How to capture the Escalation status in Human Task & Update in database
Hi,
I have created a Workflow where I have a humantask. Here if the Approver Escalates the task, I want to capture this Workflow status and need to Update it in the our(Oracle) Database as Escalated. I am Updating the database as Approved when the Approver Approves and Rejected when he rejects. as we can have capture these status. Similarly I want to do for the Escalated status also.
Please Help I have been stuck to this.
Thanks.No Experts to answer this???????????????????
-
I am trying to generate an application that saves a copy of its front panel on completion. This is easy to do using an invoke node with Print VI to HTML but this does not work in an .exe format. I have seen elsewhere that you have to use the Get Panel Image method, but no details are supplied in LV 5.0.1 documentation of how to use the "image" data (1-D Unsigned Byte array) that is generated. I want to save this in a format that can then be read as a bitmap in any standard graphics package. Any assistance?
Hi,
If you'd upgrade to LV5.1 or 6 you could use the 'standard' vi's for this.
You need a VI called "Write BMP File.vi". It's not shipped with LV5.0.1.
This vi only uses 3 subVI's, so perhaps someone at NI can convert it and
send it to you (sorry, I won't, it's copywrited).
If you cannot get this VI anywhere, you'll need to figure out the BMP file
format yourself. It's not too complicated, but still could take some days.
Perhaps someone figured it out before LV5.1 was released.
Regards,
Wiebe.
"RDK" wrote in message
news:[email protected]..
> I want to use Get Panel Image in Labview 5.0.1 and need details on how
> to save the BMP data generated
>
> I am trying to generate an application that saves a copy
of its front
> panel on completion. This is easy to do using an invoke node with
> Print VI to HTML but this does not work in an .exe format. I have seen
> elsewhere that you have to use the Get Panel Image method, but no
> details are supplied in LV 5.0.1 documentation of how to use the
> "image" data (1-D Unsigned Byte array) that is generated. I want to
> save this in a format that can then be read as a bitmap in any
> standard graphics package. Any assistance? -
How to Save the "Document Info" Details Action Via
I saved the "Document Info" details in illustrator manually using "Document Info Pannel". Could you please expain how to save the "Document Info" details through illustrator action.
Thanks,
PrabudassWhen in the document info window of a file there is a small triangle in the top right corner from this you have fly out menus to save/delete or show metadata templates. You can use this to save groups of metadata. Once you have a bunch of groups you can quickly use this to set your info. Bridge will also allow you to append or replace metadata from these saved templates too
-
Webapps. How can I create a link to a page instead of showing the details-view
I want my client to define what page a webapp shall point to in list-view, instead of showing the details view, but I cant figure out how. I have tried this, but it seams that tags don't work inside links:
<a href="{tag_my_custom_link}">{tag_name}</a>
.. does any one know how to do this?The problem is the format of your tag. If your field name in the web app is "My Custom Link" then your tag is {tag_My Custom Link} (note the spaces).
Cedric is right though, make sure the field is a textfield and not a hyperlink field in your web app. If you use BC's new "Develop" tab up top you can navigate to your web app detail layout in /Layouts/Web Apps/<yourwebapp> and find "list.html". Then, you can use the toolbox on the right (click the data tab) to insert tags without having to guess. You can choose your custom field and insert the tag. -
How to save the edited datagrid using array collection?
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="demo2">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.events.FlexEvent;
import spark.components.gridClasses.IGridItemEditor;
import spark.components.gridClasses.IGridItemRenderer;
import spark.events.GridItemEditorEvent;
[Bindable]
private var myDP:ArrayCollection = new ArrayCollection([
{label1:"Day1 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day2 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day3 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day4 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day5 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "},
{label1:"Day6 ", label2:" Sub1", label3:"Sub2 ", label4:"Sub3 ", label5:"Sub4 ", label6:"Sub5 ", label7:"Sub6 "}
protected function myDG_gridItemEditorSessionSaveHandler(event:GridItemEditorEvent):void
// TODO Auto-generated method stub
protected function button1_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
navigator.popView();
protected function button2_clickHandler(event:MouseEvent):void
// TODO Auto-generated method stub
myDG.editable=false;
myDP
protected function myDG_exitStateHandler(event:FlexEvent):void
// TODO Auto-generated method stub
]]>
</fx:Script>
<s:DataGrid id="myDG" x="10" y="45" width="460" height="240" dataProvider="{myDP}"
editable="true" exitState="myDG_exitStateHandler(event)" fontSize="11"
gridItemEditorSessionSave="myDG_gridItemEditorSessionSaveHandler(even t)"
rowHeight="30" variableRowHeight="true" selectionMode="singleCell" >
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="label1" headerText="day" editable="false" />
<s:GridColumn dataField="label2" headerText="9-10am"/>
<s:GridColumn dataField="label3" headerText="10-11am"/>
<s:GridColumn dataField="label4" headerText="11am-12noon"/>
<s:GridColumn dataField="label5" headerText="1-2pm"/>
<s:GridColumn dataField="label6" headerText="2-3pm"/>
<s:GridColumn dataField="label7" headerText="3-4pm"/>
</s:ArrayList>
</s:columns >
</s:DataGrid>
<s:Button x="404" y="10" width="53" height="27" label="Back" click="button1_clickHandler(event)"
fontSize="13"/>
<s:Button x="24" y="10" width="56" height="27" label="Save" click="button2_clickHandler(event)"
fontSize="14"/>
</s:View>
please help me with this code...i dontknow how to save the data edited in the datagrid back to my arrayollection!!!please help with this......
-
How to save the image in the form?
As thread, how to save the image into a file from the pdf form - image box?
I have Adobe Acrobat 9 Pro extended.Hi Sandy,
Sorry for Delay.Could you please provide script code for the Button and in which event we want to add the code
I want to Save the lot of images in the PDF. For that I kept Image field in the form.Here I am able to upload the images but those are not saved.
If possible please share the details document.
Please help me.
Thanks,
Ravi. -
How to save the selected row number to NSUserDefaults
I am trying to save the indexpath.row of the selected row to NSUserDefaults temporarily until my detail view controller can load its UITextFields based on which row is tapped. First of all is this good? I chose this design because the detail view controller cannot access the master view controller so I can't find out which row its tapped. To save to NSUSerDefaults, I did the following code, and the NSLog is always returning row 0 no matter what row I tap. Plus the title is not being set: its still blank.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
[patientList deselectRowAtIndexPath:indexPath animated:YES];
[[NSUserDefaults standardUserDefaults] setInteger:indexPath.row forKey:@"rowSelected"];
NSLog(@"The selected row saved is row %d"), [[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"];
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
PatientDetailViewController *detailViewController = [[PatientDetailViewController alloc] initWithNibName:@"PatientDetailViewController" bundle:nil];
detailViewController.title = [patientDisplayName objectAtIndex:[[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"]];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];I have also tried setting the title differently (I also added comments to explain each line what it does, the rest is the same), but neither methods work
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
// Deselect the row
[patientList deselectRowAtIndexPath:indexPath animated:YES];
// Save to memory the row selected
[[NSUserDefaults standardUserDefaults] setInteger:indexPath.row forKey:@"rowSelected"];
// Show saved row to make sure it saved correctly
NSLog(@"The selected row saved is row %d"), [[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"];
// Check if user is using iPhone
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
// Load the view
PatientDetailViewController *detailViewController = [[PatientDetailViewController alloc] initWithNibName:@"PatientDetailViewController" bundle:nil];
// Set the title of the detail view controller based on row selected
detailViewController.title = [patientDisplayName objectAtIndex:indexPath.row];
// Push the detail view controller
[self.navigationController pushViewController:detailViewController animated:YES];
// Release the detail view controller
[detailViewController release]; -
How to extract the details of the stored procedures in the database?
Dear all,
How to extract the details of them?
Bst Rgds,
EdwardHi Wa-Man Edward Chan,
Following is the PLSQL Block Which Will Give Package, Procedure, Function Source
set verify off
undefine which_object;
undefine which_line;
declare
Shows lines with context of:
VIEW
FUNCTION
PROCEDURE
TRIGGER
PACKAGE SPECIFICATION
PACKAGE BODY
The script uses to temporary tables ERROR_TABLE_TEMP and ERROR_CLOB_TEMP created with:
CREATE GLOBAL TEMPORARY TABLE ERROR_TABLE_TEMP(line number, text varchar2(4000));
CREATE GLOBAL TEMPORARY TABLE ERROR_CLOB_TEMP(TEXT CLOB);
v_offset number:= 5; -- Controls how many lines before and after the line in focus are to be shown
v_obj_name varchar2(100);
v_obj_type varchar2(100);
v_obj_type_new varchar2(100);
v_obj_line number;
v_counter number := 0;
v_text varchar2(32767);
v_subtext varchar2(1000);
v_from number;
v_len number;
v_marker varchar2(10);
v_found number;
v_line_from number;
v_line_to number;
v_long_text clob;
procedure ins_line (p_text in varchar2) is
begin
v_counter := v_counter + 1;
insert into error_table_temp(line,text)
values (v_counter,p_text);
end;
begin
delete error_table_temp;
select ltrim(rtrim(upper('&which_object'))), nvl(to_number('&which_line'),0)
into v_obj_name, v_obj_line
from dual;
begin
select decode(object_type,'PACKAGE','PACKAGE BODY',object_type)
into v_obj_type
from user_objects
where object_name = v_obj_name
and nvl(v_obj_line,0) > 0
and rownum = 1;
exception when no_data_found then
ins_line('ERROR: Object/line not found');
return;
end;
ins_line(v_obj_name||' ('||v_obj_type||')');
if v_obj_type in ('PACKAGE BODY','PACKAGE','FUNCTION','PROCEDURE') then
v_obj_type_new := v_obj_type;
ins_line('----------------------- PROGRAM LISTING -------------------------');
for code in (select trim(text) text, lpad(line,4,' ')||' '||decode(line,v_obj_line,'>>>>> ',' ') marker, type
from user_source
where name = v_obj_name
and line between v_obj_line-v_offset and v_obj_line+v_offset
order by decode(type,v_obj_type,1,2),line) loop
if v_obj_type_new != code.type then
ins_line(null);
v_obj_type_new := code.type;
v_counter := -100000; -- In order to show specification before body
ins_line(v_obj_name||' ('||v_obj_type_new||')');
ins_line('----------------------- PROGRAM LISTING -------------------------');
end if;
ins_line(code.marker||code.text);
end loop;
elsif v_obj_type = 'VIEW' then
select text
into v_text
from user_views
where view_name = v_obj_name;
v_line_from := v_obj_line-v_offset;
v_line_to := v_obj_line+v_offset;
v_obj_line := v_obj_line -1;
ins_line('------------------------------- PROGRAM LISTING -------------------------------');
for i in v_line_from..v_line_to loop
begin
if i = v_obj_line then
v_marker := '>>>>> ';
else
v_marker := ' ';
end if;
if i = 0 then
v_from := 0;
v_len := instr(v_text,chr(10));
else
v_from := instr(v_text,chr(10),1,i);
v_len := instr(v_text,chr(10),1,i+1) - v_from;
end if;
v_subtext := substr(v_text,v_from+1,v_len-1);
if v_len > 0 then
ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
end if;
exception when others then
null;
end;
end loop;
elsif v_obj_type = 'TRIGGER' then
ins_line('----------------------- PROGRAM LISTING -------------------------');
delete error_clob_temp;
execute immediate 'insert into error_clob_temp (text) '||
'select to_lob(trigger_body) '||
'from user_triggers ' ||
'where trigger_name = '''||v_obj_name||'''';
select text
into v_long_text
from error_clob_temp;
v_obj_line := v_obj_line-1;
v_line_from := v_obj_line-v_offset;
v_line_to := v_obj_line+v_offset;
for i in v_line_from..v_line_to loop
begin
if i = v_obj_line then
v_marker := '>>>>> ';
else
v_marker := ' ';
end if;
if i = 0 then
v_from := 0;
v_len := dbms_lob.instr(v_long_text,chr(10));
else
v_from := dbms_lob.instr(v_long_text,chr(10),1,i);
v_len := dbms_lob.instr(v_long_text,chr(10),1,i+1) - v_from;
end if;
v_subtext := dbms_lob.substr(v_long_text,v_len-1,v_from+1);
if v_len > 0 then
ins_line(lpad(to_char(i+1),4,' ')||' '||v_marker||v_subtext);
end if;
exception when others then
null;
end;
end loop;
end if;
if v_counter = 0 then
ins_line('*********** NO CODE FOUND ***********');
else
ins_line(null);
end if;
exception when others then
ins_line('*********** ERROR: NOT POSSIBLE TO SHOW THE CODE ***********');
ins_line(' FEJL: '||sqlerrm);
end;
set linesize 4000
set heading off
set feedback off
set verify on
select text
from error_table_temp
order by line;
set linesize 80
set heading on
set feedback on
Prashant -
How to save the print configuration
Hello, in my business, employees need to print multiple documents per day.
But for these specific documents, they need to print with a size of 105%.
My question is how to save the print configuration because they need to remplace the size by 105% every time ...
Please help me
(Sorry for my bad english, i'm french)it was here : http://www.hostingpics.net/viewer.php?id=684187301.jpg
this screen appear after i press File -> print
and i need to put 105% every time i want to print document, how to save this ?
edit : this is not in the printer configuration -
How to save the credentials in windows security when opening a report?
How to save the credentials in windows security when opening a report?
in Silverlight program, user click a link to SQL server report services link, it pops up a new IE window and ask for windows security.
Type the user name password in and check save password. reports showed and close IE. user click again, the same windows security popup dialog showed up. how to really remember the credentials?
If keep the IE open, reports shows in second tab of the same IE window for the second click, and it didn't ask for the windows security.Hi Lascorpion,
According to your description, users need to type username and password before they can open the SSRS report when reopening IE, right? If I have anything misunderstood, please point it out.
Base on my research, this issue offten occurs on IE9 which ships with Windows 7 operating systems. In this case, to avoid this issue we can add the report URL to the trust site, for the detail information, please refer to the link below.
SSRS Prompt for username and password in IE
Regards,
Charlie Liao
TechNet Community Support -
WS-C4006 How to save the configuration
Hi,
I have Cisco 4006 Switch model; normally we don't need to save the configuration on this device but somehow this device is not saving any configuration.
Can someone help me; how to save the configuration. Attached is the IOS version detail.
****************** show version ******************
WS-C4006 Software, Version NmpSW: 7.1(2)
Copyright (c) 1995-2002 by Cisco Systems, Inc.
NMP S/W compiled on Feb 7 2002, 16:53:43
GSP S/W compiled on Feb 07 2002, 15:24:55
System Bootstrap Version: 5.4(1)
Hardware Version: 3.2 Model: WS-C4006hi
can u verify whether this command is enabled in ur box or not ?
set config mode text auto-save enable
hope you are aware of this cli which does save the configs automatically after every 30mins.
regds -
How to extend the costing view for a material
How to extend the costing view for a material
Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save. -
How to change the default view of published iCal's URL
I am publishing an iCal for a nonprofit group and link to the calendar from the group's website. The default URL given (in the send publish email option) leads to the week view of the current week. I would prefer the link to take site visitors to the month view of the calendar. If I go to the month view and copy the URL for it, and use that for the link, I have to change the URL each month, because the URL that comes from the month view will only show the month it was at the time I copied the URL -- it will not change with the new month. Does anyone have any idea of how I can change the URL so that it leads to the month view of whatever the current month is?
I should note that I know how to change the default view in the my browser, but I would rather not have to explain how to do this to all the people viewing the calendar -- just wanting the correct month view to show up when they click the link, without having to change it each month.
I would be so grateful if anyone has some insight on this!
Thanks.Carlo,
The fact that this question has been left unanswered for over 2 months seems a little negligent on the part of Apple Support.
This Forum is unfortunately not Apple Support. According to Apple:
What is Apple Discussions and how can it help me? "Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. You'll find a wealth of information about your favorite Apple hardware and software products that will help you get the most out of your purchase. You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.
If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages."
In direct response to your questions, I would say that (as observed by the OP) anyone who subscribes to a published calendar can make a change to their desired view using the "Preferences" icon which is displayed underneath the mini-month calendars.
There is no way that I know of to directly or conveniently change the time-range. There may be workarounds, but I could not find a suitable solution for you.
I would recommend that you provide iCal Feedback, if you are interested in informing Apple of your desires.
;~) -
"I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it." Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns. Trouble is, I can't find a Musi Folder or icon in my user library.
Any help would be appreiated. OSX 10.9.2 iTunes version 11.1.5 Thanks!!! CW!From the iTunes menu bar try View>Show View Options. Make sure what you want to see is checked and what you don't is unchecked. You can do this (may need to do this) for any playlists, your main Library, etc.
Good luck
srb
Maybe you are looking for
-
What format video clips have to be to import into ipad 2
I have some video clips on my PC, but cannot synch into IPad2. What is the best format fot the clip to bring into IPad.
-
How to update Location numbers of customers using BAPI_CUSTOMERCRM_CHANGE
Hi everyone, I would like to ask how to update location numbers 1 and 2 and check digit using this bapi, BAPI_CUSTOMERCRM_CHANGE and what are the significance of the following parameters. CALL FUNCTION 'BAPI_CUSTOMERCRM_CHANGE' EXPORTING I_UPLO
-
public class ClassA { public void methodOne(int i) { public void methodTwo(int i) { public static void methodThree(int i) { public static void methodFour(int i) { public class ClassB extends ClassA { public static void methodOne(int i) { public void
-
Workflow lab first impressions
I have just dowloaded the workflow lab air application and i have played around with it for a couple of minutes. It seems to me that the idea is cool and also I needed something like this to organize visually the workflow of nw projects that I start.
-
Why is there no simple way to delete unused reference pages from multiple FM files?
I have hundreds of files in which some, but not all, of the reference pages are not being used. I don't want to open each file and manually click each page and then delete the pages one by one... what can I do to fix this? I think the files were all