X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
2 Pages V < 1 2  (Go to first unread post)
   Reply to this topicStart new topic
> Trouble With Append Query, Access 2013    
post Mar 23 2020, 08:51 AM

UtterAccess VIP
Posts: 7,258
Joined: 30-June 11


CurrentDb.Execute "INSERT INTO " & CalcTable & " ([" & ScenChkDataID & "]) VALUES (" & ScIndex & ");", dbFailOnError

Also, post what is returned by ScenChkDataID and ScIndex when you run your code.

Is ScenChkDataID a combo box? In that case you'd need to pull the right column's value, ScenChkDataID.Column(1) or something along those lines.

Daniel Pineault (2010-2019 Microsoft MVP, UA VIP, EE Distinguished Expert 2018)
Professional Help: https://www.cardaconsultants.com
Free MS Access Code, Tips, Tricks and Samples: https://www.devhut.net

* Design should never say "Look at me". It should always say "Look at this". -- David Craib
* A user interface is like a joke, if you have to explain it, it's not that good! -- Martin LeBlanc

All code samples, demonstration databases, links,... are provided 'AS IS' and are to be used at your own risk! Take the necessary steps to check, validate ...(you are responsible for your choices and actions)
Go to the top of the page
post Mar 25 2020, 10:06 AM

Posts: 313
Joined: 3-July 07
From: Richboro PA

Thanks for your reply. I didn't want you to think I didn't appreciate you and everyone else's help with this problem.

I had to jump off this issue in order to tackle another one that cropped up. As soon as I get a chance I will give your recommended fix a shot and I will report back
Go to the top of the page
2 Pages V < 1 2

Custom Search

RSSSearch   Top   Lo-Fi    5th April 2020 - 01:55 AM