Rabu, 12 Agustus 2015

RE: [MS_AccessPros] Help on Error 2448

 

Kumar,
 
Which lines generates the error? Did you try set a break in the code and step through it line by line? This should be automatic when your code is generating an error.
 
Duane Hookom, MVP
MS Access
 

To: MS_Access_Professionals@yahoogroups.com
From: MS_Access_Professionals@yahoogroups.com
Date: Wed, 12 Aug 2015 10:32:53 -0700
Subject: [MS_AccessPros] Help on Error 2448



Dear Group,
                 I am using the below mentioned coding to reset the search unbound text boxes, combo boxes in the form Header of my search form. The same coding is working fine in other databases, but in this particular database, it is giving error 2448. I do not know why this is appearing and how to avoid it. Please help.
-----------------------------------------------------------------------------
      Dim ctl As Control
    
      For Each ctl In Me.Section(acHeader).Controls
        Select Case ctl.ControlType
        Case acTextBox, acComboBox
            ctl.Value = Null
        Case acCheckBox
            ctl.Value = False
        End Select
    Next
           
    
    Me.FilterOn = False



-------------------------------------------------------
Kind Regards,
Kumar
   



__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar