Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Decimal Point Problem

New Here ,
Mar 10, 2010 Mar 10, 2010

Copy link to clipboard

Copied

Hi All,

Dreamweaver CS4

Microsoft Access

ASP/Vb

I have a number field in a database formatted as Double, fixed and 1 decimal place.

Adding a record via an ASP page accepts the input correctly ie 6.2

Updating the record via another ASP page returns 62 when 6.2 is entered

The paramater for the field is:

MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 5, 1, -1, MM_IIF(Request.Form("HomeOvers"), Request.Form("HomeOvers"), null)) ' adDouble

Many thanks

TOPICS
Server side applications

Views

300
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 11, 2010 Mar 11, 2010

Copy link to clipboard

Copied

LATEST

Hi All,

Problem now resolved. Converted the field in the database from number to text and both the add record and update record behaviours work.

Then able to convert back to number for calculations etc.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines