VBA......


Posted by Mark on January 14, 2002 5:23 AM

I'm trying to write a code for the first time, so please keep that in mind.

I'm trying to get a form to display, but I keep getting an error (run-time error '424') with the "frmaddjob.show" line below. Any ideas how to fix this??

Thanks,
Mark

Dim jobnumber As Integer
Dim pono As Integer
Dim Jobname As Integer
Dim amount As Integer
Dim est As Integer
Dim jobloc As Integer
Dim fablist As Integer
Dim contractorname As Integer
Dim conadd1 As Integer
Dim conadd2 As Integer
Dim conphone As Integer
Dim confax As Integer
Dim super As Integer
frmaddjob.Show



Posted by bob Umlas on January 14, 2002 6:54 AM

You either don't have a form named "frmaddjob" or the frmaddjob form has code in the Initialize or Activate event which is bombing. To find the offending line in that case, single step through your code.