|
-
Jul 10th, 2006, 08:18 AM
#1
Thread Starter
Lively Member
-
Jul 10th, 2006, 08:20 AM
#2
Re: What the.. those characters!
need to know more info:
Where is the data coming from? how are you getting it?
post code that loads those fields
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 10th, 2006, 08:30 AM
#3
Thread Starter
Lively Member
Re: What the.. those characters!
The data comes from a table which consists of date fields.
VB Code:
Do Until rsKakitangan.EOF
dtpDateOfBirth.Value = rsKakitangan!BirthDate & ""
dtpDateOfIssueIC.Value = rsKakitangan!IC_IssueDate & ""
dtpDateOfIssueCitizenship.Value = rsKakitangan!CitizenCertDate & ""
dtpDateOfIssuePassport.Value = rsKakitangan!PassportIssueDate & ""
rsKakitangan.MoveNext
Loop
rsKakitangan.Close
Set rsKakitangan = Nothing
anything wrong there?
-
Jul 10th, 2006, 08:34 AM
#4
Re: What the.. those characters!
What is the format string you are using for those fields?
-tg
-
Jul 10th, 2006, 08:45 AM
#5
Thread Starter
Lively Member
Re: What the.. those characters!
it's short date format for all those fields.
-
Jul 10th, 2006, 08:47 AM
#6
Re: What the.. those characters!
what if you tried:
dtpDateOfBirth.Value = Format(rsKakitangan!BirthDate,"mm/dd/yyyy")
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 10th, 2006, 08:59 AM
#7
Thread Starter
Lively Member
Re: What the.. those characters!
im sorry to disappoint you guys. i just found that it was actually my staffs who entered invalid dates into the field such as 01/01/100 instead of 01/01/2001..
sorry again, my bad 
case solved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|