Access database functions -
i created database @ work on access 2010 queries using left()
,right()
, mid()
functions. copied database on pc @ home, these functions not want work on database. pc @ home has access 2010. everytime try run query following message, there error compiling function. visual basic contains syntax error. check code , compile again.
i created new db on pc @ home test functions , had no problems. noticed on pc @ home heading reads database1 : database(access 2007) - microsoft access while @ work says database1 : database(access 2007 - 2010) - microsoft access. both pcs have windows 7 professional , home pc 1 year old , pc @ work 3 months. updated/repaired access @ home, db still not want work. how can fix problem?
i have simple table call table1
id
column , column named name
,
id name 1 jason 2 casey 3 shasha
now if want use left() function in access query , error message: there error compiling function. visual basic contains syntax error. check code , compile again.
query:
select left([name],2) short_name table1
you want while in vba editor go tools->references, , missing reference.
you have reference software (say word) not exist on target machine.
the “step” “step” of looking @ these broken references outlined here:
http://www.accessmvp.com/djsteele/accessreferenceerrors.html
broken references perhaps 1 of common issues in access when moving application machine. suggested use late binding , remove un-necessary references “reduce” problem occurring.
Comments
Post a Comment