SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 21st, 2001, 06:46 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
formatting date and numeric fields

Originally posted by : Nic (annihilus@terra.es)Hi,I am very new to ASP and SQL and have a major trouble: using MS Access 2000 I have different fields with numeric and date values. Actually I have converted all these fields to text becouse I wasn't able to pass the data from an ASP page in other formats than text. Could anyone help me ? Tx in advance.

Reply With Quote
  #2  
Old August 26th, 2001, 12:22 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : Hi!!well still you can convert back to their original form which you have changed to text using CStr for textCDate for dateCInt for integer e.g CInt(myVar) where myVar was stored as string before..hope it works!cheers!!!rocky

Reply With Quote
  #3  
Old October 11th, 2001, 03:08 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : Paul (willmanp@akrr.com)hmmmm, I must be doing something wrong, because everytime I try using CDate, CInt or any of the other string data conversion functions, I always get a data type mismatch error.any idea why this might be happening to me? I mean, other than that these sorts of things always seem to happen to me.....thanks in advancepaul------------ at 8/26/2001 10:22:55 AMHi!!well still you can convert back to their original form which you have changed to text using CStr for textCDate for dateCInt for integer e.g CInt(myVar) where myVar was stored as string before..hope it works!cheers!!!rocky

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > formatting date and numeric fields


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT