Skip it doesnt, if you enter into excel it works fine, its when I am importing into excel from sql.
But as I said, in the vba code, in the point before if puts it into the spreadsheet, it is in the correct format, the second it enters it, its in the wrong format.
Thanks for that PHV, if this was a new project I would consider that, however everything that is linked to the database would have to be re-written, and thats a lot of things.
There has to be a system setting infuencing this, and I need to find that, if it works for me, worked on the my old PC...
i have to make this clear to all that read this post to clear this up:
the serial date of the cell is showing as the serial date for 6th May 2007 (i.e. change the format to general and it shows the serial date), when the data imported was clearly for 5th June 2007
It is not a formatting issue...
Skip, I am afraid it has changed the value, the serial date of the value has now changed (for example the date we are working with is 05/06/2007 and it is displayed as 06/05/2007) so the serial date is for the 6th May 2007
Got a strange one here.
the person next to me is having problems with dates on his PC. It is manifesting itself in a few ways, I will list them here. The same problems do not appear for me when i run the same code.
Just to confirm, his regional settings are set as English UK.
1) In excel...
I would love to work out how to do this unaided, but I need to get this sorted quick, so would appreciate some help here:
I have been told I need a function to do this, so if someone could help me out.
I have a DB table with the following 3 fields:
ItemID, ItemName, ItemValue
The form is a...
so how do i then get the value into the text box?
this is all bearing in mind that I need to then at the end, when the form has been completed insert values into a table, the only value one of the 3 values i listed that needs to go back into the databse is the IDColumn
Using ASP & SQL:
I have a table with:
IDColumn, CostType , CostValue
I have a populated drop down list that contains just the costtype.
When someone selects one of the items it needs to put the costs into the text field.
Im expecting its using the Onchange on the drop down list.
What I...
i have been told that its very easy to put Iframes on an asp page, but...
Everything on the website comes from a user selected ID which is request("campaignid").
so when the main page loads up, all the variables pulled from the database are displayed on the main page.
I then want to have an...
hmm, again unless Im going mad its all ok, so I have posted the code here:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 4</title>
</head>
<body>
<form method="get" action="updatereceive.asp">
<p><select size="1"...
I think I am going mad here, so if someone can help me out:
Im new to .ASP and I am adding an IF statement to the submit button to Insert a new record if it is clicked. I have tried this both submitting to the same page and to another page, and I have tried Get & Post
so I have the button...
Thanks to Vongrunt, it was that simple!
For GShen - the query was a little more complicated as I make a year-week code out of the case statement, i.e. week 12 in 2004 is 2204-12.
I use ISO week (ISO standard) as thats what our company use, this is the ISO standard for week numbering. If you...
Is it possible to put a case statement in a the group by part of a query? Below is an example of a query using the normal Datepart function for the week number, and then the ISO week function to get the correct week number. However in using the ISO function, you have to use a Case Statment...
all sorted now, i edited the query given by JayKusch to remove the full email address, plus I had to cope with text that did not have an email address:
CREATE FUNCTION fnc_ReplaceEmailAddress
( @OldEmailText VarChar(1000) )
RETURNS varchar(1000)
AS
BEGIN
BEGIN
DECLARE @AtSignPos...
I am looking to remove email address from text strings and replace it with the text (email removed). The email address' will not be in every string and the the domains will vary.
e.g.
fields named 'Comments'
and an example of a field is:
"what a sunny day said email@email.com yesterday"
i...
I am looking for the best way to do the following:
Each case in my database has a timestamp. Each date is part of an accounting month. This month does not correspond to the normal months.
Therefore during the select statement I am looking to bring out the relevant book month for that date...
I use SQL 2000 version pack 3.
When exporting to a text file from a varchar field (set to 2000 characters) it is being truncated to 255 characters.
I have found the article http://support.microsoft.com/default.aspx?scid=kb;en-us;247527 which refers to this know problem.
However they say it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.