|
-
Jul 14th, 2002, 11:38 PM
#1
Thread Starter
New Member
Save me!
hi all,
I would really appreciate it if you could help me solve some bugs.
I'm still rather new in VB6, and recently i've been assign to create a simple form.
Problem is, after a user types in the date in the incorrect format and clicks 'save', of course an error message is displayed.However, when the user retype the date correctly, it can't be saved. (the date doesn't follow the system's date)
Do i really need to use 'Begin/CommitTrans' command. My supervisor says there other ways to correct this without those commands.But i've got to figure it out (says he)
I know it seems like a small problem but its giving me a headache
and another thing is, after editting and clicking on 'Save', error message appears stating that duplicates aren't allowed. How do i update this data then?
Please help.
By the way u need to connect the database with the form.
(go to settings>control panels>chose ODBC Data Sources> chose System DSN tab> click 'Add'> chose Microsoft Access Driver (*.mdb)>click 'finish'> Type "EmployeeInfo" in the 'Data Source Name> click 'Select> find the location of the database(which i've attached it for you)>click 'ok'.)
thanx!!
p.s you can also reach me at [email protected]
Last edited by Wildec2; Jul 15th, 2002 at 03:19 AM.
-
Jul 14th, 2002, 11:47 PM
#2
PowerPoster
what format is your date field in?
mm/dd/yy ?????
-
Jul 15th, 2002, 12:23 AM
#3
Hyperactive Member
Try with this attachment. I hope it will work Fine.
-
Jul 15th, 2002, 03:51 AM
#4
Thread Starter
New Member
thanx Prasad
thanks a lot Prasad,
it certainly lightened my problem. If you don't mind, do you know how to fix the part where the user correct their date mistake and try to save it again?
regards,
Wilde
-
Jul 15th, 2002, 11:53 PM
#5
Hyperactive Member
I Hope this will solves all your problems
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
|