Keynote update changes .mov format
Have just updated Keynote on my MacBook Pro.
I have extremely large keynote presentations that use 50 or so .mov animations. These .mov animations worked brilliantly in previous keynote. They were clear background animations that looped.
On updating keynote, all animations have a black background. I use these presentations for my buiness everyday. It is an extremely important part of my work. in the present state, they are unusable and will take time I haven't got to address the problems.
Anyone else come across this issue, and got any quick solutions? I need these animations to return to a clear background.
With Thanks
Hi dppilot,
I haven't found a solution per sa, but what I have found is if I open my keynote presentations by moving them from their folder directly onto the keynote09 icon on the dock, they will still open in keynote09. This still works even if I have opened them in the updated keynote and opimized for the update.
Whilst this doesn't solve the issue in the new keynote, it does allow me to keep using them in the old.
At the same time as updating keynote, I also updated to OSx Maverick. After that update I noticed that some of the fonts in keynote09 lost their character spacing and nothing I did would change it (Bank Gothic being the main one). This is why I updated keynote because I thought it would solve the problem. It did, but then created the new problem with the animations.
I'm hoping this is all going to get solved in the first update of the new keynote.
Fingers crossed.
Similar Messages
-
Why change the format of the presentations? Keynote not respect the original format!
This new versionof Keynot (6.1-1769) is very poor:
is very slow
missing fonts
changes the selected letters
change the formats of the presentations
Carousel animations missing
Please correct the defects before releasing a new version. (The previous version was much better).Found the solution!
I must set the Formats in the CODEC to get the Format that I want to play with! I was trying to complicate too much!
The correct format class to is RGBFormat.
RGB -
INSERT & UPDATE changing date format to mm/dd/yyyy!!!
I have INSERT & UPDATE ASP/VB forms which have a date
field which submits to
Access....except when the date is entered as dd/mm/yyyy, it
decides to
convert it to mm/dd/yyyy....absolutely terrific!! :o((
I've added this:
<% Session.LCID = 2057 %>
I've checked the date format, I've done absolutely everything
I can think
of, and can source on the newsgroups, but NOTHING.
What, on earth, is going on??????????????
If anyone can help save me from this madness, please tell me
why this is
happening?
I'm using ASP/VB, with Access on a Windows server and, up
until now, I've
never had this problem.
Here's my INSERT code:
<%@LANGUAGE="VBSCRIPT"%>
<% Session.LCID = 2057 %>
<!--#include file="../Connections/dsnNAME.asp" -->
<%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" &
Server.HTMLEncode(Request.QueryString)
End If
' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
<%
If (CStr(Request("MM_insert")) = "form1") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_dsnNAME_STRING
MM_editCmd.CommandText = "INSERT INTO tblNews (newstitle,
newsdate,
newsenddate, thumbnail, largeimage, newstextsnip, newstext,
emailcontact,
urllink, [include]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202,
1, 75, Request.Form("newstitle")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 135,
1, -1, MM_IIF(Request.Form("newsdate"),
Request.Form("newsdate"), null)) '
adDBTimeStamp
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 135,
1, -1, MM_IIF(Request.Form("newsenddate"),
Request.Form("newsenddate"),
null)) ' adDBTimeStamp
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202,
1, 75, Request.Form("thumbnail")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202,
1, 75, Request.Form("largeimage")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 203,
1, 536870910, Request.Form("newstextsnip")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 203,
1, 536870910, Request.Form("newstext")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202,
1, 75, Request.Form("emailcontact")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202,
1, 75, Request.Form("urllink")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10", 5,
1, -1, MM_IIF(Request.Form("include"), 1, 0)) ' adDouble
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "confirm.htm"
If (Request.QueryString <> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" &
Request.QueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%>
Thanks.
Nath.Well, I've established that it's DW8.0.2 that is causing this
strange
occurence.
Reverted back to previously created versions of my
INSERT/UPDATE form pages
(created in DWMX) and it all works fine!!
I think that makes the whole situation even more frustrating
because I had
HUGE problems with this back in 2003/2004, and resolved it.
Now I've upgraded to DW8.0.2 and it's all gone "ape" again.
<sigh>
Any ideas, looking at the code in my initial post, why this
is happening?
For comparison here is the same INSERT created in DWMX that
WORKS:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/dsnNAME.asp" -->
<%
' *** Edit Operations: declare variables
Dim MM_editAction
Dim MM_abortEdit
Dim MM_editQuery
Dim MM_editCmd
Dim MM_editConnection
Dim MM_editTable
Dim MM_editRedirectUrl
Dim MM_editColumn
Dim MM_recordId
Dim MM_fieldsStr
Dim MM_columnsStr
Dim MM_fields
Dim MM_columns
Dim MM_typeArray
Dim MM_formVal
Dim MM_delim
Dim MM_altVal
Dim MM_emptyVal
Dim MM_i
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" &
Request.QueryString
End If
' boolean to abort record edit
MM_abortEdit = false
' query string to execute
MM_editQuery = ""
%>
<%
' *** Insert Record: set variables
If (CStr(Request("MM_insert")) = "form1") Then
MM_editConnection = MM_dsnNAME_STRING
MM_editTable = "tblNews"
MM_editRedirectUrl = "confirm.htm"
MM_fieldsStr =
"newstitle|value|newsenddate|value|thumbnail|value|largeimage|value|newstextsnip|value|ne wstext|value|emailcontact|value|urllink|value|include|value"
MM_columnsStr =
"newstitle|',none,''|newsenddate|',none,NULL|thumbnail|',none,''|largeimage|',none,''|new stextsnip|',none,''|newstext|',none,''|emailcontact|',none,''|urllink|',none,''|include|no ne,1,0"
' create the MM_fields and MM_columns arrays
MM_fields = Split(MM_fieldsStr, "|")
MM_columns = Split(MM_columnsStr, "|")
' set the form values
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
Next
' append the query string to the redirect URL
If (MM_editRedirectUrl <> "" And Request.QueryString
<> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And
Request.QueryString <> "") Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" &
Request.QueryString
End If
End If
End If
%>
<%
' *** Insert Record: construct a sql insert statement and
execute it
Dim MM_tableValues
Dim MM_dbValues
If (CStr(Request("MM_insert")) <> "") Then
' create the sql insert statement
MM_tableValues = ""
MM_dbValues = ""
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_formVal = MM_fields(MM_i+1)
MM_typeArray = Split(MM_columns(MM_i+1),",")
MM_delim = MM_typeArray(0)
If (MM_delim = "none") Then MM_delim = ""
MM_altVal = MM_typeArray(1)
If (MM_altVal = "none") Then MM_altVal = ""
MM_emptyVal = MM_typeArray(2)
If (MM_emptyVal = "none") Then MM_emptyVal = ""
If (MM_formVal = "") Then
MM_formVal = MM_emptyVal
Else
If (MM_altVal <> "") Then
MM_formVal = MM_altVal
ElseIf (MM_delim = "'") Then ' escape quotes
MM_formVal = "'" & Replace(MM_formVal,"'","''") &
Else
MM_formVal = MM_delim + MM_formVal + MM_delim
End If
End If
If (MM_i <> LBound(MM_fields)) Then
MM_tableValues = MM_tableValues & ","
MM_dbValues = MM_dbValues & ","
End If
MM_tableValues = MM_tableValues & MM_columns(MM_i)
MM_dbValues = MM_dbValues & MM_formVal
Next
MM_editQuery = "insert into " & MM_editTable & " ("
& MM_tableValues & ")
values (" & MM_dbValues & ")"
If (Not MM_abortEdit) Then
' execute the insert
Set MM_editCmd = Server.CreateObject("ADODB.Command")
MM_editCmd.ActiveConnection = MM_editConnection
MM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
If (MM_editRedirectUrl <> "") Then
Response.Redirect(MM_editRedirectUrl)
End If
End If
End If
%>
This type of thing does my HEAD in.
Nath.
"tradmusic.com" <[email protected]> wrote in
message
news:[email protected]...
>I have INSERT & UPDATE ASP/VB forms which have a date
field which submits
>to Access....except when the date is entered as
dd/mm/yyyy, it decides to
>convert it to mm/dd/yyyy....absolutely terrific!! :o((
>
> I've added this:
> <% Session.LCID = 2057 %>
>
> I've checked the date format, I've done absolutely
everything I can think
> of, and can source on the newsgroups, but NOTHING.
> What, on earth, is going on??????????????
>
> If anyone can help save me from this madness, please
tell me why this is
> happening?
> I'm using ASP/VB, with Access on a Windows server and,
up until now, I've
> never had this problem.
>
> Here's my INSERT code:
>
> <%@LANGUAGE="VBSCRIPT"%>
> <% Session.LCID = 2057 %>
> <!--#include file="../Connections/dsnNAME.asp" -->
> <%
> Dim MM_editAction
> MM_editAction =
CStr(Request.ServerVariables("SCRIPT_NAME"))
> If (Request.QueryString <> "") Then
> MM_editAction = MM_editAction & "?" &
> Server.HTMLEncode(Request.QueryString)
> End If
>
> ' boolean to abort record edit
> Dim MM_abortEdit
> MM_abortEdit = false
> %>
> <%
> ' IIf implementation
> Function MM_IIf(condition, ifTrue, ifFalse)
> If condition = "" Then
> MM_IIf = ifFalse
> Else
> MM_IIf = ifTrue
> End If
> End Function
> %>
> <%
> If (CStr(Request("MM_insert")) = "form1") Then
> If (Not MM_abortEdit) Then
> ' execute the insert
> Dim MM_editCmd
>
> Set MM_editCmd = Server.CreateObject ("ADODB.Command")
> MM_editCmd.ActiveConnection = MM_dsnNAME_STRING
> MM_editCmd.CommandText = "INSERT INTO tblNews
(newstitle, newsdate,
> newsenddate, thumbnail, largeimage, newstextsnip,
newstext, emailcontact,
> urllink, [include]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?,
> MM_editCmd.Prepared = true
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202,
> 1, 75, Request.Form("newstitle")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 135,
> 1, -1, MM_IIF(Request.Form("newsdate"),
Request.Form("newsdate"), null)) '
> adDBTimeStamp
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 135,
> 1, -1, MM_IIF(Request.Form("newsenddate"),
Request.Form("newsenddate"),
> null)) ' adDBTimeStamp
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202,
> 1, 75, Request.Form("thumbnail")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202,
> 1, 75, Request.Form("largeimage")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 203,
> 1, 536870910, Request.Form("newstextsnip")) '
adLongVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 203,
> 1, 536870910, Request.Form("newstext")) ' adLongVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202,
> 1, 75, Request.Form("emailcontact")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202,
> 1, 75, Request.Form("urllink")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10", 5,
> 1, -1, MM_IIF(Request.Form("include"), 1, 0)) ' adDouble
> MM_editCmd.Execute
> MM_editCmd.ActiveConnection.Close
>
> ' append the query string to the redirect URL
> Dim MM_editRedirectUrl
> MM_editRedirectUrl = "confirm.htm"
> If (Request.QueryString <> "") Then
> If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) =
0) Then
> MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
> Else
> MM_editRedirectUrl = MM_editRedirectUrl & "&"
& Request.QueryString
> End If
> End If
> Response.Redirect(MM_editRedirectUrl)
> End If
> End If
> %>
>
> Thanks.
> Nath.
> -
Hi, I start using iMovie last month and I got a format problem. The first part of my movie is in DV PAL, and I want to tranfer it in DV NTSC without exporting it because I have to had some other parts.
Can somebody help me?
ThanksiM handles only one video standard per project - you HAVE to export/convert… and that is no trivia task, not only a few more or less frames...
the QT engine does that job, but I'm more impressed by the results of this free tool, JES Deinterlacer -
Help me. i need a program to change movie format
I need a program that will let me change my movie file to a type that will play on ipod. a free one please.
Videora for Windows
Handbrake for Mac
cheers -
FCE changes movie format (size) after render
In FCE, I imported a 768x432 .mov file and then dragged it to the timeline. After rendering it, the new size becomes 405x227. I can tell this by selecting Export --> QuickTime Conversion and looking at the current size. I verified that the file was definitely 768x432 prior to the render.
Why does FCE change the size of the movie after a render? This obviously affects the quality if I have to resize it when I'm ready export ( I tested this, and it definitely affected the quality). Is there a setting that I can change that will preserve the size of the movie during the whole edit process? I'd hate to lose quality. Any feedback is greatly appreciated.Convert your media to the correct frame size and codec before bringing it into FCE.
-
Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.
jpg does not support Layers.
Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby? -
I just updates Apeture to version 3.3.2 after installing Mountain Lion. There are some photos in Apeture that now say, "Umsupported Image Format". Are these lost? Can I retrieve them...how? Can I change the format so that I can see them again? Help?!?
Are these images "Raw" images? What is the make of your camera?
Check the version of the Digital Camera RAW Compatibility Update that is installed. The version of the raw support is shown in the About panel: from the main menu bar:
Aperture > About Aperture
Download the latest Raw Update from here:
Digital Camera RAW Compatibility Update 3.14
If you have the latest raw support installed, but Aperture does not recognize the format, try to register the raw support for your camera with the launch services db, see this post by Alan Roseman:
Re: Aperture 3 preview of raw file greenish
But also read the following post, that explain how this is supposed to work and to correct the typo in the command
In short: Quit Aperture, open the terminal, paste the follwing text in (all in one single line) and hit return; then reboot the system.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -R /System/Library/CoreServices/CoreTypes.bundle/Contents/Library
Regards
Leonie -
Change 0calmonth format in update rule !!!
Hi ,
I am loading the data in to ODS from a flat file and the value for 0calmonth from file is Jan/2006. I want to change the format to 01/2006 when i am loading the data in to ODS. i know i can do this update rule but i do not know how to write the code or use some formulas..
Please advice !!
AC..Hi AC,
The code would be similar to this:
Data: V_Mon(3), V_Mon_num(3), V_year(4), V_calmonth(7).
V_Mon = Comm_structure-calmonth+0(3).
V_year = Comm_structure-calmonth+4(4).
V_calmonth
Case V_Mon.
When V_Mon = 'Jan'.
V_Mon_num = '001'.
When V_Mon = 'Feb'.
V_Mon_num = '002'.
Endcase.
Concatenate V_Mon_num V_year into v_calmonth.
RESULT = v_calmonth.
Bye
Dinesh -
Is iPhoto changing my .mov format after importing from iPad?
Or is iTunes changing it while importing?
It seems iPhoto is making movies incompatible with iPad.
My iPad sees and plays my .mov videos directly taken by my canon sd 1400 is. They play in the photos app of my ipad after using the camera kit, and it's great for sharing with friends during a vacation.
The bad news is after ipad uploads these videos and photos to my mac's iPhoto, iPhoto is changing the format (I am guessing) so that the videos can not be uploaded back to the ipad in an album. Why? How can I change or fix this?
I am hoping someone points me to a magic setting in iPhoto that says, "Check this box if you don't want your videos broken with iPad"
ipad 32GB, 3G
Apple Camera Kit
Canon SD1400 IS
iPhoto 11
iMac Intel Core Duo
OSX 10.6.5The iTunes app on your computer is very strict as to importing videos to the iPad.
http://www.apple.com/ipad/specs/
H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
Even if your video does follow the above specs. Not all h.264 are created equally to the h.264 standards.
The Camera Connection Kit is not as strict.
I can import videos from my Flip Mino HD camera when using the Camera Connection Kit. When trying to import the same video using iTunes I get the message,'file format no supported.'
The previous iOS 3.x did not support importing Flip videos when using the Camera Connection Kit. I was happy to find that the iOS 4.2.1 upgrade did!!! Now I don't have to buy a new video camera!!!
To answer you question... Use the Camera Connection Kit. It's better than nothing... -
Can iTunes change DVD's into a .mov format ?
So can iTunes change the format of a DVD into the format it needs to be put onto the video iPod cause this kid at my school says you can...But I put a DVD in and tried to import it and everything and nothing happened so am I doing something wrong or can iTunes convert DVD's to the iPod format?
ThanksYea I figured you couldnt but maybe so I asked...So just google it for what I already have 2 converters but one has a watermake that says "Trial Version" and the other one only converts 5min of the DVD and that Videora has to install online and keeps saying "Server Timed Out" and then I have to restart the installation process for it. So what should I google?
-
Hi
I need to store a date into a flexfield. We have enabled the Flexfield and there is NO value set attached to it.
This attribute is already in the VO as a varchar, so we have just added a new column into the page as data type Date and link it to the flexfield column.
In this page we have a table layout so the user can enter 10 rows before saving them. And this page it just used to punch data into a table, which means, once the user press apply the page saves and clears. The user can not query on that page.
When entering the first row, we can open the Date picker and we can choose the date and then it populates the column as “DD-MON-YYYY”.
The problem is:
When we entering the second row after entering one column the pages changes the format of my date from the previous record to “YYYY-MM-DD”, then after entering any second column the pages clear the date from the previous row.
Running the page from JDev it shows the following message before clears the flexfield:
java.text.ParseException: 2011-01-28
Note we have not extended the VO and not extended the controller.
My questions are:
1) Why the Self-Service is change the date format to YYYY-MM-DD even if the profile ICX: Date Format Mask (31-DEC-1999) and my preference is set to DD-MON-YYYY?
2) How can I avoid this to happen? Is there any way to keep my date as DD-MON-YYYY?
Thanks,
AlexAlex,
That was the update from Oracle support, when we raised it,
But I did the following to handle that, I feel this is not the right way, since we had that issue as SEV1, I did that as a workaround,
Check this this might help.
package oracle.apps.xxper.selfservice.appraisals.webui;
import com.sun.java.util.collections.HashMap;
import java.io.Serializable;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.*;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageCheckBoxBean;
import oracle.apps.per.selfservice.appraisals.ApprConstants;
import oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl;
import oracle.apps.per.selfservice.common.webui.CommonCO;
import oracle.apps.per.selfservice.compgaps.Constants;
import oracle.apps.per.selfservice.appraisals.webui.MAFinalRatingsPageCO;
import oracle.apps.fnd.framework.server.OADBTransaction;
import oracle.apps.fnd.framework.OAViewObject;
import java.sql.CallableStatement;
import java.sql.ResultSet;
import oracle.jbo.Row;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
import oracle.apps.per.selfservice.appraisals.server.AppraisalVORowImpl;
public class XXPERMAFinalRatingsPageCO extends MAFinalRatingsPageCO
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
writeLog("XXPER",pageContext,"Start PR XXPERMAFinalRatingsPageCO ");
OAMessageDateFieldBean dateBean =(OAMessageDateFieldBean) webBean.findChildRecursive("DeliveryDateTime");
if(dateBean !=null )
String dateBeanValue = (String) dateBean.getValue(pageContext) ;
writeLog("XXPER",pageContext,"dateBean Value "+dateBeanValue);
if(dateBeanValue !=null)
if(dateBeanValue.indexOf(".0") !=-1)
dateBeanValue = dateBeanValue.substring(0,dateBeanValue.length()-2);
writeLog("XXPER",pageContext,"dateBean Updated Value "+dateBeanValue);
String dateMaskQry = "SELECT value FROM V$NLS_Parameters WHERE parameter ='NLS_DATE_FORMAT'";
writeLog("XXPER",pageContext,"dateMaskQry "+dateMaskQry);
String dateMask = (String) executeSql(dateMaskQry, pageContext, webBean);
writeLog("XXPER",pageContext,"dateMask : "+dateMask);
String dateConvertQry = "select to_char(fnd_date.canonical_to_date('"+dateBeanValue+"') ,'"+dateMask+" HH24:MI:SS') from dual";
writeLog("XXPER",pageContext,"dateConvertQry "+dateConvertQry);
String convertedDateValue = (String) executeSql(dateConvertQry,pageContext,webBean);
writeLog("XXPER",pageContext,"convertedDateValue "+convertedDateValue);
if(convertedDateValue == null )
convertedDateValue = dateBeanValue;
dateBean.setValue(pageContext,convertedDateValue);
writeLog("XXPER",pageContext,"After set the value "+convertedDateValue);
setAttribute3(pageContext, convertedDateValue);
writeLog("XXPER",pageContext,"After set the VO value "+convertedDateValue);
}else
writeLog("XXPER",pageContext,"dateBean value is null from the bean Get the value from getAttribute3() method");
dateBeanValue = getAttribute3(pageContext);
dateBean.setValue(pageContext,dateBeanValue);
}else
writeLog("XXPER",pageContext,"dateBean is null ");
writeLog("XXPER",pageContext,"End PR XXPERMAFinalRatingsPageCO ");
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
writeLog("XXPER",pageContext,"Start PFR XXPERMAFinalRatingsPageCO ");
writeLog("XXPER",pageContext,"Event Param "+pageContext.getParameter(EVENT_PARAM));
OAMessageDateFieldBean dateBean =(OAMessageDateFieldBean) webBean.findChildRecursive("DeliveryDateTime");
if(dateBean !=null )
String dateBeanValue = (String) dateBean.getValue(pageContext) ;
if(dateBeanValue !=null)
if(dateBeanValue.indexOf(".0") !=-1)
dateBeanValue = dateBeanValue.substring(0,dateBeanValue.length()-2);
writeLog("XXPER",pageContext,"dateBean Updated Value "+dateBeanValue);
String dateMaskQry = "SELECT value FROM V$NLS_Parameters WHERE parameter ='NLS_DATE_FORMAT'";
writeLog("XXPER",pageContext,"dateMaskQry "+dateMaskQry);
String dateMask = (String) executeSql(dateMaskQry, pageContext, webBean);
writeLog("XXPER",pageContext,"dateMask : "+dateMask);
String dateConvertQry = "select to_char(fnd_date.canonical_to_date('"+dateBeanValue+"') ,'"+dateMask+" HH24:MI:SS') from dual";
//String dateConvertQry = "select fnd_date.string_to_canonical('"+dateBeanValue+"','"+dateMask+" HH24:MI:SS') from dual";
writeLog("XXPER",pageContext,"dateConvertQry "+dateConvertQry);
String convertedDateValue = (String) executeSql(dateConvertQry,pageContext,webBean);
writeLog("XXPER",pageContext,"convertedDateValue "+convertedDateValue);
if(convertedDateValue == null )
convertedDateValue = dateBeanValue;
dateBean.setValue(pageContext,convertedDateValue);
writeLog("XXPER",pageContext,"After set the value "+convertedDateValue);
setAttribute3(pageContext, convertedDateValue);
writeLog("XXPER",pageContext,"After set the VO value "+convertedDateValue);
}else
writeLog("XXPER",pageContext,"dateBean is null ");
writeLog("XXPER",pageContext,"End PFR XXPERMAFinalRatingsPageCO ");
super.processFormRequest(pageContext, webBean);
writeLog("XXPER",pageContext,"End PFR XXPERMAFinalRatingsPageCO (After Super Call )");
public void writeLog(String moduleName, OAPageContext pageContext, String diagText)
if(pageContext.isLoggingEnabled(OAWebBeanConstants.STATEMENT))
System.out.println(moduleName+" : "+diagText);
pageContext.writeDiagnostics(moduleName,diagText,OAWebBeanConstants.STATEMENT);
* Method to execute SQL.
public Object executeSql(String pSqlStmt, OAPageContext pageContext , OAWebBean webBean)
OADBTransaction tx = pageContext.getApplicationModule(webBean).getOADBTransaction();// (OADBTransaction)getOADBTransaction();
Object lObject = null;
// Create the callable statement
CallableStatement lCstmt = (CallableStatement)tx.createCallableStatement(pSqlStmt, 1);
ResultSet rs = null;
try
rs = lCstmt.executeQuery();
while(rs.next())
lObject = rs.getObject(1);
catch (Exception e)
//throw OAException.wrapperException(e);
finally
try {
if(rs!=null)
rs.close();
if(lCstmt != null)
lCstmt.close();
catch(Exception e) {
throw OAException.wrapperException(e);
return lObject;
} // executeSql
public void setAttribute3(OAPageContext pageContext, String dateValue)
OAApplicationModule rootAM = pageContext.getRootApplicationModule();
OAApplicationModule apprAM = (OAApplicationModule)rootAM.findApplicationModule("AppraisalsAM");
OAViewObject appraisalVO = (OAViewObject)apprAM.findViewObject("AppraisalVO");
writeLog("XXPER",pageContext,"appraisalVO "+appraisalVO);
if(appraisalVO !=null)
AppraisalVORowImpl appraisalVORow = (AppraisalVORowImpl) appraisalVO.getCurrentRow();
if(appraisalVORow !=null)
int attrCount = appraisalVO.getAttributeCount();
writeLog("XXPER",pageContext,"Attrbuute count "+attrCount);
String[] attributeNames = appraisalVORow.getAttributeNames();
appraisalVORow.setAttribute3(dateValue);
public String getAttribute3(OAPageContext pageContext)
OAApplicationModule rootAM = pageContext.getRootApplicationModule();
OAApplicationModule apprAM = (OAApplicationModule)rootAM.findApplicationModule("AppraisalsAM");
String attribute3Value = "N";
OAViewObject appraisalVO = (OAViewObject)apprAM.findViewObject("AppraisalVO");
writeLog("XXPER",pageContext,"appraisalVO "+appraisalVO);
if(appraisalVO !=null)
AppraisalVORowImpl appraisalVORow = (AppraisalVORowImpl) appraisalVO.getCurrentRow();
if(appraisalVORow !=null)
int attrCount = appraisalVO.getAttributeCount();
writeLog("XXPER",pageContext,"Attrbuute count "+attrCount);
String[] attributeNames = appraisalVORow.getAttributeNames();
writeLog("XXPER",pageContext," AppraisalId :- "+ appraisalVORow.getAppraisalId());
attribute3Value = (String)appraisalVORow.getAttribute3();
String attribute1Value = (String)appraisalVORow.getAttribute1();//getAttribute2
String attribute2Value = (String)appraisalVORow.getAttribute2();
writeLog("XXPER",pageContext," attribute3Value :- "+attribute3Value + " attribute1Value "+ attribute1Value +"attribute2Value "+attribute2Value);
}else
writeLog("XXPER",pageContext," appraisalVORow is null ");
}else
writeLog("XXPER",pageContext," appraisalVO is null ");
return attribute3Value;
} -
How can i change the Format of my DATE column?
I need to change the date format for a whole column. At present i can do MM-DD-YYYY. I need to change this this to DD-MMM-YYYY.
I know about the to_date function, i tried to apply it to change the format of my whole column by doing the following.....
CREATE TABLE "IT220_DATEHOLIDAY"
"DEPARTID" VarChar(2)NOT NULL ENABLE,
"HOLCODE" VARCHAR2(2)NOT NULL ENABLE,
"DEPARDATE" DATE,
to_date('DATE','DD-MMM-YYYY'), <<<change DATE column to DD-MMM-YYYY
CONSTRAINT "DATEHOLIDAY_PK" PRIMARY KEY ("DEPARTID") ENABLE
ORA-00902: invalid datatype <<<<This was the error message i received.
I am aware that the to_date function is supposed to be used to change strings into a certain format. I guess this means you cant do it with columns? Is there anyway i can format the whole column or do i have to do each string of data entered one by one?
Thanks in advance!Hello Jay,
I'm not sure you hit the right forum, as this doesn't seem to be a problem with APEX.
Anyway:
You can't use that function on a table like that, and as you already suggested, the to_date-function expects a string value.
It seems you also have a misunderstanding of the basic datatypes in the database. DATE is such a datatype and is stored an internal format you don't need to care about. Each time your request the value, the database will give you a string representation according to either your locale or you give a certain formatting mask.
The same applies to insert or update operations: you hand in either a variable of type DATE or use a function like to_date to create an "object" of type date.
You may be interested in reading the documentation of the [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/toc.htm]Oracle Database Concepts. The section concerning datatype DATE can be found here:
http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/tablecls.htm#CBBGJHJC
An overview of formatting options can be found here:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#SQLRF00212
So to answer your question: You would format it as part of your insert operation, taking a string and convert it using to_date.
-Udo -
Change default format in "save as" file format window
I month ago I asked the following question...
"How do I change the file format order that is listed in the "save as" file format window? Instead of having "Photoshop" listed as the default file, I'd like to have JPEG at the top, then TIFF, PSD, etc. I have to constantly scroll down the list to find JPEG."
Recently while selecting JPEG in the "save as" format window, I accidently selected "Large Document Format" while holding down either "control", "option", "apple key", or "shift", or a combination of keys. Now the default format in the format window is "Large Document Format" (ext.PSB). I've changed the default from "Photoshop" which is still listed at the top, to "Large Document Format". I'd like to change the default to "JPEG" but I cannot replicate the correct key(s) to change the default format in the window.Hello TomGroup...
I did not receive a satisfactory answer to the question. Yes, you can go
into the Scripts but that is for experts and it is too much work.
Aloha... Darrell
From: TomGroupGA <[email protected]>
Reply-To: <[email protected]>
Date: Fri, 08 Apr 2011 12:31:07 -0600
To: Darrell Wong <[email protected]>
Subject: Change default format in "save as" file
format window
Any updates on this issue?
I have a similar situation in that no matter what I'm working on, when I
click "Save As' then the default format option is always .tiff If I save
as jpg and then go onto my next file, the default is still tiff again when I
try to save No matter what I try, tiff is also my default selection. It's
just one of those things that takes a mere 5 seconds to click the dropdown
and select .jpg, but 5 seconds times a couple hundred files per day...it
adds up. -
iTunes 11 has converted some songs to Quicktime movie format. How can I convert them back to MPEGs?
I didn't mess with the iTunes Media folder previously, so I don't think that was the cause. Anyway, I manually fixed most of the songs, but I still can't figure out how to fix the movies that became listed as songs.
Here is a screenshot of what it looks like when I click on "Get Info" for one of the movies (which has ended up in the music section on iTunes):
There is no option to change the media kind to "movie" or "video" even though it is a movie and it still plays as a movie if I press play.
Maybe you are looking for
-
How do i transfer pictures from my ipad to a sd card?
How do I transfer pictures from an album I have in my iPad over to a SD card?
-
Someone made a purchase from my Apple ID to a device that was not mine – I received an email stating that this occurred, yet the only solution that Apple gave me was to change my password. When I look at my account, I can see the $20.00 purchase of m
-
DG Setup Perfect, Running Ok, Yet One Unique Issue, Need Ur Intervention!
Hi Experts, Version : 11.2.03 Box : AIX 5l Active Passive RAC Node: Standby : StandAlone DR ================== I am stuck in some silly situation, where I setup my DG and everything went fine. My DG is in complete sync with Primary. The archives are
-
Choppy video on blazing fast connection
Hi, we just set up FMS and basically what's happening is im using the standard run-of-the mill FLVplayback component and I try to run a video (an MP4) file which is streamed through FMS. The video plays, but intermittently chops. Next test: Akamai SM
-
Cross - company cash application for Accounts recievables
Kindly let me know how to conduct an cross company cash application. Which transaction will best accomplish this . I have set - up the cross - company clearing account between the 2 companies. Thanks in advance.