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

Insert Error

Explorer ,
Jul 29, 2008 Jul 29, 2008
have an access database with all the fields but PRICE (which is defined as currency) as text and when I submit the values from my form I receive an error (error information is attached in code section). What is it I am doing wrong?
TOPICS
Database access
494
Translate
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

correct answers 1 Correct answer

Explorer , Jul 29, 2008 Jul 29, 2008
You're missing a closing parenthesis for Values.
Translate
LEGEND ,
Jul 29, 2008 Jul 29, 2008
Step 1 - get rid of the brackets surrounding your form variables.

Step 2 - if Step 1 doesn't work. Comment out all but the last fieldname and value and try your insert query. If it works, uncomment them one by one until it fails. Then you'll know what the problem field is. My guess is that it would be price, because of the datatype.
Translate
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
Explorer ,
Jul 29, 2008 Jul 29, 2008
LATEST
You're missing a closing parenthesis for Values.
Translate
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
Resources