[AccessD] Substituying with vars

jeffrey.demulling at usbank.com jeffrey.demulling at usbank.com
Thu May 6 10:45:15 CDT 2004


you might want to try:

me.infDescrip = Eval("Reports![" & infnombre & "].caption"


                                                                                                                                               
                      MastercafeCTV                                                                                                            
                      <mastercafe at ctv.es>              To:       "'Access Developers discussion and problem solving'"                          
                      Sent by:                          <accessd at databaseadvisors.com>                                                         
                      accessd-bounces at databasea        cc:                                                                                     
                      dvisors.com                      Subject:  [AccessD] Substituying with vars                                              
                                                                                                                                               
                                                                                                                                               
                      05/06/2004 10:33 AM                                                                                                      
                      Please respond to "Access                                                                                                
                      Developers discussion and                                                                                                
                      problem solving"                                                                                                         
                                                                                                                                               
                                                                                                                                               




We are trying to retrieve some parameters of a Reports, like caption or
rowsource.
The problem is that we use this code:

Me.InfDescrip = Reports![infnombre].caption

Where infnombre is the name of the report, but dont run, only if we put the
exactly name can retrieve. Anyone knows how to use this to retrieve?

Thanks

Juan

================================
Mastercafe S.L. NIF - B82.617.614
c/ Piñeres 4, 1ºD (33430 Candas - Asturias)
Juan Menendez Crespo juan at mastercafe.com
www.mastercafe.com
info at mastercafe.com
================================

--
_______________________________________________
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