[AccessD] Run module problem

Kaup, Chester Chester_Kaup at kindermorgan.com
Fri May 6 15:24:24 CDT 2005


Problem solved
I was using the wrong code for the way I was opening table
Should have been 
myds.Move RecordCount

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey
Sent: Friday, May 06, 2005 9:01 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Run module problem

Hi Chester
Aside from the question of why you're using a macro I think we'll need
to
understand more of the code to get this one. Docmd.GoToRecord is
associated
with the currently active open form. Is your form open and running at
this
point?

--
Andy Lacey
http://www.minstersystems.co.uk



--------- Original Message --------
From: Access Developers discussion and problem solving
<accessd at databaseadvisors.com>
To: accessd at databaseadvisors.com <accessd at databaseadvisors.com>
Subject: [AccessD] Run module problem
Date: 06/05/05 15:36

>
> I am trying to run a module from a macro and get the following
message:
>
>
>
> You cannot use the GoToRecord action or method on an object in design
> view
>
>
>
> when the code hits this line.
>
>
>
> DoCmd.GoToRecord , , acGoTo, StartRecord
>
>
>
> What am I doing wrong?
>
>
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
>
>
>
>
>
>
>

________________________________________________
Message sent using UebiMiau 2.7.2

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list