Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Table db Design > 2003 Glitch -- ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 12082 of 12659
Post > Topic >>

2003 Glitch -- Search by last name not working

by =?Utf-8?B?bWF1cmE=?= <maura@[EMAIL PROTECTED] > Aug 4, 2008 at 05:52 AM

I have a database that searches 3 ways: by caseid, by last six of a vin and

by last name. After an automatic update the search by last name doesn't
work. 
This is a split datebase and two other computers running Microsoft 2003
one 
is still being able to search by last name but the others cannot. Here is
my 
code, this database has been running for over 5 years and I have never had

this problem. I am wondering if it was the update or something else. We
have 
repaired and compacted the database and that hasn't done anything either. 
PLEASE HELP!


Code for the three unbound comboboxes:
Private Sub cboFindByCaseID_AfterUpdate()
    ' Find the record that matches the control.
    Dim rs As Object

    Set rs = Me.Recordset.Clone
    rs.FindFirst "[CaseID] = " & Str(Nz(Me![cboFindByCaseID], 0))
    If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub

Private Sub cboFindByDebtor_AfterUpdate()
    ' Find the record that matches the control.
    Dim rs As Object

    Set rs = Me.Recordset.Clone
    rs.FindFirst "[CaseID] = " & Me![cboFindByDebtor].Value & ""
    If Not rs.EOF Then Me.Bookmark = rs.Bookmark
    
    'cboFindByDebtor.Text = Me![DbLastName]
    
End Sub

Private Sub cboFindByVin_AfterUpdate()
    ' Find the record that matches the control.
    Dim rs As Object

    Set rs = Me.Recordset.Clone
    rs.FindFirst "right([VIN],6) = '" & Me![cboFindByVin] & "'"
    If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub
 




 4 Posts in Topic:
2003 Glitch -- Search by last name not working
=?Utf-8?B?bWF1cmE=?= <  2008-08-04 05:52:02 
Re: 2003 Glitch -- Search by last name not working
"Allen Browne"   2008-08-04 22:34:55 
Re: 2003 Glitch -- Search by last name not working
=?Utf-8?B?bWF1cmE=?= <  2008-08-04 14:07:08 
Re: 2003 Glitch -- Search by last name not working
"Allen Browne"   2008-08-05 10:03:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:39:09 CST 2008.