Multi select date field
Hi,
Is there any idea how to combine multi select DATE field in the check-in screen?
Thanks, eran.
Dates are stored using a DATE field in the database in a database date format. As such, multiple values can not be stored in the same field, only single values.
What's the use case?
Similar Messages
-
Query values in Multi Select form field
I have a table and one of the fields is a multiple select box. It is currently working fine
What I now need to do is create a report based on the individual elements in that field: (This report will really just do a count of the events for ownership purposes)
Example:
Table simplified:
Name | Teams Involved
One | TeamA:TeamB:TeamC:TeamD
Two | TeamC
Three | TeamB:TeamD
Four | TeamA:TeamD
Five | TeamD
Six | TeamA
Seven | TeamA
Eight | TeamB
The Teams Involved are populated from a Multiple Select LOV so the Data will always remain constant in spelling etc...
TeamA
TeamB
TeamC
TeamD
I am trying to create a report that will show me the number of times a team is selected in the Teams Involved column and the results would look like:
TeamA 4
TeamB 3
TeamC 2
TeamD 4
I am not very good with PL/SQL but assuming I might need to do a foreach loop type using the values in the LOV and the LIKE %LOVVALUE% but just not really sure
any assistance would be appreciated.
Thanks in advance
wfsteadmanAs Prabodh pointed out, I'm placing a colon at the beginning and end of the value list before doing the LIKE, so every value in the list is guaranteed to have a colon before and after it.
Of course, this could be a performance issue if your dataset becomes large--you're not going to be able to use an index on this column--in which case you'll want to go to a more normalized solution (a table for your teams, a table for your projects [or whatever], and a reference table in the middle), but then you'll need to worry about parsing your multi-select values via a view with an instead of insert trigger. I do this on my blog for assigning tags to posts; it's not difficult, but APEX--for whatever reason--doesn't expose triggers on views as easily as on tables.
-David -
Reporting on a Multi-Select list field X:Y:Z
I'm sure someone must have come across this problem but I can't find a reference to it on the forum.
PROBLEM
I have a data entry form with multi-select lists. Users choose a number of display values and the return values are stored in the field in the format
20:30:50
When I create an SQL report on a row, there is no option to Display the column as a "multi-select list" like there is with a standard List of Values.
How do I report the display lookup values rather than the return code?
Is it possible to display the selected values in a report for example
red
orange JOHN 10-JAN-07
green
red
orange MARY 12-FEB-07
orange
green MARK 13-JUL-07
regards
Paul PPaul,
I have several examples on this topic:
http://htmldb.oracle.com/pls/otn/f?p=31517:87
http://htmldb.oracle.com/pls/otn/f?p=31517:84
http://htmldb.oracle.com/pls/otn/f?p=31517:75
Basically, you will need to create a table out of your colon separated values and then
join this table with other tables to be able to display it however you want.
What just comes to my mind is that Dietmar presented a nice workarround for a similar
problem here:
Nested report howto?
Denes Kubicek -
How to make Multi Select Picklist Field Required Based on another field
Hi,
I want to make one filed which is Multi select Required(mandatory) based on certain value in another filed.
I tried putting IIf([<FieldNAme>]> 1000 AND [<FiledNAme1>] IS NULL,"Invalid",[<FieldNAme>]) in the Field validatation as but it is not working.
Please suggest any workaround available.
Warm Regards
Pramod
Edited by: user11361975 on Jun 3, 2011 5:03 AMI guess FieldName1 is the multiselect picklist you are referring to?
Where did you get the ITAG from? I don't see any multiselect picklists available in Expression Builder. I doubt whether you can set validations on multi select picklists at all.
If anyone has achieved this please let me know as well.
Regards,
Udaya -
Error to select data field of same length and same type.
Hi,
I have to select data from VBRK , VBRP and then from table CE4UCA1_ACCT based on the condition
AKTBO IN SO_AKTBO AND
PAOBJNR = LT_VBRK_VBRP-POSNR AND
PASUBNR IN SO_RKBNR AND
PRCTR IN SO_PRCTR.
So while coding it gave a syntax error saying that PAOBJNR & POSNR need to be of same length. To solve this I chagned the decalaration of POSNR from "POSNR TYPE POSNR" to "POSNR TYPE RKEOBJNR" and this corrected the error.
Now I have to select data from KONV table based of the condition :-
Get data from KONV table.
select knumv
kposn
stunr
kwert
into table lt_konv
from konv
for all entries in LT_VBRK_VBRP
where knumv = LT_VBRK_VBRP-knumv and
kposn = LT_VBRK_VBRP-posnr and
stunr = '950'.
Here again it is throwing syntax error that LT_VBRK_VBRP-posnr should be of same type and same length. So please guide me how to solve this type of situation.
Thank You,
SB.Hi,
select knumv
kposn
stunr
kwert
into table lt_konv
from konv
for all entries in LT_VBRK_VBRP
where knumv = LT_VBRK_VBRP-knumv and
***--- Change to
*kposn = LT_VBRK_VBRP-kopos and*
stunr = '950'. For 4.6c system
OR
Pass VBAK-KNUMV to KONV-KNUMV
VBAP-POSNR to KONV-KPOSN
Edited by: Raj on Jun 17, 2008 2:27 AM -
Select data fields with delimiter
hi,
im new to oracle. I'm working on unix oracle 11g. I need to know the way to fetch records with delimiters. I'd worked with informix before, and thr i use UNLOAD TO <filename> SELECT.... Is there any equivalent one in oracle. I just need the data, nt even the column names.
Format required-
data1|data2|data3
data11|data22|data33
Pls help.The above answer will give data you can spool to a file in SQL*Plus.
If you want to write the data to a file from within PL/SQL, and you need something a little more generic to use for different queries, you can use something along these lines...
As sys user:
CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
/As myuser:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
,p_dir IN VARCHAR2
,p_header_file IN VARCHAR2
,p_data_file IN VARCHAR2 := NULL) IS
v_finaltxt VARCHAR2(4000);
v_v_val VARCHAR2(4000);
v_n_val NUMBER;
v_d_val DATE;
v_ret NUMBER;
c NUMBER;
d NUMBER;
col_cnt INTEGER;
f BOOLEAN;
rec_tab DBMS_SQL.DESC_TAB;
col_num NUMBER;
v_fh UTL_FILE.FILE_TYPE;
v_samefile BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
BEGIN
c := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
d := DBMS_SQL.EXECUTE(c);
DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
ELSE
DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
END CASE;
END LOOP;
-- This part outputs the HEADER
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
FOR j in 1..col_cnt
LOOP
v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
END LOOP;
-- DBMS_OUTPUT.PUT_LINE(v_finaltxt);
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
IF NOT v_samefile THEN
UTL_FILE.FCLOSE(v_fh);
END IF;
-- This part outputs the DATA
IF NOT v_samefile THEN
v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
END IF;
LOOP
v_ret := DBMS_SQL.FETCH_ROWS(c);
EXIT WHEN v_ret = 0;
v_finaltxt := NULL;
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
ELSE
v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
END CASE;
END LOOP;
-- DBMS_OUTPUT.PUT_LINE(v_finaltxt);
UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
END LOOP;
UTL_FILE.FCLOSE(v_fh);
DBMS_SQL.CLOSE_CURSOR(c);
END;This allows for the header row and the data to be written to seperate files if required.
e.g.
SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
PL/SQL procedure successfully completed.Output.txt file contains:
empno,ename,job,mgr,hiredate,sal,comm,deptno
7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
Adapt to output different datatypes and styles are required. -
Selecting Date fields from selectOneChoice box
Hi all
i am having the below problem.
i have a SelctOneChioce Box which has a list of TimeStampObject from a View object.
i am getting a below error when i selct any values from the drop down list and submit the page.
*Cannot convert 2011-08-03 00:00:00.0 of type class oracle.jbo.domain.Timestamp to class [Ljava.lang.Object;*
Below is code which displays the Box
*<af:selectOneChoice value="#{bindings.IndberetningskravView1.inputValue}"*
*label="#{bindings.IndberetningskravView1.label}"*
*id="sml1">*
*<f:selectItems value="#{bindings.IndberetningskravView1.items}" id="si1"/>*
*</af:selectOneChoice>*
Can anyone let me know what might be a problem
Thanks
RanjithYou can try following code.
List items= new ArrayList<SelectItem>(); // Write getter and setter
while (VO.hasNext()) {
items.add(new SelectItem(VO.next().getAttribute("TimeStampField").toString()));
<af:selectOneChoice value="#{bindings.IndberetningskravView1.inputValue}" label="#{bindings.IndberetningskravView1.label}" id="sml1">
<f:selectItems value="#{pageFlowScope.YourManageBean.items}" id="si1"/>
</af:selectOneChoice> -
Workaround for not being able to reference a multi-select field in a calculated field?
Does anyone have a workaround for the fact that SP doesn't allow the use of a multi-select choice field to be used in a calculation in a calculated column? I have a list that WAS a single choice in a Status field with three other calculated columns
that were dependent upon that field. Then I had to change the Status field to be to multi-select (checkboxes). Now of course my calculated columns don't work. In addition, the end user can't fill them in either.
I've got a Status field (multi-select), a Status Date field and Expiration Date field (calc). The expiration date's calculation is shown below. This worked great until I was asked
to change the Status field to multi-select.<o:p></o:p>
=IF(Status="NoI
Review",DATE(YEAR([Status Date]),MONTH([Status Date]),DAY([Status
Date])+21),"")<o:p></o:p>
There are no mistakes; every result tells you something of value about what you are trying to accomplish.Hi run4it,
Since SharePoint calculated column cannot reference the choice field with multiple-select value enabled, a workaround is to use workflow to copy the "Status" column value to another single line text column, then reference this single line text column in
calculated column.
Thanks,
Daniel Yang
Forum Support
If you have feedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
Hello all,
I have a document library and one of the fields is a lookup back to the library itself (title field) to allow users to select references. So a user would upload a document and one of the fields they can populate is a References field which is a multi-select
enabled lookup field.
Two other fields are Dept and Sub Dept.
I am wondering how I could filter the choices in the multi-select reference field.... so if a user selects Dept A and Sub Dept A2 then the multi-select lookup would only show those items that are from Dept A and Sub Dept A2.
Thanks for any suggestions and help!Hi Rybyscye, sounds like you're referring to a cascading lookup. There isn't a way to do that out of the box. If you have access to InfoPath, you can accomplish it using that program. Otherwise I can recommend a third party product-
Kwiz
(Note: I have no affiliation with Kwiz, just vouching for the product)
cameron rautmann -
How To hide a column on a Matrix using a parameter that is set-up as a multi-select
Hi,
I have a multi-select parameter (has 4 choices ie. A,B,C,D). In the matrix the parent Column group is a date and the child group is based on the Multi-select parameter field. When all choices are selected the report returns a column per
date and then within that date column 4 sub columns as expected.....This all works.
Challenge ... I added another column (Col5). For Col5 I only want it to show if value B has been selected from the multi choice
Another way of saying it.... How do I get a column to appear (Visibility) if a specific Value has been select in a multi-choice parameter
Tx
Andrew
Andrew PayzeHi,
here is the query
SELECT ProjectNumber, ProjectDescription, WBS, TaskNumber, TaskName, TaskDescription, TaskManager, Results, ResourceExpenditure, CostSet, Currency,
ReportingDate, Value, YEAR(ReportingDate) AS Year, { fn MONTHNAME(ReportingDate) } AS Month, ActualValue, PriorEAC
FROM vwForecastAccuracy
WHERE (CostSet IN (@CostType)) AND (YEAR(ReportingDate) = @Year) AND (Results = 'Cost')
below is the Code, not sure how to attach RDL
Thanks
Andrew
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="matrix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="Textbox8">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.21in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Value">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!Value.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<Format>'$'#,0;('$'#,0)</Format>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Value</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
<rd:FormatSymbolCulture>en-US</rd:FormatSymbolCulture>
</Style>
</Textbox>
</CellContents>
<DataElementOutput>Output</DataElementOutput>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=RunningValue(Fields!ActualValue.Value,sum, "matrix1_ProjectNumber")</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
<DataElementOutput>Output</DataElementOutput>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_ReportingDate">
<GroupExpressions>
<GroupExpression>=Fields!ReportingDate.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!ReportingDate.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.21in</Size>
<CellContents>
<Textbox Name="Month">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Month.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Format>MM/dd/yyyy</Format>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Month</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember>
<Group Name="CostSet">
<GroupExpressions>
<GroupExpression>=Fields!CostSet.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!CostSet.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.25in</Size>
<CellContents>
<Textbox Name="CostSet1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!CostSet.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>CostSet1</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixMember>
</TablixMembers>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_ProjectNumber">
<GroupExpressions>
<GroupExpression>=Fields!ProjectNumber.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!ProjectNumber.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="ProjectNumber">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ProjectNumber.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>ProjectNumber</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>BUDVAR 11 Budget Detail By WBS</ReportName>
<Parameters>
<Parameter Name="ProjectNumber">
<Value>=Fields!ProjectNumber.Value</Value>
</Parameter>
<Parameter Name="Year">
<Value>=Parameters!Year.Value</Value>
</Parameter>
<Parameter Name="CostSet">
<Value>=Parameters!CostType.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<RepeatRowHeaders>true</RepeatRowHeaders>
<DataSetName>BudgetData</DataSetName>
<Height>0.67in</Height>
<Width>3in</Width>
<Style />
</Tablix>
</ReportItems>
<Height>0.84708in</Height>
<Style />
</Body>
<Width>3.85417in</Width>
<Page>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="BIDatabase">
<DataSourceReference>VSPDEV011</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>f3bf5788-4fb5-4822-89d9-2f4518f5488d</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="BudgetData">
<Query>
<DataSourceName>BIDatabase</DataSourceName>
<QueryParameters>
<QueryParameter Name="@CostType">
<Value>=Parameters!CostType.Value</Value>
</QueryParameter>
<QueryParameter Name="@Year">
<Value>=Parameters!Year.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>SELECT ProjectNumber, ProjectDescription, WBS, TaskNumber, TaskName, TaskDescription, TaskManager, Results, ResourceExpenditure, CostSet, Currency,
ReportingDate, Value, YEAR(ReportingDate) AS Year, { fn MONTHNAME(ReportingDate) } AS Month, ActualValue, PriorEAC
FROM vwForecastAccuracy
WHERE (CostSet IN (@CostType)) AND (YEAR(ReportingDate) = @Year) AND (Results = 'Cost')</CommandText>
</Query>
<Fields>
<Field Name="ProjectNumber">
<DataField>ProjectNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ProjectDescription">
<DataField>ProjectDescription</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="WBS">
<DataField>WBS</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TaskNumber">
<DataField>TaskNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TaskName">
<DataField>TaskName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TaskDescription">
<DataField>TaskDescription</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="TaskManager">
<DataField>TaskManager</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Results">
<DataField>Results</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ResourceExpenditure">
<DataField>ResourceExpenditure</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="CostSet">
<DataField>CostSet</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Currency">
<DataField>Currency</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ReportingDate">
<DataField>ReportingDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="Value">
<DataField>Value</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="Year">
<DataField>Year</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Month">
<DataField>Month</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ActualValue">
<DataField>ActualValue</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="PriorEAC">
<DataField>PriorEAC</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="ProjectLookup">
<Query>
<DataSourceName>BIDatabase</DataSourceName>
<CommandText>SELECT DISTINCT ProjectNumber, ProjectDescription, ProjectNumber AS Expr1
FROM vwForecastAccuracy</CommandText>
</Query>
<Fields>
<Field Name="ProjectNumber">
<DataField>ProjectNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ProjectDescription">
<DataField>ProjectDescription</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Expr1">
<DataField>Expr1</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="CostTypeLookup">
<Query>
<DataSourceName>BIDatabase</DataSourceName>
<CommandText>SELECT DISTINCT CostSet, CostSet AS CostSetDesc
FROM vwForecastAccuracy
UNION
SELECT NULL AS Expr1, 'All' AS CostSetDesc
ORDER BY CostSet</CommandText>
</Query>
<Fields>
<Field Name="CostSet">
<DataField>CostSet</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="CostSetDesc">
<DataField>CostSetDesc</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="YearLookup">
<Query>
<DataSourceName>BIDatabase</DataSourceName>
<CommandText>SELECT DISTINCT YEAR(ReportingDate) AS Year
FROM vwForecastAccuracy
ORDER BY Year</CommandText>
</Query>
<Fields>
<Field Name="Year">
<DataField>Year</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="Year">
<DataType>String</DataType>
<Prompt>Year</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>YearLookup</DataSetName>
<ValueField>Year</ValueField>
<LabelField>Year</LabelField>
</DataSetReference>
</ValidValues>
</ReportParameter>
<ReportParameter Name="CostType">
<DataType>String</DataType>
<Prompt>Cost Set</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>CostTypeLookup</DataSetName>
<ValueField>CostSet</ValueField>
<LabelField>CostSetDesc</LabelField>
</DataSetReference>
</ValidValues>
<MultiValue>true</MultiValue>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>19da6d82-a69b-4bb7-a634-2fee3191c5d8</rd:ReportID>
</Report>
Andrew Payze -
Visio 2010 - Shape Data Fields Are Not Saving
I am having a problem with a number of shape data fields which are not saving data that has been entered into it, whether by entering it through the "shape data" or "define shape data" dialog boxes, or by editing the "shape
sheet".
All data fields appear to save normally while file is open, it remains as entered. However, when file is closed and later reopened select data fields do not retaining data correctly. Some retain nothing (null), or revert back to a "default"
value, see below for a couple examples:
Rack Units: Want to enter data as 1U, 2U, etc. ... in some cases it will save it as entered while in other cases it reverts to "1 RU", "2U", etc.
Room: Enter the data as I want it stored, most of the time it appears to come back empty, there are some shapes which will retain as entered.
Comments: Fails to retain any data
I have looked at a number of reasons to explain why, whether the problems occur with stencils is supplied by Microsoft, a vendor, or were custom created. Looked into whether it might have to do with a particular vendor's stencils/drawings
but I have a number of Cisco drawings where some save those fields as entered while others do not. I believe it could be a setting within the stencil preventing it from saving the data as entered, enabled in some cases and not in others.
I have checked "Protection" under the "Developer" tab, but nothing appears to be set to prevent editing/storing data entered.
Is there some setting(s) or field(s) somewhere that I can look at to allow this data to be saved as entered?
Is there a GLOBAL setting that can be set once within a file?
Thank you in advance for your time to assist me in fixing these problems. Have a great day!
MJ_NWE
MJ>Can I build logic so that they can't fill in a field unless the previous field has been filled in?
It's theoretically possible to do this (e.g. each field has an action
of removing read-only on the next). It's considered extremely bad form
design, because people don't always fill in fields in the order
specified. If you watch people with a form they fill in their name,
address, other easy stuff; then they go back for the harder stuff.
They may want to save a form because one piece of information needs
research.
What you might like to consider is a large splash "FORM INCOMPLETE" in
Red or whatever, which vanishes when all the fields are completed.
Aandi Inston -
Can multi-select picklist be used in Expression Builder?
Does CRMOD allow the use of multi-slect picklist in Expression Builder within workflow?
Thanks Suddu your process worked. This can be done it is just a little more manual than being able to select the field from the drop down list.
To do this go to Admin, Application Customization, choose your record type, then Field Setup. Click on Rename Fields, then Advanced and copy the multi-select picklist field. Paste it into expression builder and at the end of the name add _ITAG. You will also need to add the brackets as well. Doing this will allow you to use a mspl in expression builder. -
Workflow on Multi-Select Picklist
Afternoon,
I am trying to create and display values on a Multi-Select Picklist through workflow on an email notification upon a SR being created and saved.
Basically i am trying to create an email notification to be generated when a service request is created and saved that will display what values were selected in a multi-select picklist.
I was wondering if anyone else has had this issue or know how this can be resolved. Of course this was a newly created field and i left it over the weekend to create and allow for reporting.
Any assistance would be greatly appreciated.Mani, that is correct. Workflow currently does not support multi-select picklist fields.
-
Selection date in Delivery creation
Hello,
If the schedule line is not confirmed in sales order (due to zero atp stock i think ) and if I try to create a delivery, system will give a response that " no schedule lines are due for delivery with a yellow question mark against the message ".
If I click on the question mark, system will say that schedule line is not confirmed. System also says that We can postpone the "selection date" in future to create the delivery.
now my questions are :-
a) how can giving a later date in "selection date" field in VL01N helps us to create delivery ... I cannot understand that since ATP is zero. Pls explain by means of an example
b) Will we be able to do PGI if we are able to create a delivery as in step a above. I think PGI looks for actual stock and not ATP stock !
regards
PamelaHai Pamela,
When you create a sales order, system checks the availabke quanity and check what are the earlier sales order adn Delivery order assign to it.
If the balnce qunaity is sufficient for the sales order then it gives the Schedule line.
In case when you create the Sales order and that time qty is ZERO, it will check for the material what is
(from MM03 - MRP2 view)
Scheduling:
In-house production 0 days
GR Processing Time 1 days
So sales order will do and show Availability check like
6.8.2011 confirm qty 5 and TICK mark wil be ter.
And u saved the file.
IF you try to do delivery system will show the error.
no schedule lines are due for delivery with a yellow question mark against the message ".
and if you enetr selection date : 6.8.2011
it wil go inside but No qty will come in Deleivery order so No PGI will happen.
In case if they manufaactured the product today itself,
Since SALES order confrmed on 6, DO will show the error again For this issue
Either
OPen the sales order Do availability check
or
Enter a future selection date and proceed
Regards,
Mani -
Hope someone can help. I have tried to find the best way to do this and can't seem to make sense of anything. I'm using an Access 2013 Database and I have a report that is based on a query. I've created a Report Criteria Form. I
need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date. I then need my report to return only the records that meet all selected criteria. It works fine with a ComboBox and 1 selection but can't
get it to work with a List Box so they can select multiple items. Any help is greatly appreciated while I still have hair left.The query should return all records.
Let's say you have the following controls on your report criteria form:
txtStart: text box, formatted as a date.
txtEnd: text box, formatted as a date.
lbxMulti: multi-select list box.
cmdOpenReport: command button used to open the report.
The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
The report to be opened is rptReport.
The On Click event procedure for the command button could look like this:
Private Sub cmdOpenReport_Click()
Dim strWhere As String
Dim strIn As String
Dim varItm As Variant
On Error GoTo ErrHandler
If Not IsNull(Me.txtStart) Then
strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
End If
If Not IsNull(Me.txtEnd) Then
strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
End If
For Each varItm In Me.lbxMulti.ItemsSelected
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
Next varItm
If strIn <> "" Then
' Remove initial comma
strIn = Mid(strIn, 2)
strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
End If
If strWhere <> "" Then
' Remove initial " AND "
strWhere = Mid(strWhere, 6)
End If
DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
Exit Sub
ErrHandler:
If Err = 2501 Then
' Report cancelled - ignore
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
If SomeField is a text field instead of a number field, change the line
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
to
strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
Regards, Hans Vogelaar (http://www.eileenslounge.com)
Maybe you are looking for
-
Ipod charges but isnt recognized by windows or itunes
Ok so I see this is a huge problem..so here we go again: My shuffle worked before and all of a sudden Windows or Itunes doesnt show that my Ipod Shuffle is connected. When I plug it into my USB port, the status light is amber and thats all that shows
-
OBIEE 11.1.1.5 Admin Tool - Cannot get ISCHILD function to work
Hi, 1) I have imported an Essbase cube into my RPD file and replicated it in the business model 2) I have created a new LTS for the 'Accounts' table called 'Income_Statement_Filter' within the business model 3) I am trying to create a filter on this
-
Using Oracle BI Server as a Data Source for Third Party Tools
I have been researching how to use the Oracle BI Server as a data source for two days now. I have not yet found a solution to my problem. We have a remote user who is pulling data from one of our Oracle databases using automated tools. This data base
-
How to go about using kerberos in EE 5.
I am using glassfish app server.Can any body suggest some good tutorials for doing this?Thanks in advance.
-
ITunes 10.0 and Devices
I, like many have upgraded to 10.0. Since then I can see my iphone(3Gs w/4.0.2) listed as a device but when I click on it itunes _does not open_ it. It will set on the previous display. If I right click on it I can see eject,sync,transfer,bkup,restor