Font problem after inserting date/time.
Can anyone help me with this problem? I write a daily journal in Times New Roman, 18 pt. However, when I have it insert the date and time it inserts it fine as TNR 18. But if I type the very next character it is TNR 10 pt. How do I prevent this?
Thanks.
Paul
Paul, did you by chance change the Body text Paragraph Style to TNR 18? Or is it still set to 10?
If it is set to 10 then while the Date and Time are going to be 18, Pages is reverting back to the normal Body paragraph Style, which is probably 10.
You can get around this by changing your body style, or making a new one called "Entries" which is set to 18.
Similar Messages
-
Problem while inserting Date/Time in Oracle Database
Hai,
i want to insert the date and time in a date column. here, i am using java.sql.Date and java.sql.Time to assign the date in Prepared Statement.
PreparedStatement psmt=con.prepareStatement("insert into test(ex_date) values(?)");
java.util.Calendar c=Calendar.getInstance();
c.set(2002,2,21,10,10,00);
java.sql.Date d=new Date(c.getTime().getTime());
java.sql.Time t=new Time(c.getTime().getTime());
psmt.clearParameters();
psmt.setDate(1,d);
psmt.setDate(1,t);
psmt.executeUpdate();
Above program is inserted the Date and time in the database as the following "1900/2/21 10:10 AM"
but i am giving the year as 2002. it inserted the year as 1900. what is the problem with the code?
please let me know
Thanks in advance.
Regards
sankarjune14Hai Franco,
i put the wrong code. Here, is the Original Code.
PreparedStatement psmt=con.prepareStatement("insert into test(ex_date) values(?)");
java.util.Calendar c=Calendar.getInstance();
c.set(2002,2,21,10,10,00);
java.sql.Date d=new Date(c.getTime().getTime());
java.sql.Time t=new Time(c.getTime().getTime());
psmt.clearParameters();
psmt.setDate(1,d);
psmt.setTime(1,t); // Last time i put psmt.setDate(1,t);
psmt.executeUpdate();
and, the getTimeInMillis() method is a protected method in java.util.Calendar class. how can we use it
please give me some other idea to insert the date and time in oracle database.
Thanks in advance
sankarjune14 -
Why should we create index on the table after inserting data ?
Please tell me the Reason, why should we create index on the table after inserting data .
while we can also create index on the table before insertion of the data.The choice depends on a number of factors, the main being how many rows are going to be inserted in the table as a percentage of the existing rows, or the percentage growth.
Creating index after a table has been populated works better when the tables are large or the inserts are large for the following reasons
1. The sort and creation of index is more efficient when done in batch and written in bulk. So works faster.
2. When the index is being written blocks get acquired as more data gets written. So, when a large number of rows get inserted in a table that already has an index , the index data blocks start splitting / chaining. This increases the "depth" of the inverted b-tree makes and that makes the index less efficient on I/O. Creating index after data has been inserted allows Orale to create optical block distribution/ reduce splitting / chaining
3. If an index exists then it too is routed through the undo / redo processes. Thats an overhead which is avoided when you create index after populating the table.
Regards -
Problem with Inserting Date and Time in Oracle 8i
I am using JDBC thin driver version 8.1.6. with oracle 8i and am unable to insert and update date & time in American format
(mm/dd/yyyy hh24:mi:ss).
example:
UPDATE TABLE_NAME SET DATE_COLUMN='08/16/2000 12:45:00';
Can someone please help?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kanwal:
I am using JDBC thin driver version 8.1.6. with oracle 8i and am unable to insert and update date & time in American format
(mm/dd/yyyy hh24:mi:ss).
example:
UPDATE TABLE_NAME SET DATE_COLUMN='08/16/2000 12:45:00';
Can someone please help?
<HR></BLOCKQUOTE>
Hey Kanwal,
You can try the following statement
UPDATE TABLE_NAME SET DATE_COLUMN = to_date('08/16/2000 12:45:00','mm/dd/yyyy HH:MI:SS'
WHERE .... ;
null -
Inserting Date & Time in picture
Hi,
I am new to Adobe, after strugling to get iMovie to produce a decent HD movie, I am delighted with Premiere Elements 9 so far. I am, however, asking for help and assistance in trying to insert the date & time (that the footage was shot) into text on the screen. iMovie had this function which was very useful for home movies, but I cannot find this option? Also, I have run a test video and have found a sound/video sync problem. I am not running anti-virus software as I have a MAC and the saved movie is being exported to an external HDD through firewire. Any help would be very much appreciated!
Thanks
JohnJohn,
Welcome to the forum.
PrE does not have a direct way to do this, however, you can create a Title, and manually add the time/date as text.
There is a program, DVDate, that might prove to be helpful, though it's not a plug-in for PrE, so there is still some additonal work in the normal workflow.
Good luck,
Hunt -
Inserting date & time in Word 2008 document
I'm trying to create simple AppleScript and I'm hoping someone on here can help me.
I work in Word 2008 for Mac and want to create a script that simply inserts the phrase "Left message(space)" plus the date and time whenever I run the script. I'd also prefer that the phrase be in italics if possible. I use this because I often call people and leave them a message and I like to keep a record of when I call them.
I found this script online and modified it hoping it would meet my needs:
tell application "Microsoft Word"
tell selection
type text text "Left message "
create new field text range text object of selection field text {"DATE \\@ \"MM/d/yyyy\""}
end tell
end tell
The result is that when I run the script, I get something like this in my document:
Left message 6/10/2010
It's a good start, but there are two problems with this.
First, I would like to insert both the date AND the time.
Second, when it inserts the date, it makes it an "update automatically" date that updates to the current time every time I open the document. This obviously doesn't help me keep a record of when I made a call. What I would like is for it to just insert the current date and time without updating automatically.
Third, if possible, I would also like it to be in italics.
It would look something like this:
+Left message 6/10/10 5:29 PM+
I appreciate any advice people can give.
Message was edited by: LJH_CMHSecond, when it inserts the date, it makes it an "update automatically" date that updates to the current time every time I open the document
Sure, that's because you specifically tell it to. Your script inserts a 'new field' which is analogous to Word's dynamic text objects (date, time, page number, etc.)
Instead, what you want to do is insert an actual string of characters - sure, to you and I that string of characters might look like a date and time, but to Word it's nothing more than a series of characters.
For that we can fall back on AppleScript's date features, specifically current date, like:
tell application "Microsoft Word"
tell selection
type text text "Left message " & (current date as text)
end tell
end tell
Note that current date as text returns a rather verbose form of the date. If that's too much for you there are alternate options, such as:
short date string of (current date) & space & time string of (current date)
which will look more like: "6/10/10 3:26:50 PM"
But there is also a myriad of other ways (with seconds, without seconds, 12/24 hr, etc.) depending on what you want.
Third, if possible, I would also like it to be in italics.
I'll have to look at that one, unless someone else beats me to it. -
Refresh LOV after inserting data in correspondent table
Hi all,
I am using Jdeveloper 11.1.1.2 and ADFBC.
I have a page with a table (tableA) with some fields. One of them has a LOV associated to another table(tableB). I have a button (button1) that shows a popup(popup1) and opens a new task flow with a fragment to insert data in the tableB.
After inserting/modifying rows in tableB and after pressing commit (property: end-transaction) or rollback buttons (property: end-transaction and restore save point), LOV does not refresh.
I have tried to set the property partial triggers of the LOV to button1 or popup1 and it does not work.
How can I solve it?
Thank you.
AndreaHow about VO for table B ? Did you refresh that ? I didn't use the same VO for table & LOV.
so in "List data Source" -- VO -- I am using "SQL statement" and statement includes fields from Table B and Table A.
VO for LDS using "Rows populated by a SQL query with read-only access". I didn't use "Updateable Access through Entity Objects".
Sample of VO of LDS:
select A.model_number modelNumber, a.part_number partNumber, b.MODEM_TYPE ModemType
from table A a,Table B b
where a.PART_NUMBER_ID = b.PART_NUMBER_ID
and a.part_number_id =:partID
Edited by: albertpi on Mar 16, 2010 7:26 AM -
Problem in inserting data into MySQL table
Hi All,
I have a table with just two fields FIRSTNAME and SECONDNAME in MySQL. I am accepting the First Name and Second Name in two text fields and then trying to insert them into the MySQL table. I have set the concurrency of the rowset to CONCUR_UPDATABLE and am using the code clip for Database row insert with the appropriate changes. When I run the application it doesnt give me any errors but the data is also not inserted in the table. Can someone pls help me out.
Loneliness wins the race :-)This is my problem when inserting single row. What does it means ?
MusicInsert: com.mysql.jdbc.NotUpdatable: Result Set not updatable.This result set must come from a statement that was created with a result set type of ResultSet.CONCUR_UPDATABLE, the query must select only one table, and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details -
E52 Font Problem after software upgrade
Hello!
I have a little problem after upgrading my Noki E52 with the newest software version. All fonts are large, even if i set them to be small in display settings. So, my question is if there is a solution of this problem?
Thanks in advance!i afraid to upgrade.. so many problems with new update.. hmm...
i don't have any idea but gl to find solve! -
Insert date time into oracle database from jsp
pls tell me ,from jsp how can I insert datetime values into oracle database .I am using oracle 9i .here is codethat i have tried
html--code
<select name="date">
<option selected>dd</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<select name="month">
<option selected>dd</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<select name="year">
<option selected>dd</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
<option>2007</option>
</select>
here the jsp code
<% date= request.getParameter("date"); %>
<% month= request.getParameter("month"); %>
<% year= request.getParameter("year"); %>
try
{ Class.forName("oracle.jdbc.driver.OracleDriver"); }
catch (ClassNotFoundException exception)
try
Connection connection = null;
out.println("connectiong the database");
connection = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcsid","scott","tiger");
out.println("connection getted");
int rows = 0;
String query_2 = "insert into mrdetails values(?)";
String dob = date+month+year;
prepstat = connection.prepareStatement(query_2);
prepstat.setTimestamp(4,dob);
rows = prepstat.executeUpdate();
out.println("data updated");
catch (Exception exception3)
out.println("Exception raised"+exception3.toString());
}To insert date values into a database, you should use java.sql.Date. If it also has a time component, then java.sql.TimeStamp.
Your use of prepared statements is good.
You just need to convert the parameters into a date.
One way to do this is using java.text.SimpleDateFormat.
int rows = 0;
String query_2 = "insert into mrdetails values(?)";
String dob = date+"/" + month+ "/" + year;
SimpleDateFormat sdf = new SImpleDateFormat("dd/MM/yyyy");
java.util.Date javaDate = sdf.parse(dob);
java.sql.Date sqlDate = new java.sql.Date(javaDate .getTime);
prepstat = connection.prepareStatement(query_2);
prepstat.setTimestamp(4,sqlDate);
rows = prepstat.executeUpdate();
out.println("data updated");Cheers,
evnafets -
hi
I am using
INSERT INTO LIB_BOOK_ISSUE (ISSUE_DATE, AC_NO) SELECT ISSUE_DATE, AC_NO FROM LIB_BOOK_ISSUE5
to move data from LIB_BOOK_ISSUE5 to LIB_BOOK_ISSUE.
ISSUE_DATE has Date/Time valuse. When I use above INSERT statement then just Dates are inserted into LIB_BOOK_ISSUE. Plz write me the query so that both Date/Time values move.
Thankscolumn ISSUE_DATE and AC_NO both play as primary key.
if i use
insert into LIB_BOOK_ISSUE select * from LIB_BOOK_ISSUE5;
then there is an error that unique value violated. thats why i think that if time value is not copying to LIB_BOOK_ISSUE5 then there may be unique key violation, elese there is no way that there is any key violation -
[Solved] Strange font problem - after update.
Hello guys,
encountered a strange small font problem on sites with code wrappers like stackoverflow/blogs/jsfiddle. After update. took a look at my font setup all looks good.
I've also checked the settings for gtk2/3 and no problems there.
INFO:
Google-Chrome-Beta. [same thing]
Firefox [same thing]
/etc/vconsole.conf ->
KEYMAP=sv-latin1
FONT=ter-112n
.gtkrc-2.0->
gtk-theme-name="Clearlooks"
gtk-icon-theme-name="Faience"
gtk-font-name="Tewi 9"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="none"
/gtk-3.0/settings.ini->
gtk-theme-name=Clearlooks
gtk-icon-theme-name=Faience
gtk-font-name=Tewi 9
Any ideas on this problem would be greatfully appreciated.
http://imgur.com/MD7yPI2
Mod note: removed huge image -- WorMzy
Last edited by Learning (2015-05-22 21:55:07)Update:
Tried reinstalling, change the fonts, remove all font clear the cache.
change, look up the settings, looked up size, tried monitor dpi.
checked all the config files for anything remotely related to this problem.
Had a quick look at the bug tracker for google-chrome-beta as well no reported
font problems as far as i can find.
Update2:
Tried adding custom.css to the browser not even that worked.
update3: [SOLVED]
So i solved the problem.
The problem was a faulty font that was stuck and used in the pre somehow.
Removed and added another to the list and somehow that worked.
recommendations - if anyone has this problem in the future.
open firefox and look in the font tab what is used. and remove that
or try to install a fixed one. that should work.
-Nothing has yielded any working results.
So any ideas at this point would be most appreciated.
Thanks,
-L
Last edited by Learning (2015-05-22 21:59:14) -
How to insert date/time to sql database
Hi,
I would like to insert date and time alongside with my data receiving from the sensor.
Right now i can insert data into sql table everytime when the data changes but i also wanted to insert the date and time as well.
Thank you in advance!I create a field that is a datetime and set the default value to getdate(). So everytime i make an entry into this database, it automatically adds a datestamp.
-
Problem while inserting data for some datatypes in Oracle 10g
Hi
I was trying to insert data in database for all the data types defined in Oracle 10g.
I was successful in maximum cases.
I was not able to insert data for following datatypes:
1 Long varraw
2 string
3 varraw
4 varnum
5 charz
6 unsigned int
7 native double
8 native float
Please put some light on it.
Thanks,
GyanendraHi Subin,
You can try couple of things.
If your data is less than 32767, you can pass it to stored procedure and change it to clob type like
PROCEDURE CLOBQUERY
Param IN CLOB,
and you can call Procedure
EXECUTE CLOBQUERY '[Param.1]'
If your data is around than 1000000(32767*32), you can break the data in length of 32767 and pass it to param 1 to 32 like
EXECUTE CLOBQUERY '[Param.1][Param.2][Param.3]..[Param.32]'
Finally you can try to update jdbc drive.
check the link Link: [JDBC Limitation|http://confluence.atlassian.com/display/JIRA/UsingOracle10gdriverstosolvethe4000character+limitation] -
Problems converting FILETIME date/time into MM/DD/YYYY format...
Has anyone successfully converted a FILETIME date/time value into a MM/DD/YYYY format using ColdFusion? I am failing drastically, and it seems like an easy conversion.
FILETIME format (details: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724284(v=vs.85).aspx) is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
A database I'm working with has such values, and I want to display them in a user-friendly date format within my application.
For example, one record is:
13003368600
The above number represents the following date and time:
1/22/2013 @ 2:50 PM
Sadly I know this only because the FILETIME value gets written to the database by a third-party application, and within that application I specify it in the MM/DD/YYYY format.
Can anyone offer me some guidance, or better yet has anyone accomplished this already and want to share code?I did this, on cf9/linux, and it seemed to do the trick:
<cfscript>
Long = createObject("java","java.lang.Long");
Date = createObject("java","java.util.Date");
fileTimeToEpoch =
// take pwdLastSet From Active Directory, it's in filetime
pwdLastSet = JavaCast("long", Long.parseLong("130292682204519505"));
// take filetime and turn it into epoch/java - 1970/1/1
// http://www.silisoftware.com/tools/date.php - converted: jan 1, 1970 00:00 -00
javaTime = JavaCast("long", pwdLastSet - 116444736000000000);
// convert to milliseconds
javaTime = JavaCast("long", javaTime / 10000);
today = JavaCast("string", Date.init(javaTime));
</cfscript>
<cfdump var="#pwdLastSet#">
<cfdump var="#javatime#">
<cfdump var="#today#">
Maybe you are looking for
-
I want the tabs to auto-size/shrink when the tab bar width is full as opposed to adding the annoying extra step of navigation arrows... any suggestions?
-
Problems with garageband 5.1 and mac OS X 10.8.5
I have recently started experiencing major problems with garageband. I assume this is since my latest upgrade but I also now realise that I've been having problems for quite some time but its just got worse. I can't seem to upload a new version of G
-
Photoshop Elements 8.01 Patch did not fully install
HI I checked and it said 8.01 patch available. I selected to install it. It ran, then stopped. I closed PS and then reopened Photoshop and it still says 8.0 but now it does not say any updates are avaialbe. I think it do not install correctly.
-
New Form 24 Program from April 2008
Hi Experts In Service.sap.com/hrin page and in the Note 1067264 ( New Program for Form 24Q e-File generation) It is given that from April2008 we need to use new Program for Creating F24 but when i execute the transaction it is simply the old one(Crea
-
Which SAP products require Netweaver and which do not
Hello, does anyone have slides or a link that shows which SAP products run on Netweaver? For example, some Sybase solutions do not run on NW but I'm not sure which may and which may not. Things like Aleri and probably some other components don't r