Runitme version causes error and closes (1 Viewer)

Tallica

Registered User.
Local time
Yesterday, 19:54
Joined
Jul 27, 2010
Messages
26
I have form that has a combobox to select which record to use as current

It works fine in except in my runtime version which creates a runtime error which I cannot debug do to the runtime environment..

Here is the code.


Private Sub Project_Filter_Click()

web8 = Me.Local
WebBrowser8.Navigate2 web8
sltid = Me.Project_Filter.Column(0)
DoCmd.SetFilter WhereCondition:="[ID] = " + sltid


End Sub

Any Ideas?
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 22:54
Joined
Feb 19, 2002
Messages
43,774
Try adding error trapping code to the sub. That will help you determine what is causing the problem. Just a guess - you might have a missing reference issue.
 

Users who are viewing this thread

Top Bottom