From: stevez6996@hotmail.com   
      
   "J French" wrote in message   
   news:41ad8ba1.89126874@news.btclick.com...   
   > On Wed, 01 Dec 2004 03:16:07 GMT, "Steve Z"    
   > wrote:   
   >   
   > >I have code that I've used before to automatically insert the current   
   date   
   > >and time into text boxes when a user clicks in the box, like this:   
   > >   
   > >Private Sub txtDate_GotFocus()   
   > >txtDate = Date   
   > >End Sub   
   > >Private Sub txtTime_GotFocus()   
   > >txtTime = Time   
   > >End Sub   
   > >   
   > >When I try to use this code in a form that is a derivative of the Visual   
   > >Data Manager get error message "Procedure declaration does not match   
   > >description of event or procedure having the same name". When I get the   
   > >property of the event directly from the combo box, it becomes   
   GotFocus(Index   
   > >As Integer), but I keep getting Invalid Use of Property errors.   
   > >I see four properties for the event (Count, Item, Lbound, Ubound), should   
   I   
   > >be using one of these?   
   >   
   > You have made one or more of your Textboxes into a Control Array   
   > - in other words you have put something in the Index property   
      
   You are correct, thanks for the excellent analysis.   
   Though I didn't technically do it, the Visual Data Manager did it. Looks   
   like I'll have to start over and ignore the Manager like I used to.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|