Solved

Access 2013 keeps crashing

Posted on 2015-02-08
19
270 Views
Last Modified: 2015-02-09
i have an access database that continues to crash, even after I created a new Database and compiled cleaning.

The error I'm getting is

Accessmailmerge is a third part product that I use within Access.  I am not having this issue with other Access Databases that use accessmailmerge.


2/7/2015 1:27:04 PM Error 2482: LARMSV2.0 cannot find the name 'getfield' you entered in the expression.
 in accessmailmerge v. 5.0.67 (17 april 2012).mPreprocessString.PreprocessString line 1254

strFunction = getfield

I have search all my modules and expressions and can not find the reference to strFunction = Getfield
0
Comment
Question by:seamus9909
  • 9
  • 5
  • 4
  • +1
19 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
try to decompile the db first then compile
0
 

Author Comment

by:seamus9909
Comment Utility
how do I "decompile"??
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
create a .bat file with code like, change path and name of office and db file name

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "d:\My Documents\access\mayapp.mdb" /decompile

then run the .bat file
0
 

Author Comment

by:seamus9909
Comment Utility
I should mention I have a front end and backend of the database, should I decompile both?
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
just the FE
0
 

Author Comment

by:seamus9909
Comment Utility
Ok I did all that and still get

2/8/2015 3:14:38 PM Error 2482: Microsoft Access cannot find the name 'getfield' you entered in the expression.
 in accessmailmerge v. 5.0.67 (17 april 2012).mPreprocessString.PreprocessString line 1254

strFunction = getfield
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
upload a copy of the db
0
 

Author Comment

by:seamus9909
Comment Utility
here you go. I think you will need to have the accessmailmerge database that is in the reference to cause the crash.

Let me know and thanks for your help
newlarms-fe.accdb
newlarms.accdb
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
then, you should upload it too.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:seamus9909
Comment Utility
Its a .mde and it won't let me upload?  :(
0
 

Author Comment

by:seamus9909
Comment Utility
do I have a nother option to get everything to you?
0
 
LVL 49

Expert Comment

by:Gustav Brock
Comment Utility
It might be easier to create a new blank database.

Open this and import all objects from the malfunctioning file.
Then install/attach your third-party application.
Now compile and save the database.

/gustav
0
 

Author Comment

by:seamus9909
Comment Utility
Hi Gustav


That is exactly the steps I followed and yet still get the crash    :(
0
 
LVL 49

Expert Comment

by:Gustav Brock
Comment Utility
Then it can be the module itself.

Go and delete from two or three code lines above the offending line to two or three lines below.
Save the module.
Now rewrite the code lines you previously deleted.
Compile and save and test.

/gustav
0
 

Author Comment

by:seamus9909
Comment Utility
That my delemnia  I can not find the GetField in any of the modules I have written and used.  So frustrating.

The AccessMailMege vendor is saying its in my Code not theirs but I can find it, after searching through the entire project and Modules
0
 
LVL 49

Expert Comment

by:Gustav Brock
Comment Utility
Oh, then it probably is the AccessMailMerge that is faulty.

As I guess you already have tried downloading a fresh copy, I would address the issue to 4Tops' support. Perhaps they have seen this before.

/gustav
0
 

Author Comment

by:seamus9909
Comment Utility
thanks I am dealing with them, of course they say its my DB! HAHAHA.

Thanks for you help
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
Comment Utility
The error is in their code module:

accessmailmerge v. 5.0.67 (17 april 2012).mPreprocessString.PreprocessString line 1254

Of course, it may error out if working under non-intended conditions.
You could try to cut your application down to a bare minimum that does no more than calling accessmailmerge and pass this to support.

/gustav
0
 
LVL 84
Comment Utility
No points, but given the error you got, I'd agree with gustav and Rey - the error is in their module, and the error code points explicitly to it (i.e. line 1254 in the mPreprocessString.PreprocessString function/sub).
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now