View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataAssist Insert Date Format - ASP

Thread began 9/17/2009 12:55 am by tim383164 | Last modified 9/18/2009 6:36 pm by tim383164 | 1496 views | 1 replies

tim383164

DataAssist Insert Date Format - ASP

I currently have an .asp form which requires the person to fill in their birth date. I am using Dreamweaver CS4 and MS Access Database.

When I created the Insert form, using DataAssist Wizzard, I noticed that after the form is created, I update the WA Insert Record behavior, that for the birthdate field, the data type is formated as Date MS Access. (If I change this to Date, then I get an .asp error)

What I have noticed is that without using your Validation Tool kit, when I submit the form, and view the results, i see this:-

Date Entered 15/03/1968 (ie 15 March 1968) - The data in the table shows correctly as 15/03/1968

Date Entered 09/03/1968 (ie 9 March 1968) - The data in the Table shows incorrectly as 03/09/1968 (ie 3 September 1968).

I tried to use the Validation Toolkit, where I chose to reformat the date to dd/mm/yyyy format. I found that this would work somewhat.

The form has many fields (it is a team registration form for a sporting competition). When I first added the Validation Toolkit, using only a small number of validations, it seemed to work ok. However, I noticed that after adding a number of different validations I got to a point where the form screwed up. These included the Date validations not working correctly, or on a number of occasions the actual Validation Toolkit broke (ie I went back into to modify an entry) however the toolkit showed NO validation entries (yet looking at the .asp code I could still see them on the page.

Anyway I have spent many hours trying to get this form working with all of the stuff ups using the WA Validation tool kit. So I have actually purchased another Form Validation Dreamweaver Extension (from a competitior) which I have found to be much more versatile than what you currently offer. Having said that this other validation tool, doesn't reformat dates. And I cant use the two together.

So I am going to keep using this other Validation tool, so this brings me back to my original question regarding the DataAssist Insert Record behavior.

Why, when I enter a date into a Date field, using "Date MS Access" Data Type, the Date will enter in the correct format (ie dd/mm/yyyy) if the day portion is greater than 12 (ie 13 March). For any dates that range from the 1st to the 12th of the month, get screwed up and put into mm/dd/yyyy format.

There is obviously an issue with the way your Data Assist Insert Record Behaviour works.

I am using Dreamweaver CS4, DataAssist 2.0.5 (Current Version) ASP with MS Access

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...