Avatar of SuperSnooper
SuperSnooper

asked on 

DoCmd.GoToRecord returning the Wrong acForm and acGoTo

In a Combo Box Look Up, I am using DoCmd.GoToRecord to look up and go th the desired record. The Field Value in the record returns correct value. I do get a message saying "An expression you entered is the wrong data tyype for one of the arguments. The acForm always returns "2", and the acGoTo always return "4". It has me baffled.  I have used this many times bufore but never had this results.
Microsoft Access

Avatar of undefined
Last Comment
puppydogbuddy
ASKER CERTIFIED SOLUTION
Avatar of puppydogbuddy
puppydogbuddy

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo