Rabu, 03 Februari 2016

Re: [MS_AccessPros] Changing or creating a Date/Time format

 

Jean-Pierre


As long as you use the field value and not the text box for you conditional formatting you should be okay. You can format the date using the Format() function.
Format(Date()+30, "dd-mm-yy")

Regards,
Bill Mosca, Founder - MS_Access_Professionals
http://www.thatlldoit.com
Microsoft Office Access MVP
http://mvp.microsoft.com/en-us/mvp/Bill%20Mosca-35852
My nothing-to-do-with-Access blog
http://wrmosca.wordpress.com



---In MS_Access_Professionals@yahoogroups.com, <jpbrown0127@yahoo.com> wrote :

John,
I know, I said it worng. I use Date() + 30 for the conditional formating for my form. If I can change the field (date/time) format in the table to dd-mm-yy then the conditional format should still work, or? I just dont know how to change or create the field's format on my tables that need to reflect, dd-mm-yy. I made the input mask look like this but the actual field format is my problem lies.

--------------------------------------------
On Wed, 2/3/16, John Viescas JohnV@msn.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Subject: Re: [MS_AccessPros] Changing or creating a Date/Time format
To: MS_Access_Professionals@yahoogroups.com
Date: Wednesday, February 3, 2016, 11:36 AM


 









jp-



Date()+30 is NOT a Format. You need to use the Format
property of fields in your tables or controls on your forms
and reports to set the display to dd-mm-yy.



John Viescas, Author

Microsoft Access 2010 Inside Out

Microsoft Access 2007 Inside Out

Microsoft Access 2003 Inside Out

Building Microsoft Access Applications

SQL Queries for Mere Mortals

http://www.viescas.com/

(Paris, France)



On Feb 3, 2016, at 6:16 PM, Jean-Pierre Brown
jpbrown0127@yahoo.com [MS_Access_Professionals]
<MS_Access_Professionals@yahoogroups.com> wrote:



John,



To be honest, the company doesn't us Access. I use
(created) this database that enable my department to easily
track, monitor and update each employee. The higher company
has changed the way they want to see the date in excel. I
need to change the setting so my database can follow right
in line. I created formats that change the color of each
date/time field on my reports and forms. Now that I had to
change the date/time field to short text in order to get
dd-mm-yy it doesn't recognize my formats. I used
formats like Date()+30, Date()+45. I want to keep the field
in date/time but need to add a new format that recognizes it
as a date. Ex. Todays date, short date 02/03/16, I can make
something like short short date 03-02-16.

--------------------------------------------

On Wed, 2/3/16, John Viescas JohnV@msn.com
[MS_Access_Professionals]
<MS_Access_Professionals@yahoogroups.com> wrote:



Subject: Re: [MS_AccessPros] Changing or creating a
Date/Time format

To: MS_Access_Professionals@yahoogroups.com

Date: Wednesday, February 3, 2016, 10:43 AM



jp-

The default format for date/time

fields is Short Date, and that inherits the format from
the

system International settings. If you get your

company's Windows gurus to do a blanket change to

everyone's date format setting in Windows, you have

nothing to do. If not, then you have to go to every
table

that has a date/time field and override with a custom

dd-mm-yy setting.



John Viescas,

AuthorMicrosoft Access 2010 Inside

OutMicrosoft Access 2007 Inside

OutMicrosoft Access 2003 Inside

OutBuilding Microsoft Access

Applications SQL Queries for Mere

Mortals http://www.viescas.com/ (Paris,

France)



On Feb 3, 2016, at 5:39 PM, jpbrown0127@yahoo.com

[MS_Access_Professionals]
<MS_Access_Professionals@yahoogroups.com>

wrote:



The

company I am working for has changed the requirement for
how

the date looks to (dd-mm-yy). How can I change or

create this as an option in Date/Time? I need this so
the

formating I created will not have to change. As of right

now, I had to go and change the field to short text
instead

of Date/Time. Can anyone help with this?



#yiv8699737689 #yiv8699737689 --

#yiv8699737689ygrp-mkp {

border:1px solid #d8d8d8;font-family:Arial;margin:10px

0;padding:0 10px;}



#yiv8699737689 #yiv8699737689ygrp-mkp hr {

border:1px solid #d8d8d8;}



#yiv8699737689 #yiv8699737689ygrp-mkp #yiv8699737689hd {

color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px

0;}



#yiv8699737689 #yiv8699737689ygrp-mkp #yiv8699737689ads {

margin-bottom:10px;}



#yiv8699737689 #yiv8699737689ygrp-mkp .yiv8699737689ad {

padding:0 0;}



#yiv8699737689 #yiv8699737689ygrp-mkp .yiv8699737689ad p
{

margin:0;}



#yiv8699737689 #yiv8699737689ygrp-mkp .yiv8699737689ad a
{

color:#0000ff;text-decoration:none;}

#yiv8699737689 #yiv8699737689ygrp-sponsor

#yiv8699737689ygrp-lc {

font-family:Arial;}



#yiv8699737689 #yiv8699737689ygrp-sponsor

#yiv8699737689ygrp-lc #yiv8699737689hd {

margin:10px

0px;font-weight:700;font-size:78%;line-height:122%;}



#yiv8699737689 #yiv8699737689ygrp-sponsor

#yiv8699737689ygrp-lc .yiv8699737689ad {

margin-bottom:10px;padding:0 0;}



#yiv8699737689 #yiv8699737689actions {

font-family:Verdana;font-size:11px;padding:10px 0;}



#yiv8699737689 #yiv8699737689activity {

background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}



#yiv8699737689 #yiv8699737689activity span {

font-weight:700;}



#yiv8699737689 #yiv8699737689activity span:first-child {

text-transform:uppercase;}



#yiv8699737689 #yiv8699737689activity span a {

color:#5085b6;text-decoration:none;}



#yiv8699737689 #yiv8699737689activity span span {

color:#ff7900;}



#yiv8699737689 #yiv8699737689activity span

.yiv8699737689underline {

text-decoration:underline;}



#yiv8699737689 .yiv8699737689attach {

clear:both;display:table;font-family:Arial;font-size:12px;padding:10px

0;width:400px;}



#yiv8699737689 .yiv8699737689attach div a {

text-decoration:none;}



#yiv8699737689 .yiv8699737689attach img {

border:none;padding-right:5px;}



#yiv8699737689 .yiv8699737689attach label {

display:block;margin-bottom:5px;}



#yiv8699737689 .yiv8699737689attach label a {

text-decoration:none;}



#yiv8699737689 blockquote {

margin:0 0 0 4px;}



#yiv8699737689 .yiv8699737689bold {

font-family:Arial;font-size:13px;font-weight:700;}



#yiv8699737689 .yiv8699737689bold a {

text-decoration:none;}



#yiv8699737689 dd.yiv8699737689last p a {

font-family:Verdana;font-weight:700;}



#yiv8699737689 dd.yiv8699737689last p span {

margin-right:10px;font-family:Verdana;font-weight:700;}



#yiv8699737689 dd.yiv8699737689last p

span.yiv8699737689yshortcuts {

margin-right:0;}



#yiv8699737689 div.yiv8699737689attach-table div div a {

text-decoration:none;}



#yiv8699737689 div.yiv8699737689attach-table {

width:400px;}



#yiv8699737689 div.yiv8699737689file-title a,
#yiv8699737689

div.yiv8699737689file-title a:active, #yiv8699737689

div.yiv8699737689file-title a:hover, #yiv8699737689

div.yiv8699737689file-title a:visited {

text-decoration:none;}



#yiv8699737689 div.yiv8699737689photo-title a,

#yiv8699737689 div.yiv8699737689photo-title a:active,

#yiv8699737689 div.yiv8699737689photo-title a:hover,

#yiv8699737689 div.yiv8699737689photo-title a:visited {

text-decoration:none;}



#yiv8699737689 div#yiv8699737689ygrp-mlmsg

#yiv8699737689ygrp-msg p a span.yiv8699737689yshortcuts {

font-family:Verdana;font-size:10px;font-weight:normal;}



#yiv8699737689 .yiv8699737689green {

color:#628c2a;}



#yiv8699737689 .yiv8699737689MsoNormal {

margin:0 0 0 0;}



#yiv8699737689 o {

font-size:0;}



#yiv8699737689 #yiv8699737689photos div {

float:left;width:72px;}



#yiv8699737689 #yiv8699737689photos div div {

border:1px solid

#666666;height:62px;overflow:hidden;width:62px;}



#yiv8699737689 #yiv8699737689photos div label {

color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}



#yiv8699737689 #yiv8699737689reco-category {

font-size:77%;}



#yiv8699737689 #yiv8699737689reco-desc {

font-size:77%;}



#yiv8699737689 .yiv8699737689replbq {

margin:4px;}



#yiv8699737689 #yiv8699737689ygrp-actbar div a:first-child
{

margin-right:2px;padding-right:5px;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg {

font-size:13px;font-family:Arial, helvetica, clean,

sans-serif;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg table {

font-size:inherit;font:100%;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg select,

#yiv8699737689 input, #yiv8699737689 textarea {

font:99% Arial, Helvetica, clean, sans-serif;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg pre,
#yiv8699737689

code {

font:115% monospace;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg * {

line-height:1.22em;}



#yiv8699737689 #yiv8699737689ygrp-mlmsg #yiv8699737689logo
{

padding-bottom:10px;}



#yiv8699737689 #yiv8699737689ygrp-msg p a {

font-family:Verdana;}



#yiv8699737689 #yiv8699737689ygrp-msg

p#yiv8699737689attach-count span {

color:#1E66AE;font-weight:700;}



#yiv8699737689 #yiv8699737689ygrp-reco

#yiv8699737689reco-head {

color:#ff7900;font-weight:700;}



#yiv8699737689 #yiv8699737689ygrp-reco {

margin-bottom:20px;padding:0px;}



#yiv8699737689 #yiv8699737689ygrp-sponsor
#yiv8699737689ov

li a {

font-size:130%;text-decoration:none;}



#yiv8699737689 #yiv8699737689ygrp-sponsor
#yiv8699737689ov

li {

font-size:77%;list-style-type:square;padding:6px 0;}



#yiv8699737689 #yiv8699737689ygrp-sponsor
#yiv8699737689ov

ul {

margin:0;padding:0 0 0 8px;}



#yiv8699737689 #yiv8699737689ygrp-text {

font-family:Georgia;}



#yiv8699737689 #yiv8699737689ygrp-text p {

margin:0 0 1em 0;}



#yiv8699737689 #yiv8699737689ygrp-text tt {

font-size:120%;}



#yiv8699737689 #yiv8699737689ygrp-vital ul li:last-child
{

border-right:none !important;

}

#yiv8699737689



------------------------------------

Posted by: Jean-Pierre Brown
<jpbrown0127@yahoo.com>

------------------------------------



------------------------------------



Yahoo Groups Links













#yiv5059085502 #yiv5059085502 --
#yiv5059085502ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv5059085502 #yiv5059085502ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv5059085502 #yiv5059085502ygrp-mkp #yiv5059085502hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv5059085502 #yiv5059085502ygrp-mkp #yiv5059085502ads {
margin-bottom:10px;}

#yiv5059085502 #yiv5059085502ygrp-mkp .yiv5059085502ad {
padding:0 0;}

#yiv5059085502 #yiv5059085502ygrp-mkp .yiv5059085502ad p {
margin:0;}

#yiv5059085502 #yiv5059085502ygrp-mkp .yiv5059085502ad a {
color:#0000ff;text-decoration:none;}
#yiv5059085502 #yiv5059085502ygrp-sponsor
#yiv5059085502ygrp-lc {
font-family:Arial;}

#yiv5059085502 #yiv5059085502ygrp-sponsor
#yiv5059085502ygrp-lc #yiv5059085502hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv5059085502 #yiv5059085502ygrp-sponsor
#yiv5059085502ygrp-lc .yiv5059085502ad {
margin-bottom:10px;padding:0 0;}

#yiv5059085502 #yiv5059085502actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv5059085502 #yiv5059085502activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv5059085502 #yiv5059085502activity span {
font-weight:700;}

#yiv5059085502 #yiv5059085502activity span:first-child {
text-transform:uppercase;}

#yiv5059085502 #yiv5059085502activity span a {
color:#5085b6;text-decoration:none;}

#yiv5059085502 #yiv5059085502activity span span {
color:#ff7900;}

#yiv5059085502 #yiv5059085502activity span
.yiv5059085502underline {
text-decoration:underline;}

#yiv5059085502 .yiv5059085502attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv5059085502 .yiv5059085502attach div a {
text-decoration:none;}

#yiv5059085502 .yiv5059085502attach img {
border:none;padding-right:5px;}

#yiv5059085502 .yiv5059085502attach label {
display:block;margin-bottom:5px;}

#yiv5059085502 .yiv5059085502attach label a {
text-decoration:none;}

#yiv5059085502 blockquote {
margin:0 0 0 4px;}

#yiv5059085502 .yiv5059085502bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv5059085502 .yiv5059085502bold a {
text-decoration:none;}

#yiv5059085502 dd.yiv5059085502last p a {
font-family:Verdana;font-weight:700;}

#yiv5059085502 dd.yiv5059085502last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv5059085502 dd.yiv5059085502last p
span.yiv5059085502yshortcuts {
margin-right:0;}

#yiv5059085502 div.yiv5059085502attach-table div div a {
text-decoration:none;}

#yiv5059085502 div.yiv5059085502attach-table {
width:400px;}

#yiv5059085502 div.yiv5059085502file-title a, #yiv5059085502
div.yiv5059085502file-title a:active, #yiv5059085502
div.yiv5059085502file-title a:hover, #yiv5059085502
div.yiv5059085502file-title a:visited {
text-decoration:none;}

#yiv5059085502 div.yiv5059085502photo-title a,
#yiv5059085502 div.yiv5059085502photo-title a:active,
#yiv5059085502 div.yiv5059085502photo-title a:hover,
#yiv5059085502 div.yiv5059085502photo-title a:visited {
text-decoration:none;}

#yiv5059085502 div#yiv5059085502ygrp-mlmsg
#yiv5059085502ygrp-msg p a span.yiv5059085502yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv5059085502 .yiv5059085502green {
color:#628c2a;}

#yiv5059085502 .yiv5059085502MsoNormal {
margin:0 0 0 0;}

#yiv5059085502 o {
font-size:0;}

#yiv5059085502 #yiv5059085502photos div {
float:left;width:72px;}

#yiv5059085502 #yiv5059085502photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv5059085502 #yiv5059085502photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv5059085502 #yiv5059085502reco-category {
font-size:77%;}

#yiv5059085502 #yiv5059085502reco-desc {
font-size:77%;}

#yiv5059085502 .yiv5059085502replbq {
margin:4px;}

#yiv5059085502 #yiv5059085502ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg select,
#yiv5059085502 input, #yiv5059085502 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg pre, #yiv5059085502
code {
font:115% monospace;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg * {
line-height:1.22em;}

#yiv5059085502 #yiv5059085502ygrp-mlmsg #yiv5059085502logo {
padding-bottom:10px;}


#yiv5059085502 #yiv5059085502ygrp-msg p a {
font-family:Verdana;}

#yiv5059085502 #yiv5059085502ygrp-msg
p#yiv5059085502attach-count span {
color:#1E66AE;font-weight:700;}

#yiv5059085502 #yiv5059085502ygrp-reco
#yiv5059085502reco-head {
color:#ff7900;font-weight:700;}

#yiv5059085502 #yiv5059085502ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv5059085502 #yiv5059085502ygrp-sponsor #yiv5059085502ov
li a {
font-size:130%;text-decoration:none;}

#yiv5059085502 #yiv5059085502ygrp-sponsor #yiv5059085502ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv5059085502 #yiv5059085502ygrp-sponsor #yiv5059085502ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv5059085502 #yiv5059085502ygrp-text {
font-family:Georgia;}

#yiv5059085502 #yiv5059085502ygrp-text p {
margin:0 0 1em 0;}

#yiv5059085502 #yiv5059085502ygrp-text tt {
font-size:120%;}

#yiv5059085502 #yiv5059085502ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv5059085502
 

__._,_.___

Posted by: wrmosca@comcast.net
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)

.

__,_._,___

Tidak ada komentar:

Poskan Komentar