All of a sudden: Visual Basic module contains a syntax error (1 Viewer)

Paul Purvis

New member
Local time
Today, 15:40
Joined
Mar 4, 2003
Messages
9
Urgent help required!

the database has been in use for 2 years +, all of a sudden when double clicking on the icon (Target "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" C:\STEV\STEVP.MDB /x autoexec_local)

I know get Visual Basic module contains a syntax error

then the macro box Action failed:

Macro [autoexec_local]
conditions = true
action = runcode
Systart ("C:\stevd.mdb")

nothing seems to of changed, any help/pointers much appreciated

/--Paul
 

ghudson

Registered User.
Local time
Today, 10:40
Joined
Jun 8, 2002
Messages
6,195
Check for a missing reference.
 

KenHigg

Registered User
Local time
Today, 10:40
Joined
Jun 9, 2004
Messages
13,327
1. Does it compile clean?
2. Have you tried stepping through the code to find the offending syntax?
3. What happens if you leave the x switch off the command line?
4. (repeat) How are the ref's?


ken
 

Users who are viewing this thread

Top Bottom