Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: How can ActiveX obj. tell when an Access Form has Header/Footer sections?


Message #1 by "Ron Howerton" <ron.howerton@s...> on Thu, 4 Apr 2002 19:04:58
I've written an ActiveX object to manipulate the GUI.  It runs well when 
dropped on VB forms, but has experienced various problems running on 
Access (97) forms.  The problem I'm running into right now is how to tell 
when an Access form has FormHeader or FormFooter sections.  Even though 
I've got an error handler in my VB code, Access still spews an error 
dialog box telling me when the Header or Footer sections don't exist.  
Telling Access only to display unhandled Error messages will not suppress 
this dialog box.  Is there a way to tell from a VB ActiveX object whether 
the containing Access form has Header or Footer sections without Access 
generating an error message in the process?

  Return to Index