Computer Support Forum

Updating date field

Question: Updating date field

Not sure how to go about this. I am not a programmer by any means but need to make a program.

I have a text file that is in what is called BAI format (bank standard format to send info). Basically this is a CSV file with a header. Right now I use a mail merge file to update the date field. I am looking to automate this so I would only need one "dummy" file and have a program that will update the date field automatically. The file is opened with notepad. I have done some VB but not a lot. I am looking for the best way to go about doing this. I tried to get some of the programmers to do it but no one wants to worry about supporting it, so I am taking a crack at it.

All help is very much appreciated. One idea I had is maybe a macro in excel but not sure if it would mess up the formating. I will try to get a copy of the file I use and post it.

Relevance 100%
Preferred Solution: Updating date field

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

Answer: Updating date field

6 more replies
Relevance 82.82%

I receive periodic Word (.rtf) documents from a property rental agency whenever my property is rented. The document contains the dates rented, the renter's name, etc. There is a "date field" in each document which automatically shows today's date, rather than the date the doc was created and sent to me. If I want to forward the doc to the renter a week later how do I stop the date from updating when I send it and stop it from updating when the renter opens the file?
 

Answer:Solved: Stop Updating the Date Field

6 more replies
Relevance 81.18%

Access 2007 Update Query For Updating A Date Field

Hi I have been asked to write a query for an Access 2007 db

I need to update a date field in a table based on another date field in the same table

1st date field is the person's start date (StartDate)
2nd date field is the person's project date (ProjectDate)
Without going into too much detail, the Project Start date always begins on the 1st of the month

If the person's StartDate is between the 1st - 14th the project start date is counted as on the first day of the StartDate month/year

If the person's StartDate is between the 15th - end of month the project start date is counted on the 1st day of the NEXT month

Example:
StartDate = 7/1/2011
ProjectDate = 7/1/2011

StartDate = 7/14/2011
ProjectDate = 7/1/2011

StartDate = 7/15/2011
ProjectDate = 8/1/2011

StartDate = 7/30/2011
ProjectDate = 8/1/2011

I would like to update the ProjectDate in an update query

Any suggestions? Thanks
 

Answer:Access 2007 Update Query For Updating A Date Field

Create a Column heading like this
numdays: format([StartDate], "dd")
or
numdays: datepart("dd", [StartDate])
this will give you the day of the month on it's own
add a second Column
NewProjdate: IIf([numdays]>14,Format([StartDate],"mm")+1 & "/01/" & Format([StartDate],"yyyy"),Format([StartDate],"mm") & "/01/" & Format([StartDate],"yyyy"))

This will give you the date to use in the update query.
 

3 more replies
Relevance 70.52%

I use due dates on my Outlook tasks. When I customize my Tasks list (in the Calendar view) to group by due date, I just get too many groupings (one for each due date!). I would like to know if I can create a custom field called 'Due Month' and/or 'Due Week', extracted from the 'Due Date', so I can view my tasks by what is due during a given week or month. If the answer is yes, any suggestions on the technique I would use would be greatly appreciated.
Thanks in advance,
Mac
 

More replies
Relevance 69.7%

I need a date field changed into a text field of YYYYMMDD so for example the date of birth field is 3/17/1953 and I need that converted to 19530317 in the Excel spreadsheet. Thanks.

Answer:I need a date field changed into a text field of YYYYMMDD

under the format options.

5 more replies
Relevance 67.24%

First the background: We are gradually deploying Office 2007, but not everyone in the agency has it. I have both 2003 and 2007 installed on my system, but I do my work in 2003, and none of our databases have actually been converted to 2007 format (at least, none that I work with). There are occasionally people who use 2007 when viewing databases, but I don't know if any of the people who are working in this particular database are using 2007. The problem is reproducible in 2003 and so I've been trying to fix it here. The query behind the problem report used to work. It has been a problem for several months (it is run monthly, and every month for the past five they've had problems with it) and I've finally gotten to the root of the actual issue.

The purpose of the report is to generate invoice for outstanding loans. The DateNextPayment is a calculated field based on the payment plan for the loan. It is calculated using a function in the query named qryGetSitesDDInvoices1. This is the function that is called (I did not write this function, I'm supporting this db long after the original writer has left):
Code:
Function DateNextPayment(PaymentSchedule As String, DateFirstPayment As Date, Balance As Currency)

On Error GoTo Handle_err

Dim Date1 As Date
Dim Date2 As Date
Dim Date3 As Date
Dim NextQtrDate As Date

'The code adds one month to datenextpayment at start of each month. Or yearly or weekly

... Read more

Answer:Solved: Date Parameter Failing in Query from calculated date field using DateValue Ac

16 more replies
Relevance 66.42%

Hello,

I have a large report of application forms which have been submitted including the date when they were submitted however the dates are formatted incorrectly.

1. Although the cell formatting is dd/mm/yyyy the data is being shown in mm/dd/yyyy which means the dates are incorrect (e.g. 2nd January would read as 1st February.)
2. As a result of this dates which are passed the 12th of a month are not accepted as dates (it reads the day figure as months and there is no 13th month etc)

I have tried to use the text to columns function but that makes no difference and I have tried to extract just the dates but I've had no luck.

Can anyone help, I've attached a small sample of the data.

Thanks

Daniel
 

Answer:Exported date field not recognized as date in Excel

Where does the data come from?
What do you get if you have no cell format?
 

3 more replies
Relevance 66.42%

I accidentally formatted the date cell & it only accept numbers

Answer:how to correct a date field when you enter a date a number a

I don't know what you mean by "it only accepts numbers".Why can't you just format it as a date again?Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

2 more replies
Relevance 65.19%

Help! This should be easy but I can't get it to work.

I have a report that must group by Trip# and sort by ascending activity date all of the various activities that took place on multiple days of the trip.
Further, the trip with the earliest date must come first regardless of the Trip#.
I've accomplished getting the earliest starting date trip first and grouping its detail with a unique string made up of the earliest date of each trip formatted to YYYYMMDD+Trip#. This prints a trip total and works fine.

But the daily activity for the trip is out of date sequence.
Adding a Date field to the 'Sorting and Grouping' insists on breaking on and printing a sub-total for each of the trips activity dates.
Without the sorting & grouping by date the trip records are out of sequence even though the data source query is sorted ascending by activity date.

(see attachments that show the above)

The only solution I can think of is to create a sub-report sorted by activity date.

Does anyone have any better ideas?

Jim Shannon
JES Computer Systems
Access Developer.
 

Answer:How sort by 2nd field (date) without grouping when date changes?

7 more replies
Relevance 59.04%
Question: Update date field

Thanks in advance for your help!

I used to know this and I did a search and couldn't find the answer.

How do you update a field to a date either 6 months away or 12 months away for the current date in that field?

Thanks again!
 

Answer:Update date field

6 more replies
Relevance 59.04%

Hi,I'm trying to create an if formula and I'm a bit stuck.Column L contains dates separated by commas. I'm trying to create a formula to say:if L2 contains (fixed date from a single cell) then "Exclude" else "No"There are two issues. How do I make the if statement contains not just equals? How do I copy the cells down and keep the field with date in fixed?For example I added the date I needed to 'Delivery sheets d1':=IF(Data!L2='Delivery sheets'!D1,"exclude","No") but when I try and fill down the D1 continues in a series e.g. d1, d2, d3 etcI hope this makes sense. Thanks in advance!

More replies
Relevance 59.04%

Is it possible with Access 2010 to have a date field that would change to current date whenever another particular field is modified. For example, we have comment field and we would like to have another date field that would change to the current date when the comment field has a change.
 

Answer:field modified date

Yes you can do it with simple VBA code, you could also add it to the comment itself, so it appears at the beginning of the comment.
 

1 more replies
Relevance 59.04%

I work with MS Access 2003.

I am creating a query to show all contracts set up in a certain year that have been cancelled in that specific year. This "Cancelled" field is not a yes/no field, but includes the date on which it has been cancelled (always starting 31/12/YYYY).

First, to show me the contracts set up in a certain year (say 2008) , i created a parameter under the "Contract Year" field, asking which year you want to see (in this case 2008).

I wish to add a criteria that then shows cancelled contracts at the end of that specific year, so 31/12/2008. So whether it is "2008" or another year is dependent on the value in the "Contract Year" field.

I tried the following as criteria for the Column "Cancelled":

#31/12/[Contract Year]#

to try and have it take the year mentioned in that field.
But it doesn't work. Access sees is as a second parameter, instead of a field name.
I tried adding LIKE to it and the &-sign, still no luck.

Is it possible to use a field name in a date criteria and if so, how could i do it?

Thank you very much in advance for your help.
 

More replies
Relevance 58.22%

Hi,

I am stuck with my personal project in Access 2007. Basically I am trying to construct a database for my DVD's based one movies titles and actors. I made three tables, actors, movie info, and a third table to resolve the many to many relationships. Then I made a form with the actor names and a subform for the movies titles that actor is involved in. The form's purpose is to add movies to an existing actor...easy enough.

My problem is when I try to add a movie, I get the message "Field cannot be updated". Very frustrating! I read some posts on this site regarding similar issues but it didn't help me in this case. It's probably something really obvious which I am missing. Any suggestions would be greatly appreciated.

Thanks,
Jay
 

Answer:Access Updating Field

The was a problem with the record source of your sub form.

See the attached
 

3 more replies
Relevance 58.22%

The recently modified date will not update when an account history item (note, task, phone call, etc) is added to the account in BCM. It is only changing when a contact is added or any of the contact information is changed for that account. Is it supposed to do this? It makes it hard to see what accounts have been "worked" on a particular day. Any suggestions?

 

More replies
Relevance 58.22%

Hi,

I am using Word 7 and I am having a problem with field codes. I have a document with a lot of tables and figures. The table numbers were running well until e.g. Table 1.6, but then suddenly the numbering system went back to 0.1 for the next table that I wanted to put into the document.
I have tried updating the field codes, with no success. Can you help with this please.

Thanks,
Ryanf1
 

More replies
Relevance 58.22%

Hi guys,

Something weird is happening. Some of my movie files (file type doesn't matter) became corrupted; when I play them in VLC they cause errors, they were just fine before and nothing has changed. I noticed in Explorer that these files have no Date Modified field, it's simply blank; I've never seen anything like that.

I did a chkdsk on the drive and see no errors. What could it be ?

Thanks.

Answer:Blank Date Modified Field ?

VLC should rebuild the Index, but that is a temporary fix. Depending on what format they are, there is "DIVFIX" and "Meteor MKV repair" you can try to run the faulty content through which of those is appropriate, you'll have to google it, cant remember the links.

3 more replies
Relevance 58.22%

Is there a way to insert a date merge field where the date is spelled out (June 10, 2008) and will not change if the document is reopened, resaved, modified, etc?   Thanks for any help!

Answer:MS Word merge field for date

I'm not quite sure I understand the question, but depending on the Word document...you can use the "Insert" link from Word's toolbar to insert the date into a document...formatted to your liking.Once the document is saved...the date will always appear as you have set it.

2 more replies
Relevance 58.22%

Can someone help please?

I'm setting up a query in Excel from an SQL database. How do I (or what do I) do to ensure only todays data is shown - I suppose I'm looking for an"=TODAY" type thing but don't know enough to be able to do it.

Thanks in anticipation.

Moll )
 

Answer:Excel query on Date field

it can depend on how the date system is set up but the following page has pretty much every SQL date function going

http://www.connx.com/products/connx/Connx%208.5%20UserGuide/sql_date.htm
 

1 more replies
Relevance 58.22%

Hello everyone,

I'm working on an order management database and I'm stuck on one item.

I have a form that users can fill in with purchase order data. One section of the form relates to contract review completion.

I would like to have a checkbox that the user can check when contract review is complete, but I'd also like for a completion date field to be auto-filled when the checkbox is checked.

I've tried a couple of things, both unsuccessful.

Any ideas?

Thanks.
 

Answer:MS Access - autofill date field

6 more replies
Relevance 58.22%

hi, i searched in vain for an answer to this question:
when i edit an image file and resave, the date modified date does not change. since i started using computers 100s of years ago, this was automatic. how can i enable this (obvious) field? what point is there in even having a date modified field if it stays the same as the date created field? thanks!

Answer:date modification field does not change

Are you sure you have the Date Modified selected as a column to display?

Right click on the header column (has Name, Date, Type, etc.) and select the Date Modified tag.

9 more replies
Relevance 58.22%

Hello, I need help with the following:
I have a field (called Date_Time) which displays for example 1/31/2005 12:00:00 AM. I would like to run a query that converts that value to '200501' in a created field.
I tried the following below but I keep having problems.

select Account_Number, Date_Time,
concat(year(Date_Time), month(Date_Time)) as Date_Time_Modified
from table
where Account_Number = xxxx

Any insight into this would be greatly appreciated. Thank you.


 

Answer:Concatenating Date and Time Field in SQL

Just wanted to add some more examples:

Account_Number: Integer Type
Date_Time: Date Type
Date_Time: Modified: Character Type

Account_Number Date_Time Date_Time_Modified
3246 1/31/2005 12:00:00 AM 200501
4920 11/30/2008 12:00:00 AM 200811
5932 6/30/2011 12:00:00 AM 201106
... ... ....
 

1 more replies
Relevance 57.4%

Hi

I need to update all NULL records in a DateofBirth field to 01/01/1950. However, the format needs to be e.g. 05/02/1974 00:00:00. How would I go about accomplishing this?

Many thanks

D
 

Answer:Trouble updating datetime field

You do know that a Date & time field like that makes Date Calculations harder in your queries, Forms and Reports?
The Update query does not Like the 00:00:00 part of your Date and neither does the Table, even with the Format set to General Date. However if you use 00:00:01 it will be OK, see the attached database.
I hope the 1 second won't make that much difference.
 

1 more replies
Relevance 57.4%

Hello,Have a Excel file with multiple sheets , each sheet is identified by the persons ID numberSee attached file.Here i need to copy data from FILE1 in each sheet to FILE2As you see in file1 that data for each person is scar tared , that is date are up and down ...that data need to be moved to file2 where already date from 21 oct to 20 nov is marked.THANKS

Answer:Moving rows with Date field from one worksheet to another

Quotei need to copy data from FILE1 in each sheet to FILE2I'm wondering about the wording of the quoted part of your post.  I suspect it would be better worded like this: i need to copy data from each sheet in FILE1 in to corresponding sheets in FILE2.   Is that correct?  Are FILE1 and FILE2 names of separate Excel files?

14 more replies
Relevance 57.4%

I am trying to add a sequential number to a date field in an Access form.
The format of the field is PS 18 Jan 11 xx, the PS is fixed, the current date and the xx is my sequential number I want to add.

Is there a way, to do this when the date is entered? And I would need the sequential number to reset to 01 with a new day.

I'm new to this, any help would be great!

Thanks!
 

Answer:Help in appending a sequential number to a date field

16 more replies
Relevance 57.4%

Have sent email to several friends, there is no attachment, just relatively straight forward item with some borders and a table in the email body copy. In one case the email was bounced back as 'delivery failed' with the message:This message has been rejected because it has an overlength date field which can be used to subvert Microsoft mail programs The following URL has further information click hereHave gone to hyperlink which says 'page removed'. Other emails I sent to this friend get through. My questions are:1. I assume this is a genuine block?2. Has anyone come across this and do you know what it means?3. Is there something I can do to get my message through? [I had put a lot of work into it]Many thanks Tiggertwo using Outlook Express and windows95

Answer:Email bounced 'overlength date field'

Sounds like some sort of anti spam program which is a little too zealous. Have you tried it again to the same user?

1 more replies
Relevance 57.4%

the answer to this might of been found with a search but hey i'm lazy today and wanted to see who the excel masters are

using excel 2007, cell a1 contains an array formula (CSE) like so - {=MAX(LEN(A2:A470000))}
cells a2 through a470000 contain dates such as
12/12/2011
etc, you get the idea, i need the formula or something else entirely to return 10 not 5

thanks in advance
 

Answer:Solved: excel length of date field

i'll answer if myself thanks to another web site, Mike these guys are slackin' 'round here it looks like

=MAX(LEN(TEXT(A2:A470000,"m/d/yyyy")))

exit celll with ctrl, shift, enter
 

1 more replies
Relevance 57.4%

Greetings

It's been a long time since I last posted here, but hopefully all you wonderful people will be able to help...

Here is my problem:

A customer of mine has a SQL database where one of the fields is a date/time field that looks like this:

13/02/2003 14:32:58
14/02/2003 08:59:10
15/02/2003 17:09:37

Now, I need to delete all the records for a particular day (One of their HD's failed, and they had to restore the data and lost a day, but the entries are still in the database, and can not be re-entered until the old entries are deleted).

How do I structure a query to delete all the records for a particular day? Preferably, I would like a SELECT statement first, just to check that the records found correspond to the delete criteria, and then the DELETE statement.

Thanks

Reuel Miller

The Ex-NT moderator on this board

Every morning is the dawn of a new error
 

Answer:SQL Query help required with date/time field

Greetings

Not to worry chaps, I figured out the answer all by my lonesome

the statements I used were:

select * from {database name} where {date field} > '14 February 2003' and {date field} < '15 February 2003'

delete from {database name} where {date field} > '14 February 2003' and {date field} < '15 February 2003'
cheers

Reuel Miller
 

1 more replies
Relevance 57.4%

I want to combine a text field and a date field into one field to use as a reference number. IE 'Mil - 05/11'.

I have got a field with the standard short date format 29/05/2011 (that I have to keep) and I have created a second field with the same date but formatted to a "mm/yy". When I concatenate the Operater Ref field "Mil" to the Date Ref field "05/11" I still get the full date format IE Mil - 29/05/2011.
 

Answer:MS Access Concatenate a date and text field

Jerry-

If you are creating the second field in your table, go to design view and change the Data Type to Text then try your concatenation. I built a mini-table and queried it and this worked for me... hope this works for you!
 

19 more replies
Relevance 57.4%

How do you insert a date field in Word 2007?

Answer:How do you insert a date field in Word 2007?

In Office 2010 at least, it should be under the "Home" or "Insert " tab. Then there should be a sub-category like "Date" or "Time".By the way. In the future, you'll get better office results here:http://www.computing.net/forum/offi...Ask and Answer. The way of learning.Dell Dimension 8300Intel Pentium 4 HT @ 3.20 GHz4 GB RAMNvidia Geforce FX5200

2 more replies
Relevance 57.4%

I have tried sending a message to a friend who, up until now has had no problem receiving. The message I am sending has no attachments. But this message has come back several times with the message:

This message has been rejected because it has
an overlength date field which can be used
to subvert Microsoft mail programs
The following URL has further information
http://www.securityfocus.com/frames/?content=/templates/article.html?id=61

but when I go to that hyperlink it is a page saying that the item 'might' have been removed.

Incidentally I have an uo to date virus checker running and have been able to send and receive emails to others since the first bounce of this email

Questions:
1. Is this a genuine response or some sort of problem at receivers end?
2. If genuine can someone explain what I might need to do, if anything can be done, at my end to get the message through. I have already tried maing the subject line smaller but that made no difference.
 

More replies
Relevance 57.4%

Hello,Have a Excel file with multiple sheets , each sheet is identified by the persons ID numberSee attached file.Here i need to copy data from FILE1 in each sheet to FILE2As you see in file1 that data for each person is scar tared , that is date are up and down ...that data need to be moved to file2 where already date from 21 oct to 20 nov is marked.THANKS

More replies
Relevance 56.99%

I'm fairly new to access and have created a database which amongst other things, keeps track of the current status of drawings.
I have a table called "Drawing Register" which contains the information on a list of drawings including drawing number, title, revision and status.

I then have another table called "Review"
In this table I can obtain the title of the drawing from the drawing register, then i manually enter comments on the particular drawing and also it's status (Status being either A, B or C)

I want the "Drawing Register" table to be updated with the status of the drawing (when it is entered into the "Review" table.

The reason for this is I want to print a report from "Drawing Register" showing the current status of each drawing.

Now is the bit I cannot work out.

If I review a drawing which for argument's sake is called "100", I enter the current status (eg Status A)
The "Drawing Register" table updates the "Review Field" to "A"
At a later date, I may want to review drawing "100" again (but create a new record as I don't want to overwrite the previous review record), so if I add a new record in the "Review" table and add new comments for drawing "100", and then I make the status "B", the "Drawing Register" updated the "Review Field" to "B" which is correct, but it also updated the prev... Read more

More replies
Relevance 56.99%

I've got an Access (2003) table containing records of manufacturing process to create a part. The purpose of the table is to create a report that serves as ordered instructions for making a certain part. The records must be sorted by the field "step" which is just a number field.

The problem I'm running into is whenever a new step is added or the order of the steps needs to change, the step numbering is thrown off and must be updated. For example, if someone decides that step 30 really ought to come after step 75, then step 31 becomes 30, 32 becomes 31 . . . and so on (with other variations depending on whether its just switching steps around or adding a new one). How can I update the step numbering when new records are added or existing records are rearranged?

I'm pretty sure Visual Basic will be needed, but if not that would be great . . . since I'm not very familiar with Visual Basic. Anything, even a point in the right direction would be greatly appreciated. Thanks!
 

Answer:Updating/Changing Sequential Field in Access

16 more replies
Relevance 56.99%

Hello,

In Access, I am trying to develop a process for generating a unique client number that follows a very specific formula: XXX - XXXX - X - XXXX. The first group should represent the quarter and year when the client is first introduced (non-standard year: Feb-Jan). The second group should be a unique, sequential ID number with leading zeros (missing numbers won't matter and leading zeros seems impossible, so I'm planning to use a DMax calculation on the form that generates a sequential number). The third number represents the client's initial program phase ID. The final number relates to the grant contract ID.

I have generated the number with the following in a Select query:

UniqueNumber: DatePart("q",DateAdd("m",-1,[MonthStart])) & Format([MonthStart],"yy") & "-" & [SeqNum] & "-" & [InitialPhaseID] & "-" & [ContractID]

The table already has a primary key, but since I am required to generate client numbers in this format, I want the UniqueNumber to be saved and searchable. This field never needs to change once the original record is saved. I've tried an Append query, but can't make it work. I assume it's related to the fact that I'm combining Date and Number fields, not to mention the DatePart function. I consistently get a key violation error. Any thoughts on how I can proceed?
 

More replies
Relevance 56.99%

I have a Date field in a Form. I want the Date to be appear in red when it is more than 6 months older than today's date. Where and how do I make that happen?
Thanks
 

Answer:Access 2010 Date Field in Form Macro or ()Iff ??

10 more replies
Relevance 56.99%

Hey everyone,

I'm having problems with Access, where I have a date/time field, which stores a month and a year (successfully), but still automatically assigns the first date of the month in question.

I used the following input mask (00/0000;;_) for the date field, and so far I haven't had any troubles with putting in a month and year. So far so good. But when I complete the date and move on, Access changes it to a full date. e.g. 06/2010 --> 01/06/2010.

Now, I'm actually fine with this part, my only problem is that I don't want it to do this in forms (both datasheet and normal view) or reports.

I heard something about using a Format (http://office.microsoft.com/en-us/access/HP010990151033.aspx) to adjust the display, but I can't seem to get that to work. Is there any other way to tell Access how to display the date field, like what can be done in Excel?

This is rather urgent as I have a project due tomorrow and this problem (as well as others) have now been reached and I'd like to solve them as soon as possible.

Any help is appreciated, and I look forward to your responses.
 

Answer:Solved: Urgent: How do you format the DISPLAY of a date field?

8 more replies
Relevance 56.99%

Hi all,

I am looking for help on VB script to send automated emails based on the date column in excel sheet..

Uploading the excel sheet as well. The email should trigger on dates in column F to corresponding email addressed in column E ..

The email body should say :
Hi,

Your employee "Column C" is approaching his probation period on "Col D". Kindly confirm if you want to confirm on the date of "Column D" or modify it.
 

Answer:Need help to send automated email based on the date field

Have a look at the attached I have written the code necessary however if you have any changes you would like made let me know.
 

1 more replies
Relevance 56.99%

The company I work for has asked me to work with the DB (as you may well guess in this economy I now have to learn how to work with Access DB. This DB was created by someone who had a book “Access 2000 for dummies” in 2002, I have since then converted the 2000 DB to 2007 accdb format. That being said, in a form that is used to track records-TS# is the primary key, they want a YES/NO or actual name- Completed *check box for yes and blank for no*. I created the check box as you may know that was easy enough. The problem comes in when I go to the next record the box remains in whatever state it was on the previous record and does not show up anywhere else. I am sure this is likely because there are steps that I am omitting or not aware of. Any help offered would be amazing as I continue to work on this train wreck.

-Mike
 

Answer:Solved: Access 2007 YES/NO field with time/date

Mike, the Check Box field has to be in the Table that the Form uses as it's Record Source. The Check box has to be "Bound" to that table's field, i.e. it's "Contorl Source" of the check box in design view must be the table field.
 

2 more replies
Relevance 56.99%

Hi guys, I'm very new to access and I'm having some issues. I have made a field for an expiry date, and I have attempted to create a calculated yes/no field that gets ticked when the expiry date is up, so basically I have a box that I want ticked for when the expiry date is before the current date (I hope that makes sense). Thanks guys,

George
 

More replies
Relevance 56.99%

I have a field that is date/time, formatted to display the long date (which starts with the day of the week). This has been extremely useful for some append, update and delete queries.

However, I would like to be able to do an update query based on the day of the week for each record. I know that the date/time field is stored as a number so I can't search for any string of letters. But, is there a way to take the long date format and copy what's there as a string so I can then extract the day of the week out of it? Otherwise, I guess I'm stuck with adding a separate field for day of the week, and manually inputting it. Seems like such a waste.
 

Answer:Solved: Access, Date/Time Field to String -- is it possible

7 more replies
Relevance 56.99%

from email address removed by Dreamboat

I have a database with a date field; 'Birthday'.

I want to take the month info from the date field and have access put it into another (adjacent) field. Ie;

Name:
Addr:
Birthday:
Month of B'day (New Field)

Also I want to be able to query the birthday field from previous data base tables which do not have the month field and make a table with the month information extrapolated to a new 'Month of B'day' field.

(Month([Birthday])) does not work.

I have printed a report with the 'Month of B'day" info extrapolated to the report but it is not useful because the report does not sort by the new information.

I know these must be possible but . . . . . AAAaaagh I'm going nuts.
 

Answer:Solved: Extrapolate Month from an Access date field

16 more replies
Relevance 56.99%

This one has got me. Has anyone figured out a way to do this easily? I can create a new column and extract the right characters and make it work ... but just wondering if there is a quicker way out there!

Thanks in advance for your time/help ...
 

Answer:Excel: Extract hour ONLY from a date/time field

Ok, got it to work ... but not sure if there is a better way.

I created a 2nd colummn and used the =RIGHT(D107,5) to isolate the time (10:32) from the date/time field (JAN 12,2014 10:32)

I then created another column and used =TIME(HOUR(C107),0,0) to pull out the hour ONLY in 10:00 AM format.

Is there a quicker way out there?
 

2 more replies
Relevance 56.99%

Hello

Access 2003
Windows XP

I am creating a new table and would like to format a field to short date. Here is my code. Is there a way to format to short date from here?

Thanks

Set fld = tbl.CreateField("Date", dbDate)
fld.Required = True
tbl.Fields.Append fld
 

Answer:Access 2003 - Format field to Short Date

try this:
fld.NumberFormat = "m/d/yyyy"
 

3 more replies
Relevance 56.99%

I have a linked Excel spreadsheet to show invoices received and I insert a date when they are paid. I cannot figure out the expression to use to show all records where no date has been inserted. Can anyone help please.Thankyou

More replies
Relevance 56.99%

I want to be able to place the date in reverse order in the subject line of new emails when I press a button on the toolbar. The format of the date should read '20061003' for the 3rd Oct 2006 - I know i should be able to use a macro or write VB scipt, bit i am not that clever - please help - many thanks

Answer:MS Outlook 2003 - Reverse Date in Subject Field

06.10.03 - subject.It's easier to read and there will not be a filing problem for the next 94 years or so.I'll leave the technical stuff to others

8 more replies
Relevance 56.99%

I have an excel sheet with dates displayed in European format dd/mm/yyyy :-)I import it into a letter ("you have been a member since") and it imports in American mm/dd/yyyy.I can't see how to properly format the merge field

Answer:Mail merge a date field screws the formatting!

It all has to do with how your Operating System Date is set up.If your in the US then the default is mm/dd/yyyyYou can change how Excel Displays the date to dd/mm/yyyy, but it Stores the date in the System Date format of mm/dd/yyyy.When you import the date to Word, the System Date format is used.See here for how to change the format:http://cybertext.wordpress.com/2009...alsohttp://www.ashbee.co.uk/index.php/f...MIKEhttp://www.skeptic.com/

4 more replies
Relevance 56.17%

I've searched the forum and can't find the help I need...perhaps I'm not using the right keywords.

Anyway, I want to automatically have a time stamp entered in a field named "CancelDate" if a yes/no field named "Cancel?" is checked. On the form I use an action button for that field.

I'm new with VBA, but after some research I entered this code in the AfterUpdate line in Properties:

Private Sub CancelDate_AfterUpdate()
If Me.txtCancel?.value = 1 Then Me.txtCancelDate = Now()
End If
End Sub

...and it doesn't work. It seems to hang up because of the question mark. I get a Compile Error: Expected:Then or GoTo.

Can anyone help me?
 

Answer:Solved: Access 2007 Record Date When Field Updated

10 more replies
Relevance 56.17%

While searching for some information in some old files, I noticed that every time I open a Word document, using Word 2007, the "date modified" shown in Windows Explorer automatically updates and changes the file properties to reflect the current date and time. I make no changes to the file and at no time am I asked to “Save” the document, which would justify the update of the “Date Modified” field.

This happens in both Vista and XP.

Is there any way I can change this setting? I only want the date modified to change when I actually make a modification to the document.
 

Answer:How to stop updates to Date Modified field in Windows Explorer

7 more replies
Relevance 56.17%

I am furious at not knowing why my date/clock in Windows 7 keep changins its appearance. It is as if the files or settings for Windows change mysteriously back and forth and I don't like it one bit.

The issue pertains to this clock/date shown at the bottom right corner on the screen just beside the system tray.

Sometimes it tells me the clock and no date or anything else is shown.
Some hours later it changes mysteriously to show the clock and the date format I once set, so that I get to see the day of the week, the date in numeral and the month in letters, and finally showing the year.

Something appear to be horribly wrong in Windows and I have no hope fixing it.

Only hope here is if this issue is familiar to other people.

Answer:Weird behavior by Windows 7, clock/date field changing

Do these changes happen when you hover your curser over the date? A few screenshots would be helpful!

9 more replies
Relevance 56.17%

Good day guys

My puzzler today (and has been for ages) is this:

In my Access report, I pull in "StartDate" and "EndDate" fields from the calling form and wish to display them as part of a report subtitle.

I therefore have a field called "DateDetails" in my report header whose ControlSource is:
Code:
="Records Selected between " & Forms!Reports!StartDate & " and " & Forms!Reports!EndDate
The dates actually derive from a table and the date format for both fields in that table is "General Date".

The result is that the report shows the following as an example:
Records Selected between 17/05/07 12:00:07 and 10/08/07 12:00:07

BUT what I want is the following:

Records Selected between 17/05/07 and 10/08/07

or even nicer

Records Selected between 17-May-2007 and 10-August-2007

Can this be done in such a control?

Chris
 

Answer:Solved: Access 2003 - Date Format in a Calculated Field

7 more replies
Relevance 56.17%

How do I stop update of date field in Word? I set the date to original date and try to save as PDF but it updates on save.

Answer:can't stop date field in Word from auto update in old docs

What did you do to get the Date, Insert --> Date and Time?Or did you use a DATE FIELD:If you are using: { DATE } Then it will always display TODAY'S date.If you are using: { CREATEDATE } Then it will display the date the document was created or saved using Save As.MIKEhttp://www.skeptic.com/

2 more replies
Relevance 56.17%

I want to add a validation rule to a date/time field in Access 2010. This worked in 2003 and I'd like to know why it won't work now.

The rule is

Is Null Or <= Date()

I have entered this through the expression builder as well as typing it to avoid typos.

The error message is:

Unknown function 'Date' in validation expression or default value on 'Artists.Date edited'.

I am doing this at work: we are running Windows 8, Server 2012, Access 2010 via virtual desktop.

Any help would be gratefully received!

Thank you
Alison
 

Answer:Solved: Access 2010 date field validation problem

Alison, welcome to the Forum.
I think you will find that this is an Access problem of Access 2010.
You may be able to overcome it by using Now() instead of Date().
If not I can provide you with some simple VBA code that will do the same thing that may work.
I have also seen advice to open a new 2010 blank database and import everything in to it to solve this problem.
 

2 more replies
Relevance 55.76%

I'm trying to updated SharPoint list which has a multi value field (Checkbox Choice field). I connect the Sharepoint with MS Access using connection string. 
 
        j = "insert into table([Multi value Column Name].value) values ('A') where ID = 1"
        
        cmd.ActiveConnection = conn
        cmd.CommandText = j
        cmd.Execute
 
What should be the format to update text value "A".. I've tried ;#A;#. It's not working. The SharePoint has values as A,B,C etc.
 

Answer:Updating Sharpoint choice field using MS Access and VBA Connection string

 
I'm trying to updated SharPoint list which has a multi value field (Checkbox Choice field). I connect the Sharepoint with MS Access using connection string. 
 
        j = "insert into table([Multi value Column Name].value) values ('A') where ID = 1"
        
        cmd.ActiveConnection = conn
        cmd.CommandText = j
        cmd.Execute
 
What should be the format to update text value "A".. I've tried ;#A;#. It's not working. The SharePoint has values as A,B,C etc.
 
 
Waiting for some response 

1 more replies
Relevance 55.76%

I have a Word 2010 document and I want to have specific text appear if a date is more than 42 days away from today (whatever today happens to be). I've got a three-cell table that looks like:


________________________________________________________

| DATE: | 12/25/13 | { =IF(B1-TODAY()>42,TRUE,FALSE) } |
________________________________________________________



I keep getting a Syntax Error on my field in the 3rd cell. I think the problem is that Word doesn't understand "TODAY()" like Excel does, but I don't know if there is any other way to calculate the days between two dates? My eternal gratitude to anyone who can figure out how to do this properly.

Answer:Date calculation using Word 2010 table/field Syntax Error

You will need to create a spreadsheet then "Link" that spreadsheet containing the calc cells.

Things to Remember When Linking
If you move the linked Excel file, you break the link. To fix this, you need to relink the file.
Double-click on the Excel data in your document to edit it: this opens the linked spreadsheet.
You can also edit the spreadsheet directly: the changes appear in your Word document once you save the Excel spreadsheet.
Regards,
GEWB

3 more replies
Relevance 55.76%

Hi, I was kindly helped my AJ on this site to end up with

=SUMPRODUCT(((A7:A18)>=A6)*((A7:A18)<=B6)*(B7:B18))

for the folowing:
2 colums, 'A' with the year (currently as plain number) 'B' with a simple number. There are roughtly 5/8 entries for each year, from 1989 to 2008. I need to sum 'b' for a range of years, (say 1990 to 1995), I can do it for one year value but not more.

but the further problem I have is:
I have a list of 160 rows with the year being the key data field and selecting various ranges say 1995 to 2006.

I need to capture the data in a way that I need to keep historic info for years gone (2006,2007) but then alter the sheet (remove a row if no longer relevant) for current and future years.

I was thinking of having a final column with a "year removed field" and the main formula above being dependant on that for inclusion, make sense?
Many thanks
 

Answer:Excel 2003 - Selecting data within a date range with a further logic field?

8 more replies
Relevance 55.76%

I would like for my Access 2007 database to automatically record the date/time when the data in a SPECIFIC field is modified (not when any data in the record changes).

Here is a simplified explanation of my scenario. This database keeps track of cases in my office. A data entry form named "Cases" feeds a table named "Cases." The form includes text boxes that correspond to the fields in the table. Three of these are: "Case_Notes," "Case_Status," and "Date_Status_Change."

I would like for the "Date_Status_Change" field to automatically reflect the current date/time whenever the data in the "Case_Status" field changes. I do not want the date/time to change when information in the "Case_Notes" field is modified.

What code would accomplish this?

The following code will enter the date/time for a change anywhere in the record:

Private Sub Form_BeforeUpdate(Cancel As Integer)
Me![Date_Status_Change].Value = Now()
End Sub

But I want to limit it so that it dates changes ONLY in the ?Case_Status? field.
 

More replies
Relevance 55.76%

Hello,

I have been struggling with this for a couple of days.

Here's the scenario: I have 2 sets of data, one shows repeat calls for a list of customers, the other shows trouble reports for the same set of customers. I want to count how many times each of these customers called within 30 days of the original trouble report.

I have tried using a nested count Iif expression but I don't have a lot of experience with expressions and apparently am using it incorrectly. What I have tried is something like this:

=Count(IIf([Contact Date/Time],+30,1))

Any suggestions or ideas are welcome at this point. Thank you in advance!

Thanks,

sdl19
 

Answer:Access 2013 - Count only if date falls within 30 days of field from different table

I would create a 'groupby' query using the DateAdd function for criteria. If this is a report you should be able to link this query to the report query by acct number or something.
SQL looks like this example
SELECT Table1.Name2, Count(Table1.ID) AS NameCount
FROM Table1
WHERE (((Table1.Date1)>DateAdd('d',-30,Date())))
GROUP BY Table1.Name2;
 

1 more replies
Relevance 55.76%

When items are loaned out we want them returned in 30 working days (approximately 6 weeks I'm not going to bother trying to calculate holidays) but to only come back on a week day Monday through Friday.

Field Name ReturnDate_Fld this needs to be calculated as 30 working days from the current date

or should I not worry about the extra effort and use the approximate by adding 42 to the BorrowDate_Fld (plus 42 days = 6 weeks)

Should I worry about this in a form or only set it as field in the report/query?
 

Answer:Solved: Access 2010 Set a date field to today plus 30 working days

16 more replies
Relevance 55.35%

we use outlook to view messages in the military. these messages are most likely refrenced by their date time group. in the message ( body of the email ) it will state the DTG.. example DTG: 291323Z Apr 10

i would like to make a field in my view so i can have the messages displaed by DTG. is this possible? if so how?

thanks
 

More replies
Relevance 55.35%

Hello,
Firstly, let me apologise, I'm a complete Access noob & am trying to teach myself as I've got no one to help me in person.

Ok,
I'm trying to build a Time Sheet database that should record daily duties via an entry form:
"frm_Work_Hours"

This form updates an underlying table:
"Work_Hours"

The date field of the "Work_Hours" table is:
"Date_Worked"

However, workers get paid fortnightly and all their entitlements, allowances & overtime are calculated on these fortnightly periods. To be more specific, the workers are paid for a certain amount of overtime for each fortnight upfront & when they exceed that, then they are entitled to all excess time back in TIME OFF. So it's pretty important that each day's duties are assigned to the correct fortnight period so that their overtime & so-forth are calculated correctly.

Each fortnightly period is numbered according to year. For example, each year there are 26 fortnightly periods, so as an example today (3rd October 2013) falls in period 2013-19 (23rd September 2013 to 6th October 2013).

I've created a table called:
"tbl_Pay_Period"

Which has the following Fields:
"ID" (Auto-number)
"Period_Start" (date - the first day of each new fortnight period)
"Period_Number" (number - eg: 2013-19)

Back in the "Work_Hours" table, I inserted a new (Number) FIELD called:
"Pay_Period"

and set ... Read more

Answer:Solved: MS Access - How to get a field auto-update based on date entered in a form

9 more replies
Relevance 54.53%

I seem to have hit an Edge browser specific issue with number input fields and knockout textInput binding.
I have the latest edge version, namely: Microsoft Edge 38.14393.0.0; Microsoft EdgeHTML 14.14393
Until the anniversary update, the number input fields did not do anything with up/down arrows on Edge like they do on Chrome/Firefox. However, the latest version seems to have made some changes such that the visible value differs from what knockout has in the bound variable; when up/down arrows are used. Typed values reflect correctly.
Here is the jsfiddle; try to change the value using up/down arrows:
https://jsfiddle.net/nkkfmLmc/13/
Html:
Amount:
<input type="number" min="0" max="100" step="1" data-bind="textInput: amount" />
<br />
Current Amount $<span data-bind="text:amount()"></span>
JS:
function PersonViewModel(amount) {
this.amount = ko.observable(amount);
}
ko.applyBindings(new PersonViewModel(51.22));
The value updates correctly if the number is typed-in instead.
Any confirmation of the Edge issue or workaround(short of not using the number input type altogether) would be appreciated .

More replies
Relevance 52.07%

Here is the code i have (thanks computing.net!)'Save Active sheet name actName = ActiveSheet.Name'Copy Active sheet to end of workbook Sheets(actName).Copy After:=Sheets(Sheets.Count)'Get name for sheet from user archiveName = Application.InputBox _ ("Please enter week submitting")'Rename last sheet Sheets(Sheets.Count).Name = archiveName'Protect sheet Sheets(Sheets.Count).Protect Password:="Secret"'Clear range in original sheet With Sheets(actName) .Activate .Range("c6:f6,c10:f10,c14:f14,c18:f18,c22:f22,a7:i9,A11:i13,a15:i17,a19:i21,a23:i25").ClearContents End WithEnd SubNow i want to be able to place a command in the code to update the date only when the macro is submitted. i tried using a column in excel with the date, and having a formula automatically update it: =vlookup(today(),range), but the probelm with that is that if the sheet is not submitted yet the dates update anyway. so then when the sheet is submitted it has the wrong dates. i have a row for monday, date; row for tuesday, date; etc. every week once the macro is run and clears out the active sheet, i want the new weeks dates updated. any suggestions? i have looked through posts but nothing really relevant to mine, or i just dont understand it well.

Answer:Updating date only when macro run

A posting tip:Before posting any more code or data in this forum, please click on the blue line at the end of this post and read the instructions on how to post code in this forum. Thanks.This code will insert a "hard coded" copy of the system date in Sheet(1)!A1 each time the maco is run. Since it is hard coded, it will not be volatile like the TODAY() function is.Sheets(1).Range("A1") = DateClick Here Before Posting Data or VBA Code ---> How To Post Data or Code.

2 more replies
Relevance 51.66%

If MS is ending their security updates for W7 in 2020, then how often is MS currently releasing security updates?

Answer:2020 end-date - So how often is MS currently updating security for W7?

Every month - unless they feel the need to release out of band.

1 more replies
Relevance 51.66%

When I checked my updates in View updates, there are no updates listed but in settings it says my system is up to date,
This is on a 10049 updated from 10041, apart from this it works reasonably well.

Answer:Windows updates are not updating but says it's up to date

You are looking in (mostly) the wrong place - you need to look within the settings app - in your top picture click on Advanced options then View your update history . They are drifting slowly there (although I seem to still have a couple in the old place).

2 more replies
Relevance 51.66%

I have a workbook that monitors year to date sales.I have to submit a monthly report to our head office, I have created a seperate workbook for this purpose, and have created formulas linking to the original year to date workbook.My question is, can I set the cells to stop updating? i.e. year to date sales links into my September page, can I set the September workbook to freeze the figure on 30th September rather than keep updating with my year to date workbook?Thanks in advance for any suggestions!

Answer:Can you stop formulas updating on a date?

You could add a macro in the ThisWorkbook module to keep checking the system date. Once the date reaches the date specified in the macro (or a date stored in a cell) it could replace the "link formulas" with the current values.You could even add code that deletes itself once it replaces the formulas so that you wouldn't be sending workbooks with code in them to other users.

2 more replies
Relevance 51.66%

If MS is ending their security updates for W7 in 2020, then how often is MS currently releasing security updates?

Answer:2020 end-date - So how often is MS currently updating security for W7?

Every month - unless they feel the need to release out of band.

1 more replies
Relevance 51.66%

Hi there
Last December I restored my C: partition using an image I had burnt in June 2015; I had done this procedure some times before with no problem at all; this time, after restoring, I shrank the C: partition from 289GB to 205GB, what still leaves 153GB of free space. The problem I have since is that Windows Update says the computer is up-to-date, when in fact the last downloaded updates are from June 2015.
I tried a Fixit from Microsoft, also the Fix WU from The Windows Club and a lot of other suggestions without any result. Can the partition size change be the cause of this? What can I do?

Answer:PC not updating. Windows Update says it is up-to-date

You seem to have already tried Fix WU and Windows Update Troubleshooter.
Run the built-in Disk Cleanup Tool to clear up disk space. Delete the contents of the Software Distribution folder and try to install the updates.
Else see if something here Windows Update fail to install helps you.

1 more replies
Relevance 51.66%

Date & time are not being automatically updated through Time.Windows.com

Answer:date & time are not automatic updating

Hi, How old is your computer ? You must be online and using the right time zone to be able to sync date and time. Regards,

1 more replies
Relevance 51.66%

I have a program that writes some output to a file with the default name of "output.txt"
The output file is opened using the following line of code:
hFile = CreateFile( szOutputFile,
GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
NULL,
CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL,
NULL );

Under 64 bit Windows 7 Pro (completely up-to-date according to Windows Update) the Windows Explorer in DETAILS view shows the same date/time for the file before and after my program runs.  It appears to be the date the file was originally created about
a year ago.  The Date column in Explorer seems to be showing the
Create date instead of the more expected Last Modified date and enabling those columns appears to confirm that fact.  (Last Modified is correctly changed when my program writes the file.)
I'm curious, though, in the past the CREATE_ALWAYS flag also changed the creation date for a file, because the old file was totally lost and overwritten.  When the Explorer and the create date bugs are combined, it can make it VERY
difficult to find the "new" file in a folder!

More replies
Relevance 51.66%

When I open a word document that I have on file it automatically updates to the current date. The only auto update box I can find (and it is not ticked) is on insert date and time. Any ideas please

Answer:WORD 2007 date keeps on updating

but in Word 2000 you can insert a "Create date", via a field, which then doesn't update. It sounds as though you may have a field that is just "Date".Note that what I'm suggesting refers to a "Field".Apologies if this doesn't help!Regards,Simsy

3 more replies
Relevance 51.25%

If I am in the wrong forum, please let me know.

About a month after I started using it, the Say the Time clock program I bought stopped launching the management menu when I right click the date/time field in the task tray (notification area).

Therefore, I can't use or edit the program.

Neither the touchpad nor the cordless mouse works.

Other than this problem, my computer works great. Every single item that's meant to be right clicked works for me.

Is there a way I can generate a log to show the software manufacturer (Provenio) that it's their problem and not mine?

I am a novice user but I can follow instructions.

However, I don't want to put my computer at risk if I make an entry error.

Or is it obvious that it's a software problem?

I've been using computers for 18 years and I've never had this problem until I bought this software and used it for about a month.

I just wanted a conclusive way of putting the ball back in the manufacturer's court.

Thanks for any suggestions.

Regards.

Answer:Say the Time Date/Time Field in Task Tray Doesn't Launch Menu

You can use VEW by Vino Rosso http://images.malwareremoval.com/vino/VEW.exe
and save it to your desktop

Double click it to start it Note: If running Windows Vista or Windows 7 you will need to right click the file and select Run as administrator and click Continue or Allow at the User Account Control Prompt.

Click the check boxes next to Application and System located under Select log to query on the upper left

Under Select type to list on the right click the boxes next to Error and Warning Note: If running Windows Vista or Windows 7 also click the box next to Critical (not XP).

Under Number or date of events select Number of events and type 20 in the box next to 1 to 20 and click Run
Once it finishes it will display a log file in notepad

Please copy and paste its entire contents into your next reply

5 more replies
Relevance 50.84%

I have a folder, that within that folder, items are listed by date modified. Great, that's exactly what I want. But, I have one folder within that folder that I'd like to always be at the TOP of the view. The folders go back to 2013. Is there a way to manually change that one specific folder's modify date to xx-xx-2012 so it will always remain at the top?

I've already run the reg fix to turn off auto-arrange, so, I can manually drag it to the top of the folder, but, randomly every once in a while, it returns to it's "proper" place by date.

Thanks all!

R

Answer:manually manipulate "date modified" field?

This tool...
Home | Attribute Changer
...should do what you want.

2 more replies
Relevance 50.84%

Looking at the Last Modified Date in Windows File Explorer, the Year field shows the year 2036 on some files but not all. The Creation Date matches the Last Modified Date. This happens to folders and individual files.

I first noticed this when I did a fresh install of Windows 10 Anniversary Update. Does anybody have an idea what is causing this. Any help would be appreciated.

Attached: a snipped image of Windows File Explorer showing the problem

Answer:Date Last Modified year field is set to the year 2036 on some files

Hello wguimb,

Looks like you're from the future. LOL

Double check to see if your system date may be set incorrectly somehow.

https://www.tenforums.com/tutorials/6...dows-10-a.html

9 more replies
Relevance 50.84%

I have this macro that I run for my report and it goes and opens other excel files and pulls information from them. The excel files have the same names except everyday i have to change the macro to get the same file name with a variance in the date as shown below.

Code:
Sub Update_Dashboard()
Sheets("Lampe").Visible = True
Sheets("Kay").Visible = True
Sheets("Magoulas").Visible = True
Range("C5").Select
Application.Run "'2007-05 June- EXPO Task Trends Dashboard [COLOR="Red"]0612[/COLOR].xls'!Erase_Data"
Application.Run "'2007-05 June- EXPO Task Trends Dashboard [COLOR="red"]0612[/COLOR].xls'!Magoulas"
Application.CutCopyMode = False
Application.Run "'2007-05 June- EXPO Task Trends Dashboard [COLOR="red"]0612[/COLOR].xls'!Kay"
Application.CutCopyMode = False
Application.Run "'2007-05 June- EXPO Task Trends Dashboard[COLOR="red"] 0612[/COLOR].xls'!Lampe"
Range("C45").Select
Application.CutCopyMode = False
Application.Run _
"'2007-05 June- EXPO Task Trends Dashboard [COLOR="red"]0612[/COLOR].xls'!Atlanta_CSC"
Range("C46").Select
Application.CutCopyMode = False
Application.Run "'2007-05 June- EXPO Task Trends Dashboard [COLOR="red"]0612[/COLOR].xls'!OC_CSC"
Range("A2").Select
Sheets("Lamp... Read more

Answer:Solved: Auto updating Date in Macro

Try something like
Code:
Application.Run "'2007-05 June- EXPO Task Trends Dashboard " & Format(Now, "MM") & Format(Now, "DD") & ".xls'!Erase_Data"
Regards,
Rollin
 

2 more replies
Relevance 50.84%

We have a number of users running a corporate XP build (sp3) on T420's. A handful are finding that the RTC is holding on to the time & date they suspended their laptop rather than updating correctly. This means they can't do a domain logon as the t&d is skewed relative to the dc's.If the laptop is powered off the t&d updates normally. Has anyone seen (& hopefully fixed) similar?? Regards, Paul.

Answer:T420 not updating time & date when suspended

My guess is that this is an xp networking problem and not a hardware issue. You can check the RTC if you suspend the laptop, wait a few minutes and then press and hold the power button to shut it down. This will lose any applications open and you will get an error when you restart, so it is not recommended for normal operation. If you boot into the BIOS, my guess is that the RTC will be correct. When you come out of suspend, XP should supply the credentials to reestablish the session with the DC, and supply the time in the packet. The time should be refreshed from the hardware at that point, and I would guess that it isn't.

2 more replies
Relevance 50.84%

Hi

I use the Word short-cut icon 'Insert Date' when I create a new letter. I DO NOT TICK the update automatically box within the shortcut.

The problem is ...if I want to pull up this letter in say 6 months time and re-print it - the letter opens with the current date rather than the original date of writing. Therefore - I have no real proof that this letter was written 6 months ago unless I kept a hard-copy!

I particularly find this annoying when dealing with contract letters. So lately I have been using the basic version of a date by manually typing in 23/11/2008 rather than the fancy Sunday, 23rd November 2008 as the former stays constant.

Any cures for me?????

Regards
 

Answer:Stop Date updating itself in old Word Docs.

8 more replies
Relevance 50.84%

I am an absolute begineer in MS Access. Will try to put my question as simply n clearly as possible.

I have designed a database to keep history of our company's projects. The 'Master Project History Table' contains fields including 'Project Ref', 'Project Title', 'Project Budget' and 'Project Year'. The users are expected to populate the table through 'Master Project HistoryForm'.

The key field is set as 'Project Ref'.

Some of the projects are combined with each other and to display this info, 'Master Project History Form' also has the fields 'Project Ref-1', 'Project Title-1', 'Project Budget-1' and 'Project Year-1'.

I am loking for a code for the ('On Update' event) that will fetch and display data in 'Project Title-1', 'Project Budget-1' and 'Project Year-1' fields when 'Project Ref-1' is updated. Please note that all this info is coming from the same 'Master Project History Table'.

My IT guys told me to use a code with variable for each field that goes something like this (to update Project Title-1 field):

Dim varX As Variant

varX = DLookup("[Project Title]" , "Master Project History Table" , "[Project Ref]=" & Forms![Master Project History Form]![Project Ref-1])

Me![Project Title-1] = varX

And then repeat for each other field by defining new vari... Read more

Answer:MS Access: Updating Data In One Field Should Update Data In All Relevant Fields

14 more replies
Relevance 50.43%

I really need help!!! lol... I'm trying to have the document update from a master sheet which I managed to do via a VLOOKUP, but when the reference date on the document is updated, and I want it only to reflect the past 5-days, rather than the whole amount of information. So at all times it will show the last 5 work days and shift the cells automatically accordingly.

So basically the dates will constantly switch back. So that way tomorrow when I have the results of Sept. 29th, Sept. 22 will no longer be depicted, and the 23rd will take it's place; the 24th will take the 23rd's place, and so on. So it would look something like this...

**5 columns each date with it's own column
****After each day, there will only be 5 columns reflecting the last 5-workdays!

Sept. 22 Sept. 23 Sept. 24 Sept. 25 Sept. 26
 

More replies
Relevance 50.43%

I'm experimenting with dynamic ranges in Excel. I have a workbook with multiple sheets, and there's a repeated column in several of them which always have the same dates. Is there a way that I can update just one of the sheets, and use dynamic ranges in the other sheets so they auto-update? I can't quite figure out how to do it.
 

Answer:Solved: Auto-updating multiple cells with same date

8 more replies
Relevance 50.43%

Hi Guys
I am new to this forum and not very technical minded so please bear with me.

I have a monitoring spreadsheet through which i monitor c40 word docs. The biggest issue i face is that these words docs have a box with an expiry date on it. I normally have to open each word doc every week and update the date to current date. Then i go back in spreadsheet and manually update a column which has conditional formatting and goes red to alert me. For my purpose i will have the same date in all word files

WHat i want to achieve is to have a button in my excel file which when pressed updates the date in all word docs to current date. Word files will be closed during the update

I hope i am making sense

Thanking yo uin advance

Regards
 

More replies
Relevance 50.43%

On one machine, Windows 10 keeps updating the Date modified of all my files. Even after updating to Anniversary edition

More replies
Relevance 50.43%

Greetings all,

I am making a looping powerpoint to be displayed on monitors. What I cant seem to do is have a counter update daily. My goal is to have a slide which shows how many days have passed since an important event, and not have to update it everyday.

The closest I have come is to imbed an excel sheet that has "=TODAY()-A2", with "A2" containing the comparison date. But with this, I have to open the imbeded sheet, then click back out to have it update itself.

Any knowledge on how I can have Powerpoint do this for me while it's in presentation mode?

Thanks in advance folks!

P.S. it will be running on a PC not saved to a disc.
 

Answer:PowePoint 2003; Automatically updating date on looping PPT

Anyone have any ideas, or already know it's not possible?
 

1 more replies
Relevance 50.43%

After I restarted this morning folders no longer update their date modified after adding or deleting files inside them. Sometimes it will update after I access the folder in explorer but not always.

Answer:Folder date modified isn't updating properly after restart

I tried turning off ntfsdisablelastaccessupdate but it didn't help.

1 more replies
Relevance 50.02%

Hi there,
I am not that cluey with access vba programming and I need some help please.
I have a Table called (Parts) with columns (PartName), (PartNumber), (PartCost), (Quantity)...
I have (Parts) table linked to (Repairs) table in one to many relationship.
I have a Form linked to the table (Repairs) with different fields to enter different repair details.
Among these fields is: combo box (PartsNameCombo) where you can select the Part Name from values listed in (PartName) column in table (Parts), and I have used the following codes to populate the selected part's cost accordingly:

Private Sub PartNameCombo_Change()
'Auto populate Part cost based on Part Name
Me.PartCost.Value = Me.PartNameCombo.Column(2)
End Sub

I have repeated the above combo box three times (in case different parts used in one repair).

My Question: I would like to add code to automatically subtract (1) from part's Quantity in (Parts) table whenever a particular (PartName) is selected in the combo box.
so for example, if in a repair, I selected: (front case) in the first combo box and (display screen) in second combo box, I want the cases quantity to drop by one and also screens quantity to drop by 1?
Any one can please help?
 

Answer:Updating table value when different table form field updated

16 more replies
Relevance 50.02%

Hi there,
I am not that cluey with access vba programming and I need some help please.
I have a Table called (Parts) with columns (PartName), (PartNumber), (PartCost), (Quantity)...
I have (Parts) table linked to (Repairs) table in one to many relationship.
I have a Form linked to the table (Repairs) with different fields to enter different repair details.
Among these fields is: combo box (PartsNameCombo) where you can select the Part Name from values listed in (PartName) column in table (Parts), and I have used the following codes to populate the selected part's cost accordingly:

Private Sub PartNameCombo_Change()
'Auto populate Part cost based on Part Name
Me.PartCost.Value = Me.PartNameCombo.Column(2)
End Sub

I have repeated the above combo box three times (in case different parts used in one repair).

My Question: I would like to add code to automatically subtract (1) from part's Quantity in (Parts) table whenever a particular (PartName) is selected in the combo box.
so for example, if in a repair, I selected: (front case) in the first combo box and (display screen) in second combo box, I want the cases quantity to drop by one and also screens quantity to drop by 1?
Any one can please help?
 

Answer:Updating table value when different table form field updated

At least two ways to do this but I wouldn't make it automatic. What if the wrong Part name was inadvertently selected? I would ad a button to the form "Take one from Inventory" and execute an update query that basically does Quantity= Quantity-1 . This query would need to link to PartNumber on the active form.

The other way would be to write the SQL to do the update in VBA and run the EXEC SQL command under the new button.
 

2 more replies
Relevance 47.56%

I have a table titled time_slips used to track the amount of time an attorney spends with a member. In the time_slips table there is a field titled reference_id which is a combo box pulling it's displayed information from another table titled references. Also in the time_slips table is a field named details which is native to this table.

My question is, can I have the details field auto-populate "no charge" when a certain reference id is selected (i.e. 300)?

Thanks for any help you can provide.
 

Answer:Solved: Access Auto-Populate a Field using a field from another table

15 more replies
Relevance 47.15%

I'm doing a quick-and-(very)dirty design as a proof of concept. During this process I fat-fingered the word Description, as Ddescription. No problem, I know what it means, right. But it annoyed me, so I changed the underlying table (where the error occurred), deleted the control from the form, and added the (now correctly spelled) control.

However, every time I try and ruin the form it wants a value for the now non-existent field Ddescription. I simpy click-through, and the form runs fine. When I look at the available fields in the form's View query's Field List, it still shows Ddescription, and i seems to think it's coming from the underlying table.

Any ideas on how I can remove this phantom field? I can't find anything called "The_View_for_form_FooBar" anywhere, but I know it must exist somewhere...

Tony
 

More replies
Relevance 47.15%

I attached my database what i would like to do is create a form when an end user will enter a corresponding user ID from that I wish to populate textbox fields with Agent Name, Supervisor, Location, Dept *all seperate text boxes of course* I have attached the database if someone could help me do this it would be great. Let me know if you need any further details to help get me through this.
 

Answer:update field A in form based on entry in field b

Welcome to the forum, before answering you question can I suggest some improvements to your database.
Currently you do not have any "Key", "Indexed" fields in your tables and there are no relationships set up between the tables.
Also do you really need the Archive Table?
The data looks like it has been exported in from a spreadsheet, relational databases work quite differently to spreadsheets, so to make the most of their advantages you need to correctly relate your Tables.
Your UserID Roster also has some disconnect between the Field Names and the actual data in them, particularly the Name and Type feilds.
In the Supervisor Table the Birthdate does not seem to have Translated correctly.
 

2 more replies
Relevance 47.15%

I have an access 2007 database that has fields for several addresses. I would like to have access skip subsequent address fields if the previous field is blank. I have done this before but for the life of me cannot remember how it was done. Thanks.
 

More replies
Relevance 47.15%

I support a software program that has a proprietary menu item when you right-click a calculated field. It has been this way for 10-15years and has worked in WinXP through Win10 with never an issue. This past week I had 3 different customers tell me that when they right-click one of these fields to access what is normally the Cut/Copy/Paste/ menu that also includes our menu item, they are now getting the Windows default cut/copy/paste/Right to Left Reading order/Show Unicode control characters/ etc menu. The only thing I can think of that they all have in common besides these are all Window 10 64bit pc's, is that they all have one update to Adobe Acrobat (17.012.20098).
I was able to resolve for a moment on two of these workstations by having the user go into Language/Advanced settings and actually selected "English (Unites States) from the "Override for Windows display language" even though that settings is implied by the "recommended". But after the pc was turned off over night and back to it the next day, the problem is back and that setting is still selected. All language and regional settings on all the pc's are defaulted to English/Unites States. I do not know what other avenue to go in. Could something hae been switched on or off in Windows (by this Adobe update perhaps?) that would make the context text menu switch to Windows text default right-click menu?

Any help is appreciated!
 

More replies