Using a SS and FF Constraint to set duration
I am trying to create a task that is of uncertian duration. The variable lenght task starts (SS 0d lag) with the begining of a second task and ends (FF 0d lag) when a third task is completed. The task's length is dependant on the start
and finsh of the other two tasks.
When I enter the task I get a task that is one day long and starts and finishes the day before the FF constraint.
Is it possible to make a task fo flexible lenght? If so, how do I do it?
Thanks
Grant,
You're welcome and thanks for the feedback. However, I must caution you about using paste links. They are susceptible to corruption, so use them sparingly.
If my response answered your question, please mark it as the answer.
John
Similar Messages
-
My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff
iOS 7 does not support multiple user accounts like you want.
If all the apps are different, you could set her up with her own page of apps, then just show her how to get to her apps page, or just buy her an iPad for herself. -
I am using OS X and am trying to set up a HP ENVY 5660 e printer and the drivers are not listed. I read somewhere not to use the install disk. What do I do?
Your suggestion was a good one and what I found was that to use this and any other printer I looked at is that I need to update the operating system to a later version. I have been reluctant in the past to do this after reading update horror stories and since this computer does what I need and very well. Was glad I moved over from windows and this is the first problem I have had. Thanks for your help and any other suggestions you may have.
-
Stored Procedure parameter (@Carrier) used in report and can't be set via code
I have a report that has regular Crystal parameters that I am setting correctly via code. However, one report actually uses one of the database parameters from the stored procedure that the report was created from. It is the only report like this and I'm using the same code in an attempt to set it's value. Although no error is thown, if I look at the parameter value in the IDE it is set correctly, but the field on the report just shows up blank. I have changed the way the report is created. Previously, I used the report.export method to create the actual file via a stored procedure. Now, I'm running the stored procedure first and creating a datatable. This allows me to execute the SP only once to see if it has data, because only then do I want to create the actual report. I'm using the SetDataSource method to pass the datatable into Crystal and then using the report.export method to create the report with data. Everything seems to work, except this stored procedure parameter (@Carrier) is not actually being populated to display on the report.
Not sure what to look at. Any suggestions?
Thanks.crpe32.dll is version 13.0.5.891. This was developed in VS2012 and VB.NET. I'm using ADO.Net to connect to a MS SQL Server database.
MainReport.SetDataSource(DTbl)
bRC = PopulateAllSubReports(MainReport)
If Not bRC Then Throw New Exception("Received an error in PopulateAllSubReports.")
bRC = PopulateCrystalParameters(MainReport, SP)
If Not bRC Then Throw New Exception("Received an error in PopulateCrystalParameters.")
'Actually create the output file.
bRC = ExportData(MainReport)
Private Function PopulateCrystalParameters(myReportDocument As ReportDocument, SP As ReportStoredProcedureCrystal) As Boolean
Dim myParameterFieldDefinitions As ParameterFieldDefinitions = Nothing
Dim myParameterFieldDefinition As ParameterFieldDefinition = Nothing, ParamValue As String = ""
Dim bRC As Boolean, Param As SqlParameter = Nothing
Try
myParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
'*********************Report Parameters***************************
For Each myParameterFieldDefinition In myParameterFieldDefinitions
myParameterFieldDefinition.CurrentValues.Clear()
Select Case myParameterFieldDefinition.ParameterFieldName.Trim.ToUpper
Case "@CARRIER"
If SP.DBParameters.ContainsKey("@CARRIER") Then
Param = SP.DBParameters("@CARRIER")
ParamValue = NullS(Param.Value).Trim
bRC = SetCurrentValueForParameterField(myParameterFieldDefinition, ParamValue)
If Not bRC Then Return False
End If
End Select
Next
Return True
Catch ex As Exception
GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
Return False
End Try
End Function
Private Function SetCurrentValueForParameterField(myParameterFieldDefinition As ParameterFieldDefinition, submittedValue As Object) As Boolean
Dim currentParameterValues As ParameterValues = Nothing
Dim myParameterDiscreteValue As ParameterDiscreteValue = Nothing
Try
myParameterDiscreteValue = New ParameterDiscreteValue
myParameterDiscreteValue.Value = NullS(submittedValue).Trim
currentParameterValues = New ParameterValues
currentParameterValues.Add(myParameterDiscreteValue)
myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
Return True
Catch ex As Exception
GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
Return False
Finally
myParameterDiscreteValue = Nothing
currentParameterValues = Nothing
End Try
End Function
Private Function SetDBSourceForSubReport(mySubReport As ReportDocument) As Boolean
Dim myTables As Tables = Nothing, myTable As Table = Nothing, DTbl As DataTable, SP As StoredProcedure = Nothing
Try
myTables = mySubReport.Database.Tables
For Each myTable In myTables
Dim SPName As String = myTable.Location.Substring(0, myTable.Location.IndexOf(";"c))
SP = New StoredProcedure(ConnectionString, SPName, CommandType.StoredProcedure)
DTbl = SP.FillTable
mySubReport.SetDataSource(DTbl)
SP = Nothing
Next
Return True
Catch ex As Exception
GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
Return False
Finally
If Not SP Is Nothing Then SP = Nothing
If Not myTable Is Nothing Then myTable = Nothing
If Not myTables Is Nothing Then myTables = Nothing
End Try
End Function
Private Function PopulateAllSubReports(myReportDocument As ReportDocument) As Boolean
Try
Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
For Each mySection As Section In mySections
Dim myReportObjects As ReportObjects = mySection.ReportObjects
For Each myReportObject As ReportObject In myReportObjects
If myReportObject.Kind = ReportObjectKind.SubreportObject Then
Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
Dim bRC = SetDBSourceForSubReport(subReportDocument)
If Not bRC Then Return False
End If
Next
Next
Return True
Catch ex As Exception
GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
Return False
End Try
End Function -
I'm using aperture 3/mobile me to set up photo galleries which I send to friends. My question. Will icloud allow me to do the same or will I lose this function when mobile me closes down in July. If this function isn't part of icloud does anybody have any suggestions how I can do this in future through aperature. Thank you
You will have to find a new hosting service for your galleries, when MM is gone; but you will still be able to create the galleries with Aperture. Export them to your disk and upload them via FTP to your new hosting service.
See these support articles: Migrating from Mobile Me
http://www.wilmut.webspace.virginmedia.com/notes/migrate/frommobileme3.html
and this FAQ about Mobile Me and iCloud Transition http://support.apple.com/kb/HT4597 -
Need examples of using HEAD, BODY and TABLE options of SET MARKUP
Hi!
Looking for examples of using the HEAD, BODY and TABLE options of the SET MARKUP command in SQL*Plus. Will be used in 10.2.04 on Linux.
Have been trying to set up an "H1" header but not having any success. Documentation and examples in the documentation are not very helpful.
Thanks for your time and help!
Dave Venus$ echo "select sysdate from dual;"|
sqlplus -L -s -M 'html on head <title>MyTitle</title> body bgcolor="black" table border="0" scott/tiger
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="SQL*Plus 10.2.0">
<title>MyTitle</title>
</head>
<body bgcolor="black">
<p>
<table border="0">
<tr>
<th scope="col">
SYSDATE
</th>
</tr>
<tr>
<td>
2009-02-12 15:22:00
</td>
</tr>
</table>
<p>
</body>
</html>Edited by: Laurent Schneider on Feb 12, 2009 3:22 PM -
Use of previous and next track, when setting repeat one is on.
Hi,
I would like to use my iPod mini for language teaching, so I loaded words and sentences audio recordings to the iPod and then would use Setting->Repeat->One to repeat a word or sentence to memorize. But when repeat one is on it's no longer possible to use previous |<< & next >>| to change the track, both buttons will go to the beginning of the track currently playing! To change track I have to go back the the playlist and select the next track. In repeat off or repeat all the buttons are working.
How can I change this or is it a bug in the iPod mini? It cannot be intentionally it is working this way, because why should the 2 buttons be working in the same way?
Thanks
SherabOf course it's not a "bug".
You have the iPod set to repeat "one", so that's what it's doing.
With this setting, there is no "next" track so when pressing the >>| button it just goes to the start of the "one" track you have chosen to repeat. -
Using 16 bit and 32 bit composition setting
Its a little confusing to me on How you are supposed to use 16 and 32 bit. If you created your comp and effects in the 8 bit mode (and all effects work in 8 bit mode right) and you have banding issue that you want to smooth out so you switch to 16 bit but then some of your effects have that Yellow Warning. Do you switch to 16 bit then switch back to 8 and the 16 bit stuff is saved or do you have to pre render while in 16 bit and import the render file into the 8 bit. It's not clearly explained. why don't them make all the plugins to work in 16 and 32 bit.
Thanks in Advance
On a Mac using CS4I always wrap effects that require compression and expansion with the HDR compander. If your project requires that you insert an 32 bit effect between two lower bit effects then you would have 4 instances as you suggest. There is no trade off. The Compander returns the dynamic range to the pipeline so that the advantages of the higher bit rates are maintained.
If you do not use the HDR compander then everything in the render pipeline after the first instance of an effect has a bit depth warning will only be processed using 8bit color. -
I've read the community discussions of this issue and did try the "default program" solution, but it hasn't worked. Also noted a discussion about proxy settings (?), but couldn't find instructions and didn't understand what was posted.
Hi,
You can try to change the hyperlink option in the Windows '''Control Panel''' > '''Default Programs''' > '''Associate a file type or protocol with a program'''; look for '''.url''' > '''Change Program''' > select or '''Browse''' and choose Firefox. If this fails then you may have to find the cause of "There are restrictions in place on this computer" message and remedy it. Two likely possibilities are someone put the restriction (IT admin??), or a virus or malicious program did it. -
Attempting to report using multiple subqueries and filtering on result set
I have an Oracle view which shows historic logs of changed data, effectively an audit view. The view is over two tables, a header and a detail table. I guess for the purpose of the question that is not too relevant but the structure of the view is. This is the view:
SQL> desc ifsinfo.history_log_join
Name Null? Type
*LOG_ID NOT NULL VARCHAR2(10)
*MODULE NOT NULL VARCHAR2(6)
*LU_NAME NOT NULL VARCHAR2(30)
*TABLE_NAME NOT NULL VARCHAR2(30)
*TIME_STAMP NOT NULL DATE
*USERNAME NOT NULL VARCHAR2(30)
*KEYS NOT NULL VARCHAR2(600)
*HISTORY_TYPE VARCHAR2(200)
*HISTORY_TYPE_DB NOT NULL VARCHAR2(20)
COLUMN_NAME NOT NULL VARCHAR2(30)
OLD_VALUE VARCHAR2(2000)
NEW_VALUE VARCHAR2(2000)
I have indicated header information with *.
The detail shows every column that was changed for a table (in header) and the old and new values, quite straight forward.
The table I am interested in the audit of is:
SQL> desc customer_order_reservation_tab
Name Null? Type
* ORDER_NO NOT NULL VARCHAR2(12)
* LINE_NO NOT NULL VARCHAR2(4)
* REL_NO NOT NULL VARCHAR2(4)
* LINE_ITEM_NO NOT NULL NUMBER
* CONTRACT NOT NULL VARCHAR2(5)
* PART_NO NOT NULL VARCHAR2(25)
CONFIGURATION_ID NOT NULL VARCHAR2(50)
* LOCATION_NO NOT NULL VARCHAR2(35)
* LOT_BATCH_NO NOT NULL VARCHAR2(20)
* SERIAL_NO NOT NULL VARCHAR2(15)
WAIV_DEV_REJ_NO NOT NULL VARCHAR2(15)
ENG_CHG_LEVEL NOT NULL VARCHAR2(2)
* PICK_LIST_NO NOT NULL VARCHAR2(15)
PALLET_ID NOT NULL VARCHAR2(10)
* LAST_ACTIVITY_DATE DATE
SOURCE VARCHAR2(25)
QTY_ASSIGNED NOT NULL NUMBER
QTY_PICKED NOT NULL NUMBER
QTY_SHIPPED NOT NULL NUMBER
DELIV_NO NUMBER
ROWVERSION DATE
I have indicated columns that I am interested in (either as a key field or as changed data) by *
Okay - so that's the background, what am I attempting to report.
I want to return a single row per log id (for certain criteria) which shows:
Log_Id
History_Type
Time_Stamp
Username
Order_No
Pick_List_No
Rel_No
Line_No
Part_No
Loc_No
Lot_Batch_No
Serial_No
The SQL I have currently is:
select grp.*
from
(select h1.log_id, h1.history_type, time_stamp, username,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='ORDER_NO') Order_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='PICK_LIST_NO') Pick_List_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='REL_NO') Rel_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='LINE_NO') Line_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='PART_NO') Part_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='LOCATION_NO') Loc_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='LOT_BATCH_NO') Lot_Batch_No,
(select h2.old_value||h2.new_value from ifsinfo.history_log_join h2 where h1.log_id=h2.log_id and h2.column_name ='SERIAL_NO') Serial_No
from ifsinfo.history_log_join h1
where
table_name = 'CUSTOMER_ORDER_RESERVATION_TAB'
and
keys like upper('CONFIGURATION_ID=*^CONTRACT=&company%')
and
history_type in ('Delete','Insert')
and
column_name ='PICK_LIST_NO'
and
username != 'IFSAPP'
and
h1.old_value || h1.new_value != '*'
and
trunc(h1.time_stamp) > trunc(sysdate-1-&days_ago)
order by 5, 6, 8, 7,9,10,2, 1) grp
This is OK but..
I only want to include rows where the same picklist / rel_no / line_no / part_no combination exist more than once (because there is always an insert and delete for the analysis I am doing).
AND
where for that combination, the lot_batch_no OR serial_no are different.
Effectively the system does an insert / delete rather than an update, so that is why.
ThanksHi sanny007,
As your issue is related to Reports, I'm moving your post to a more appropriate forum for better supports, thanks for your undrstanding.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Use HCM processes and Forms without using the Enterprise Portal
is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
1) Create an Adobe form and Interface using SFP
2) Set up ISR and Form Scenario
3) Set up Forms configuration to use existing Backend and generic Services
4) Set up workflow to updated Backend using Services
is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
Any ideas will be greatly appreciated.
Thanks,
SaurabhHi Saurabh,
your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
Best Regards
Michael Bonrat - Solution Manager HCM Processes and Forms
Info about HCM Processes and Forms:
www.service.sap.com/erp:
- SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms -
Can I use control query and Variant?
Can I use control query and Variant?
I tried both but its not working, whats my requirement is in a web template having material, distribution as drop box and I have to create for all countries(Like USA, Canada,China )so what I did , I created a control query as material& distribution and I created variants for countries. After precalculating its not working.
Any help ll be appreciated
ThanksYes you can use Control Query AND Variant in your Setting. Maybe you did not setup you Web template correctly?
-
My company uses Lotus Notes and I want to set Firefox as my browser in LN. It ask for internet browser path...where do I find that?
Blackboard tends to update their software once a year, before the start of the fall term, and most of the time they seem to be a year behind the current versions of Firefox. Another problem that crops up with Blackboard is that not all schools use the latest version of the Blackboard software, many schools since 2008 have been postponing updates for the software that they use due to the economy.
Quite honestly, until Mozilla comes up with a Long Term Support version ''(if they do that)'' this situation of company's like Blackboard falling behind the curve of Firefox updates is only going to get worse.
As far as Lotus Notes goes, I wonder if your school is behind on updating that software? IIRC, I have seem mention of updates for Lotus Notes to handle remote XUL problems in 4.0+ versions, brought about by security fixes in 4.0. <br />
https://developer.mozilla.org/en/using_remote_xul <br />
Or you could try this extension.<br />
https://addons.mozilla.org/en-US/firefox/addon/remote-xul-manager/
Bottom line - install Firefox Portable 3.6.22 to your hard drive to use at websites that can't handle the newer versions of Firefox. <br />
http://portableapps.com/apps/internet/firefox_portable/localization#legacy36 <br />
And use Firefox 6.0.2 ''(and upcoming versions)'' at the more modern websites which are embracing the web technology being developed for the 2nd decade of this century. -
Setting row and column constraints in FXML
I've set the column and row constraints in my FXML controller like this:
RowConstraints row1 = new RowConstraints();
row1.setVgrow(Priority.ALWAYS);
RowConstraints row2 = new RowConstraints();
row2.setMaxHeight(150);
row2.setVgrow(Priority.NEVER);
pane.getRowConstraints().addAll(row1, row2);
ColumnConstraints column1 = new ColumnConstraints();
column1.setMaxWidth(250);
column1.setHgrow(Priority.NEVER);
ColumnConstraints column2 = new ColumnConstraints();
column2.setHgrow(Priority.ALWAYS);
pane.getColumnConstraints().addAll(column1, column2);and it works fine but what I can't figure out is how I'll do that using only FXML?Hi,
Try the following:
<?import javafx.scene.layout.*?>
<GridPane>
<rowConstraints>
<RowConstraints vgrow="ALWAYS" />
<RowConstraints maxHeight="150" vgrow="NEVER" />
</rowConstraints>
<columnConstraints>
<ColumnConstraints maxWidth="250" hgrow="NEVER"/>
<ColumnConstraints hgrow="ALWAYS"/>
</columnConstraints>
<children>
</children>
</GridPane>Basically 'rowConstraints' and 'columnConstraints' are attributes on GridPane of type Collection.
Hope that helps,
zonski
Did you find this answer useful? If so, please mark as 'correct' or 'helpful'. -
How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?
unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
unplug the at&t box for a minute and plug it back in
factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
login to your at&t router and disable wifi on it
add new clients to the new wifi network, and point your Macs to the time machine for backups
Maybe you are looking for
-
Notification Status at Run time in Notif_event_post
Hi All, My requirement is to send a mail to the creator of the notification when their is a change in the notification status and that changed notification status has been saved by the user. To achieve the functionality i am using Notif_Event_Post an
-
Configuration management (LO-CM) used with Variant configuration (LO-VC)
Hi I am new to SAP, working with Variant configuration (LO-VC). I wish to enforce configuration management during development of a new Variant configurator. Would Configuration management (LO-CM) work together with Variant configuration (LO-VC)? My e
-
Photo Stream white area over part of image
Hi, I seldom use iCloud Shared Streams, but made one from Aperture 3.5. When I view it on my iPhone (iOS7.x) it has a white area over part of each image, for 'likes' and 'comments'. How do I turn this off, so that I can see the photos instead of the
-
Source system not Active error while installing BI content cube
Hi., When I try to install the BI content cube, In logs it is showing the error message as "Source client not Active". I activated the source system in modelling tab. Still the problem continues. In source system assignment of BI content the sourc
-
SharePoint 2013 Update Workflow Manager problems after Service Pack 1
Hello guys, I've installed the service pack 1 for SharePoint 2013 and then I tried to update the workflow manager, but I always get an error message that the workflow manager could not be updated! Is the installing order wrong? should I first install