Computer Support Forum

Help in appending a sequential number to a date field

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

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!


Relevance 100%
Preferred Solution: Help in appending a sequential number to a 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 (This link will automatically start a download of Reimage that you can save to your computer.)

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

16 more replies
Relevance 97.58%


I have a Word for Mac 2011 doc that will be a template for an invoice. As pictured, I have a field that I would like to serve as the Sales Order field. I'd like the first number to be 000001. What I'd like to have happen is that each time the template is opened, the value in the Sales order field increments by 1, so the next opening would be 000002, then 000003, etc.

I know I need either some VBA code or a Macro, but I'm really unclear how to do this. Also, how do I get the code to apply specifically to the cell where the sales order number is? Unlike Excel, there's no position value to the cell, like A1. Is there a way to apply VBA code or a Macro by selecting the cell somehow?

All help appreciated!


More replies
Relevance 88.97%

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 82.82%


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 75.44%

I am currently using Microsoft Access 2002. I wanted to know if there was a way for me to append an entire column from a table into a single memo field.

I am trying to make a distribution list memo field in an access table. I wanted to grab an "email address" column to upload into this memo field. I could reference the memo field later on when I send emails from Access.

Is there any way to do this?

Answer:Microsoft Access - Appending Table To Memo Field

First, you don't really give enough info: is this a one time append or is this for continuing functionality in a form?

If it is the latter, what you would probably need to to is create a list box that populates all the email addresses in your database. Then, based on which items in the box you chose, you could loop through, using vba, and create a string value. Once you have the string with the email addresses, you would commit that to your memo field.

Hope this helps,


2 more replies
Relevance 72.57%

I am trying to create a database, to keep track for stores orders for the ship i am on.
I want to auto generate the stores order number (Order Number) in the format
The 0730 is fixed as is the TAK. The yy is 2 digit year and the $$$ is the sequential number.
The yy field i want to take the year from the "Order Date" field in the same form.

IS this possible?
I have Access 2007 but the final database may have to run on 2003.
The database is still in early stages so is still small can be forwarded if it helps

Many Thanks

Answer:Sequential numbering in access based on another field

11 more replies
Relevance 72.57%

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 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,

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 68.47%

I am working on creating a repair oder for auto repair. What I am trying to do is have Excel generate a repair order number for each repair order created. Each repair order will have different customers, so different repair order numbers will be crucial. Also, multiple computers will use this template. I have no idea how to do this. I have attached the document with the repair order cell highlighted in yellow. Can anyone here help me figure this out.
Excel 2010

Answer:Sequential number in Excel

6 more replies
Relevance 68.06%

I have used 'morefunc' addin to excel to use the following...


this shows the last row entry how do i find out the contents of the previous to last row?

Answer:Work out next sequential date

Use the Offset function from a known starting point.Assume the last row# was 25. You want contents of A24.'=offset(A25,-1,0) goes up one row and stays on the same column.You just need to fit in your LastRow function into the offset() syntax.Edit: I just realized you may need how to make an address from row and column numbers.'=offset(address(lastrow(…),1),-1,0)where in (...) just put what you now have, and 1 means columnA.

1 more replies
Relevance 67.65%

Hello...I'm an office coordinator that does a lot of "purchasing" for office supplies. I have created a purchase order form that I fill out using a VLOOKUP for products that I order from a specific vendor.

What I'd like to do is: create a new purchase order, have it generate a unique sequential number, ie, ONT200301, ONT200302, etc., complete the form, and print it.

Since I'm fairly new to excel, I need simple instructions on how the sequential purchase number can be created. I've seen some solutions, but they're so "techie" I'm lost!

Thanks for your help!


Answer:Excel generate sequential number

16 more replies
Relevance 67.65%

I am trying to create a Purchase Order form that will assign and track a unique number. I want to save this form with its unique number as a seperate file. I have looked at a number of options in excel using the RAND operand. I have also just started to look at the solution provided by I don't use excel much, so any step by step pointers you could give would be appreciated. I would be developing in Office 2003 and Users are Using Office XP. The OS'es involved are 98 and XPPro.



Answer:Creating Sequential Number for P.O. in Excel

Here's some code from Frank Kabel:

sub save_me_seq()
dim fname
with activeworkbook.worksheets("sheet1").range("A1")
.value = .value+1
fname = format(.value,"00000") & ".xls"
end with
activeworkbook.saveas fname
end sub

This goes in a standard code module. Press ALT+F11 to open the Visual Basic Editor, select Module from the Insert menu. Paste it in, then press ALT+Q to exit the VBE.

The issue with this requirement is always "when should it run?" ; "at print" may be an option, in which case you would need it to modify the code to print, renumber, save (including reset the form before save, possibly).

Maybe you could attach a sample? (change the extension to txt to attach).


1 more replies
Relevance 67.65%

Hey guys , I don't do much programming, but need to create a huge list of numbers in a certain format. And not sure where to start or know the proper commands.

I need to create a list of sequential numbers and need it formatted a certain way

Then put all numbers into a plain text file.

If any one can help, I would greatly appreciate it.


Answer:Number Sequential List Generator

15 more replies
Relevance 67.65%

hi guys,
in this post:
the batch and vbs work fine to me, thanks to theoutcaste and keebellah.
my question is how can i add hex number on it.
here is a view:
i have number start: 58969000
end: 58999999
and i want to also generate hex number on it.

please forgeft my poor english...

Answer:Number Sequential List Generator ( again )

6 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):
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 67.24%

Hi! Does anyone know what is the format of the date in the field "(battery) Manufacture Date" informed by Lenovo Vantage (Hardware Configuration > Energy)? It seems not to follow Windows setting. In my case, it is set to Brazilian Portuguese DD/MM/YYYY, but there is not a leading "0" in the returned value (see attached image). Does it really disregard the Windows setting and presents it in a fixed format (maybe American English)? When was my battery manufactured (Oct. 07 or July 10)?Thanks in advance.  

More replies
Relevance 67.24%

I would like to assign a sequential number in Column A if a cell in Column B contains text.

I used the following formula but it did not work:


In essence, I want the following:
Row Column A Column B
1 1 True
6 2 True
8 3 True

Can anyone help?


Answer:Solved: Sequential Number if Cell Contains Text

there maybe a better way to do this

Assume the data starts in A2 and B2

in A2 put
and copy down

see attached

3 more replies
Relevance 67.24%

Hello guys! firstly im not good in english but i try to explain it in simple way. i just found someone thread in here for sequential number generator in vbs script

that generator is just raw number from 0 to something like 999999999. but in my limited knowledge of computer code i didnt found how to modified that sequential to calendar format.
something like 500101 (01jan1950) to.. lets say 901231(31dec1990) and at the end of that format is normal number. so here is the example:




all that list will save in plain text file.

im very very appreciated for all help and info. thanks guys!

More replies
Relevance 66.42%

Hey guys, I don't do much programming, but need to create a huge list of numbers in a certain format. And not sure where to start or know the proper commands.

I need to create a list of sequential numbers in hexidecimal (0-F) and need it formatted a certain way


The number is 32 to the x16 and I do need the hyphens in the numbers and a "," in front of every number and a "." at the end of every number.

Then put all numbers into a plain text file.

If any one can help, I would greatly appreciate it.


Answer:Solved: Large Number Sequential List Generator

16 more replies
Relevance 66.42%

This will be a delivery document having 3 copies, each copy needs the same serial number.
The serial number needs to increment by +1 after each print but any information entered needs to be reset to blank.
A user form for input ?
Excel or Word (no mailmerge)
Document will reside in a shared folder on a server.
Needs to be user friendly (Idiot proof!)

Answer:Auto create a sequential serial number for a document

It is possible in Excel. I know of no way to do it in Word. The method is simple.
1. Create the template workbook with all the fields you see fit.
2. Copy the code below into the code module of the workbook

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim cdp As DocumentProperty

On Error GoTo NoSuchProperty
Set cdp = ThisWorkbook.CustomDocumentProperties("PrintCounter")
cdp.Value = cdp.Value + 1
ActiveSheet.Range("A1") = cdp.Value
Exit Sub
ThisWorkbook.CustomDocumentProperties.Add Name:="PrintCounter", LinkToContent:=False, Type:=msoPropertyTypeNumber, Value:=0
Set cdp = ThisWorkbook.CustomDocumentProperties("PrintCounter")
Resume Next
End Sub

The code looks up the custom document property called "PrintCounter". If the property doesn't exist, it will be created.
Before each print attempt, the counter will be increased by one, and the workbook (with the new propery value) will be saved.
The code displays the counter in cell A1, but it can be displayed anywhere, even in header or footer, even as part of a longer string.

3 more replies
Relevance 66.42%

I am currently running Access 2007 on an Acer Aspire computer running Windows 7. I also use a recent HP desktop running Windows XP Professional and Access 2007 at work. I am setting up a database that has 830,031 records & 100 + fields in the main data table. Presently, the table has no unique record ID that could be used as a primary key. I want the table to be sorted in a specific (chronological) order, which I can easily do with a simple query. I have added a new empty field called D_Rec_ID, and I want to fill this field with the record number for each record in the sorted order. Once the database is completed, the number of records will not change. How can I populate this field with sequential record numbers? The only thing I can get to work is to set up an Excel spreadsheet with blocks of 8,000 sequential numbers, copy each block of numbers, and paste it into the Access table in the appropriate location. I can only do 8,000 at a time without exceeding the MaxLocksPerFile on my work computer (set at 9,500), which I can’t change. This is an extremely tedious process and prone to mistakes. Any suggestions would be greatly appreciated.

Answer:Solved: Sequential numbering of records with record number

DigitalDoc4, welcome to the Forum.

I assume this "database" is only going to be used for Searching?

To do what you want Copy the Table and Paste - Structure Only.
Set your new field to Autonumber.
Now create the the Query and sort it in the order that you want.
Convert the query to an Append query and select the new table as the table to be appended to.
Save and Run the query.
The records should now be entered in the new table in the order that you want with new ID numbers in that order.

2 more replies
Relevance 66.42%


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.



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 64.78%

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 62.32%

I have a query where a number field is multiplied by a currency field. The expression is numerically correct but is not expressed in currency format. How do I change that?

Answer:number field multiplied by currency field express in currency

8 more replies
Relevance 61.91%

I need to return a number associated with a date based on today's date. For example: A1:A24 are numbers 1 to 24 and B1:B24 contain the 15th and 30th for each month of the year; 15-Jan, 30-Jan, 15-Feb, 28-Feb, ... 30-Dec.Cell C1 needs to return the number from A1:A24 based upon today's date compared to the date in B1:B24.For example today is 08/21/15, what number should be returned in Cell C1. It should be 15 as 08/21 is less than 30-Aug.message edited by jmichels

Answer:Return a number based on today's date compared another date.

Try this formula, see how it work for you:=INDEX(A1:B24,MATCH(TODAY(),B1:B24,1),1)This will work for most dates, but errors out if the Date is 01/14/15 or less.MIKE edited by mmcconaghy

4 more replies
Relevance 59.04%

Hi,I am creating a database which will include 3 tables:-A contact databaseAn individual members database - with membership numbers starting at MEM 00001An corprorate members database - with membership numbers starting at ORG 00001I only know how to do it just with numbers. Is it straightforward to create an autonumber field in this format ?Thanks for your help.Regards,Julia Evans(Moderator edit: Added Topic Description. jgw)

Answer:Membership number field

I forgot to mention that I am using Access 2010 - and consider myself an "intermediate" level of Access knowledge and experience.

1 more replies
Relevance 58.63%
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 58.63%

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 58.63%

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.63%

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 58.63%

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.

Answer:Updating date field

6 more replies
Relevance 58.63%

hi there all
the last few weeks i spend time looking for fix of this problem with no luck

every time i reinstall windows it works fine
but after i finish personalising it
the up/down control keeps modifying the value by from 1 to 3 instead from 1 to 2
this happens only when i mouse click the arrows
the up/down arrow keys on the keboard work fine and the scroll too
the mouse doesnt double click on icons or anything else
i am using windows 7 Ultimate 32bit and this used to happend back in xp too
checked the whole control panel to find a solution and my tuneup too
on my lap top it works fine dont know why i do the same setting on both

Answer:up\down control for a number field problem

Welcome to the Windows 7 Forum.
I don't really understand exactly what you mean so I have some questions.
1. What does personalizing include?
2. What up/down are you referring to? (Side Bar?)(1 to 3) ?
Thanks for filling in your specs.

9 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?


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 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

1 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 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%

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 ?


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 57.81%

I have three tables with auto number setups for the component ID , how can I make the autonumber fields for these tables start at different numbers.

What I would like is,

table 1 at zero. That one I know is default to that number

Table 2 Start at 1000

Table 3 at 3000

Thanks for the help

Answer:Can you change the starting number with a autonumber field

see if this helps;en-us;Q209696

1 more replies
Relevance 57.81%


i have two columns date & month. I want a result of total count for the month Jan which is having blank date.

Closed DateMonth2013-01-01Jan Jan2013-01-01Jan Jan2013-01-05Feb2013-01-01Jan2013-01-01Feb2013-01-01Feb2013-01-01Jan2013-01-01Jan Jan2013-01-01Feb2013-01-01Jan Jan2013-01-01Jan2013-01-01Feb2013-01-01Feb2013-01-01Feb Jan

Answer:Count Number of records having blank field

Welcome to TSG muzamil. Hope you get some help and provide others with help when you get an opportunity.

What tools do you have to work with? Access?

1 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: 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 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 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
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


exit celll with ctrl, shift, enter

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

More replies
Relevance 57.4%


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.


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


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'

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


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%

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

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

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

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%

can anyone help me with a formula line In Crystal Reports when designing a report i need a formula that will colored the field if maximum number is exceeded.for example: if a specific field has reach a maximum number of 15, this field has to colored in red.

Answer:formula colored field if maximum number is exceeded

Although someone might come along who knows "Crystal Reports" it is a bit specialised. You might be better advised to go to their forum: pop back and let us know the outcome - thanks

2 more replies
Relevance 57.4%

Hi All,
I need an help in creating auto number field in access database. Let me explain you further. I have an access database which 20 million records. When i am trying to add auto number field i am getting error "File sharing lock count exceeded".
Then i did some google search and got some infomation like editing the registry file , in my case its not possible due to security restrictions.
And another option of adding a code in VB immediate window also i tried but this option is also not working.

"DAO.DBEngine.SetOption dbmaxlocksperfile,25000000"
Can anyone help how to solve this issue else can you please help me on how to auto populate the numbers in a specific field using VBA codes.
Thanks in advance.

Answer:Auto number field in a Access database table

16 more replies
Relevance 57.4%

I have a field that requires a 3 number fixed length. Unforturnately, all the 0s appearing before it disappears. How can I fix this issue.


Answer:Access 2003 - fixed size for field number

It depends on what you want to do with the number, if you want it to only look like 001 instead of 1 then you can just format it. But Access will store it as 1 not 001.
If you want it to be stored as 001 then it would need to be a text field, but it would then not be so suitable for calculations.
To format the Field on a Form or Report to have leading zeroes in the Form's design view click on the Field and in it's Format property type in

1 more replies
Relevance 57.4%

Hi I am really stuck on this problem can anyone help?

I have a spreadsheet with a column (D) of words. If the word in cell D3 equals say 'Fuel' I want to post a number in column A3 = "7300"

I have worked out a formula to pick up the word fuel and post it as a number but i then need to have that formula running down the whole of my column A, and would need to amend each line to change the formula. Ideally i would like the formula out of the way on the page so that I can amend it as appropriate. eg

initally I want to search for 'fuel' and put in the number '7300' into column A (on the same line) BUT then i want to be able to change the formula to look for say 'Cash' and put the number '1230' in the column A on the same line as the word 'CASH'

7300 fuel
1230 cash
7504 personal
7300 fuel
7509 purchases

Is this possible????



Answer:excel - if field contains word post number in next column

this is my guess as to what you need. You would put it in column A at the top, then use the fill handle (bottom right corner of the cell) to click and drag to copy the formula down the column.

=IF(D3="fuel",7300,IF(D3="cash",1230,IF(D3="personal",7504,IF(D3="purchases",7509,"No Match"))))

That will work for the 4 different numbers in the example, and if you have Excel 2007 or newer, you can modify that for up to 64 different results (the limit of nested IF formulas). If you have an older version of Excel, you can only work with 7 that way, if you need more it's more work. Let me know if that does it!

3 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 :

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%

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:

4 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%

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?

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

10 more replies
Relevance 56.99%


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?


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%

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 ( 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%

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%

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.


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%

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%

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%

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,


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;

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.58%

Outlook 2013 has the following labels/fields for "Phone numbers":

AssistantBusinessBusiness 2Business FaxCallbackCarCompanyHomeHome 2Home FaxISDNMobileOtherOther FaxPagerPrimaryRadioTelexTTY/TDD
Is it possible to add a custom label/field?

More replies
Relevance 56.58%

Outlook 2013 has the following labels/fields for "Phone numbers":

AssistantBusinessBusiness 2Business FaxCallbackCarCompanyHomeHome 2Home FaxISDNMobileOtherOther FaxPagerPrimaryRadioTelexTTY/TDD
Is it possible to add a custom label/field?

More replies
Relevance 56.58%

Outlook 2013 has the following labels/fields for "Phone numbers":

Business 2
Business Fax
Home 2
Home Fax
Other Fax
Is it possible to add a custom label/field?

Answer:Add custom phone number field to Outlook 2013 Contact?

I do not believe it is possible to add a custom name to the list.

2 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 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

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 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:
="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?


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

7 more replies
Relevance 56.17%

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

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")
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 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%

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.MIKE

2 more replies
Relevance 55.76%


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!



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%

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.

3 more replies
Relevance 55.76%

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


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%

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%

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:
<input type="number" min="0" max="100" step="1" data-bind="textInput: amount" />
<br />
Current Amount $<span data-bind="text:amount()"></span>
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 54.94%

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.

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

This form updates an underlying table:

The date field of the "Work_Hours" table is:

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:

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:

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.94%

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?


More replies
Relevance 53.3%

I have a simple HTML page with a textarea field on it. When I paste data (spaces + hyphens) of length around 10000 chars to this textarea field, the browser hangs for few minutes.

This issue is not seen for other normal data, only specific to above combination (around 5000 blank spaces followed by around 5000 hyphen/minus symbol)

For above action, I analysed through developer tool profiler and observed that the maximum time being take by browser is to render content/layout of textarea. I believe some re-flow/repaint is happening in this particular case.

Is this a known issue with IE11? Please advice!
(I had posted this query on Microsoft communities and they re-directed me to TechNet forum. Hope I will get answer to my query)

More replies
Relevance 52.89%

We have part numbers for decals DEC-1 and DEC-12 and are linking into InDesign via Easy Catalog Creator which uses a .csv file for updates, but every time the file is reopened or resaved as a .csv, these part numbers change to a date and no longer link up. Is there a way to tell Excel not to do this?

Answer:part number changes to date

A few suggestions...1 - Format the cells as text before you enter Dec-12 - Use an apostrophe which forces Excel to read the data as text'Dec-13 - Use a formula in another cell:=CONCATENATE(TEXT(A1,"mmm"),"-",DAY(A1))The result will be treated as text.4 - Use a WorksheetChange macro. This code will monitor Column A and if a date is entered, it will reformat it to what you want it to look like and leave it as text.

Private Sub Worksheet_Change(ByVal Target As Range)
'Disable event so this code doesn't
'fire when it changes the cell
Application.EnableEvents = False
'Was the change made to Column A?
If Target.Column = 1 Then
'If yes, was the entry a Date?
If IsDate(Target) Then
'If yes, the format the date and store it ina variable
myPN = _
Format(Range(Target.Address), "mmm") _
& "-" & Day(Target)
'Set the cell format to text
Range(Target.Address).NumberFormat = "@"
'Put the reformatted date back into the cell
Range(Target.Address) = myPN
End If
End If
'Enable Events for next time.
Application.EnableEvents = True
End Sub

2 more replies
Relevance 52.48%


I need a help in converting current date into long number.I have attached the excel file and coding as follows.

Sub datesexcelvba()
Dim mydate1 As Date
Dim mydate2 As Long
Dim datetoday1 As Date
Dim datetoday2 As Long

Dim x As Long
lastrow = Sheets("sheet1").Cells(Rows.Count, 1).End(xlUp).Row
For x = 2 To lastrow

mydate1 = Cells(x, 6).Value
mydate2 = mydate1

Cells(x, 9).Value = mydate2

datetoday1 = Date
datetoday2 = datetoday1

Cells(x, 10).Value = datetoday2

If mydate2 - datetoday2 = 3 Then

Cells(x, 7) = "yes"
Cells(x, 7).Interior.ColorIndex = 3
Cells(x, 7).Font.ColorIndex = 2
Cells(x, 7).Font.Bold = True
Cells(x, 8).Value = mydate2 - datetoday2
End If
End Sub

More replies
Relevance 52.48%

Working in Open Office Calc 3.0, I need to flag dates, in order to flag they need to be numbers, how do I convert the dd/mm format to the actual number of the day in the year? EX: 1/1 =1, 12/31 =365. Issue is: Input data as dd/mm, display number of day in year.Any help would be greatly appreciated. I need the format set in the cell, if possible.

Answer:Exel convert a date to number: 11/10 to 314

I know there is a better way to this... but you could make a table somewhere that has the date in one column and numbers 1 to 365 in an adjacent column, and then do a vlookup

5 more replies
Relevance 52.48%

Hi,Also, does anyone know how to count the number of cells that contain a particular date in excel, e.g. 31st Dec 2011 across a number of tabs in the same workbook?C.

Answer:Count the number of cells that have a date

Hold down the Shift key while right-clicking the tabs (worksheets) you want to search in (or, if you need to search in tabs that are not adjacent to one another hold, down the Ctrl key instead).Then press Ctrl+F to bring up the search applet. Type in the date (as it appears in the cells), & click on Find All. You'll get the total number of times it appears in all the tabs in the status bar at below left.Here's an example screenshot click here - I searched for something across 5 tabs & it turned out '283 cell(s) found' in the status bar. So the thing I was looking for appears 283 times. G

2 more replies
Relevance 52.48%

how to tell date of manufacture of 1q524 NC701AA-ABA from serial number or how to look up?when were they first introduced? 

Answer:how to tell date of manufacture from serial number or how to...

dlkegarise See here for the release date. For the serial number the typical format is to have the 4th, 5th, and 6th characters to reference when the product was built.  The first character is the year date (Y) and the next two (WW), the week in that year it was made. CCSYWWZZZZ   Hope this helps you and anwsers your questions.  Regards.

I work for HP. When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!

5 more replies