[AccessD] Ambiguous Name

Ralf Lister rlister at actuarial-files.com
Tue Sep 20 09:48:00 CDT 2011


Thanks Darryl,

Thanks to your advice all is working wonderfully now. I found that the
ambiguous variable gsngAportesSR was dimmed twice.

Thousand thanks!

Saludos
Actuary Ralf Lister
La Paz, Bolivia
Registrado en APS
No. Registro: Act.Mat. 001
NIT: 1016725022
Skype Name: ralf.martin.lister1
Tel.: 222 26 61, Cel. 70136531
rlister at actuarial-files.com
www.actuarial-files.com



-----Mensaje original-----
De: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] En nombre de Darryl Collins
Enviado el: Lunes, 19 de Septiembre de 2011 07:42 p.m.
Para: 'Access Developers discussion and problem solving'
Asunto: Re: [AccessD] Ambiguous Name



I would just search for "gsngAportesSR".  It is likely you have it dimmed in
a module somewhere else.

Search for "Dim gsngAportesSR" for starters and then just "gsngAportesSR" -
it will be in there somewhere.

I would also ensure all your modules are "Option Explicit" to ensure nothing
is getting dimmed twice by the VBE.

Cheers
Darryl

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister
Sent: Tuesday, 20 September 2011 7:19 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] Ambiguous Name

Hello all,

I work with Access 2007.

Lately I ran into a problem I don't know how to solve: By running the code I
got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha
detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code
looking for gsngAportes defined by two different data types (e.g. Public
gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but
without success.

Does anyone of you know how to fix this problem?

I should say that gsngAportesSR is a global variable with data type Single.

Thanks and Saludos
Ralf Lister
La Paz, Bolivia



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

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3906 - Release Date: 09/19/11




More information about the AccessD mailing list