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


Data Bases > Microsoft Access > Runtime error 4...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 30241 of 30658
Post > Topic >>

Runtime error 424: Object required

by "gmazza via AccessMonster.com" <u37142@[EMAIL PROTECTED] > May 12, 2008 at 09:30 PM

Hi there,
I am a novice at Access programming but I am flustered by this error and
don't understand what I am doing wrong, any help is appreciated.
Here is my code:
Sub SetFilter()

    Dim LSQL  As String
   
    LSQL = "select * from dbo_DDXLMO"
    LSQL = LSQL & " where St_Offshore = '" & cboSelected & "'"

    Form_frm_OffsetWells_sub.RecordSource = LSQL

End Sub

I am calling the SetFilter routine from my Form_Open Procedure and all I
have
is a form and subform and in the form I have an unbound combo box that
selects St_Offshore from table dbo_DDXLMO.
I am just trying to populate the subform with results from my combo box
and I
keep getting this error and I have tried a million things and nothing is
working.
Please help, thanks!

-- 
Message posted via http://www.accessmonster.com
 




 4 Posts in Topic:
Runtime error 424: Object required
"gmazza via AccessMo  2008-05-12 21:30:12 
Re: Runtime error 424: Object required
Salad <oil@[EMAIL PROT  2008-05-12 14:52:48 
Re: Runtime error 424: Object required
"gmazza via AccessMo  2008-05-12 22:05:24 
Re: Runtime error 424: Object required
Pachydermitis <praesag  2008-05-12 15:27:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Sun Jul 6 4:58:57 CDT 2008.