First, ADP 2000 is really buggy; you should use ADP 2003 (still buggy but
much less). Maybe what you are seeing is one of those bugs. Second, how
are you proceeding to make the change and how are you reading the values for
these list boxes?
--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
<(E-Mail Removed)> wrote in message
news:355d422a-32f0-428c-99c6-(E-Mail Removed)...
> Hi,
>
> My environment: ACCESS 2000 + SQL SERVER 2000.
> I have front-end Access2000. adp and database in Sql Server.
> I use Oledb adodb.connection from .adp to Sql Server.
>
> I have only one front-end program (.adp) and there' the form and via
> VBA -module user can change the connection to different Db (two
> database - one for test use and the other for production for example
> names TESTDB and PROD_DB - database are equally designed).
>
> I change the connection programmaticly (to point correct database) and
> almost everything goes correct in forms but in list-boxes where the
> data is occupied by stored procedures, don't work the way I want. In
> this case data comes from the database which are opened when I start
> ACCESS -program
>
> Is there the way to update also these stored procs to point to correct
> Db ?
>
> Or do I have to make to different .adp ?
>
> Colpo
>
|