473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Strange Out of memory Run-time error 7 using instr() function

Hi,
I was wondering if anyone else has come across this Out of memory error when using instr().

My pc has heaps of physical and virtual memory, and my access dbase is quite small. I was using instr() in a browsefolders function, and it gave me the Out of Memory error.

I tried creating a new blank database with just 1 form, and the following line of code: MsgBox InStr(1, "Northwind", "r") - and I still get the same message. I am using a fully up to date version of Windows Vista Ultimate and Access 2010 beta.
I have used a bunch of other string functions with no problems, and so am at a bit of a loss as to what this might be

Any ideas would be greatly appreciated!!
May 23 '10 #1
1 3091
ChipR
1,287 Expert 1GB
The same code works fine for me in Access 2007.
May 26 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: martlaco1 | last post by:
Trying to fix a query that (I thought) had worked once upon a time, and I keep getting a Data Type Mismatch error whenever I enter any criteria for an expression using a Mid function. Without the...
2
by: Lauren Wilson | last post by:
After upgrading to Access 2003 (from 2000) I now get a strange new runtime error on part of my longstanding Error handler code. This error ONLY happens when I try to run a new form with my same...
0
by: sandeep | last post by:
Hi all, I was using earlier using Dinkumware STL librarires in VC6.0, now while migrating to VC7.1 i started using MS lib ( for e.g. xtree file). Everything compiled fine with minor changes but...
2
by: Mongoose7 | last post by:
Hi, I am using vc7 to call a dll function from another dll. The function seems to execute correctly (it writes binary data to the registry) but when it comes out of the function, and tries to...
5
by: Lynne | last post by:
I apologize in advance for the lengthy message but wanted to include as much information as possible. Any insight/assistance would be appreciated. The following line of code throws an error when...
8
by: ibayley | last post by:
Hi, could someone guide me step by step how to fix this problem. runtime error -pure virtual function call I have posted the entire image and message here ...
0
by: Marc Melancon | last post by:
On Multi partition system (EEE) when exeuting table function eventually we will get : SQL0443N Routine "SYSPROC.SNAPSHOT_DATABASE" (specific name "SNAPSHOT_DATABASE") has returned an error...
3
patjones
by: patjones | last post by:
Good morning all: In what seems like an ongoing saga to make the DSum function do what I need it to, I am now having trouble with a user-defined function in my VBA module. Here's the offending...
0
Jerry Maiapu
by: Jerry Maiapu | last post by:
Hi there, I have a log in form that users use to log in to the ACCESS DB. The username and password are taken from the current logged in user of the windows. I have put the following as the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.