Re: SYNC Form to listbox
- From: "ortaias@xxxxxxxxxxx" <ortaias@xxxxxxxxxxx>
- Date: 30 Jun 2006 11:27:38 -0700
I revised the program to "Call_Click7" and execute
"Me.[List7].Selected(1)". In theory it should have taken care of the
double clidk problem, but now I get an error message that the operation
was canceled by an associated object.
---------------------------------------------------------------------------------------------------------------
Private Sub Frame33_Click()
Select Case Frame33
Case 0 'show all records
Me![List7].RowSource = "SELECT [projectnum], [projectname] FROM
projectnumqry; "
Case Else 'show limited (filtered) list
Me![List7].RowSource = "SELECT [projectnum], [projectname] FROM
projectnumqry where [type]=[frame33];"
End Select
[Text29] = [List7].ListCount - 1
DoCmd.GoToControl "[List7]"
frame33ran = True
Call List7_Click
End Sub
Private Sub List7_Click()
Rem Pulls-up the summary form information for the selected project
If Frame33 Then Me.[List7].Selected(1) = True: frame33ran = False
Me.Recordset.FindFirst "[projectnum] = " & Me.[List7]
Call setcontrols
End Sub
.
- Follow-Ups:
- Re: SYNC Form to listbox
- From: Jeff L
- Re: SYNC Form to listbox
- References:
- SYNC Form to listbox
- From: ortaias@xxxxxxxxxxx
- Re: SYNC Form to listbox
- From: Jeff L
- SYNC Form to listbox
- Prev by Date: Microsoft Forms 2.0 TextBox
- Next by Date: More on "cannot open another database" error
- Previous by thread: Re: SYNC Form to listbox
- Next by thread: Re: SYNC Form to listbox
- Index(es):
Relevant Pages
|