|
-
Aug 10th, 2000, 09:12 AM
#1
Thread Starter
Junior Member
I'm making a 3 way toggle button, to do sorting. The code I use is:
Dim str As String, tgl As ToggleButton
str = "firstname_table1"
Set tgl = tglFirstName
Select Case tgl.Value
Case True
Me.OrderBy = str & " DESC"
Me.OrderByOn = True
Case False
Me.OrderByOn = False
Case Else
Me.OrderBy = str
Me.OrderByOn = True
End Select
I always get a "Run time error '424' Object Required"
What's the problem??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|