473,406 Members | 2,710 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,406 software developers and data experts.

HELP: Memo datatype in coding causes error when running a query

Hi,
I'm currently using MS Access 2000 to keep all my actors measurements, resumes and personal details on a database.

To upload their details onto our website, I have built an event so when I run the query, only certain data is selected and exported onto a separate database that I can easily upload onto our ftp server.

It has been working fine for all year until the past few weeks I have run into some problems.
Initially when I pushed the button to run the query, an error box popped up and I have the choice to end or debug.
When I choose debug, some of the coding appears with a few lines highlighted. Since playing around with it trying to fix it, this has stopped happening and instead an 'error, MS Access must close' box is appearing instead. I can't remember what the number of the initial error report was.

Through trial and error, I have discovered that this error only occurs when 'memo' datatypes are in the code.
The Text, Yes/No, Date, Number datatypes in the coding don't cause any problems at all and so when I exclude the memo datatypes, the query works fine.

I have double checked the 'memo' datatypes on my form to make sure their names and control sources haven't changed for any reason and they appear to be fine as well.

Does anyone have any idea why the memo datatypes are causing an error to occur?

Any help would be really appreciated as I am very illiterate when it comes to MS Access.

Cheers

Julie.
Nov 7 '06 #1
3 1985
MMcCarthy
14,534 Expert Mod 8TB
This would depend on your code.

Can you copy and paste the code into a post so we can have a look at it.


Hi,
I'm currently using MS Access 2000 to keep all my actors measurements, resumes and personal details on a database.

To upload their details onto our website, I have built an event so when I run the query, only certain data is selected and exported onto a separate database that I can easily upload onto our ftp server.

It has been working fine for all year until the past few weeks I have run into some problems.
Initially when I pushed the button to run the query, an error box popped up and I have the choice to end or debug.
When I choose debug, some of the coding appears with a few lines highlighted. Since playing around with it trying to fix it, this has stopped happening and instead an 'error, MS Access must close' box is appearing instead. I can't remember what the number of the initial error report was.

Through trial and error, I have discovered that this error only occurs when 'memo' datatypes are in the code.
The Text, Yes/No, Date, Number datatypes in the coding don't cause any problems at all and so when I exclude the memo datatypes, the query works fine.

I have double checked the 'memo' datatypes on my form to make sure their names and control sources haven't changed for any reason and they appear to be fine as well.

Does anyone have any idea why the memo datatypes are causing an error to occur?

Any help would be really appreciated as I am very illiterate when it comes to MS Access.

Cheers

Julie.
Nov 7 '06 #2
I have made a new discovery which may be contributing to my database problem.



It is a very strange entry that I didn't enter in there.
Normally, I can easily alter or delete a person's entry off that table. If i try to do that with this entry, I either get a pop up box saying:
"the jet databse stopped working cause another using is using....", or else the database errors and closes down.

I don't want to jump to conclusions but do i have a hacker?

The code shouldn't be a problem because it has worked fine all year until the past 2 weeks (which is when this entry probably appeared).

I have tried to copy/cut out all of my normal entries except for that strange one so i can copy them into a new database and it won't let me - same error problem occurs.

I don't know what else i can do?!?
Nov 7 '06 #3
MMcCarthy
14,534 Expert Mod 8TB
This looks like corruption. It can happen when database is closed using close button on window rather than exiting the database correctly.

Create a new table and append all the records excluding the corrupted record and see if that solves your problem. Once you have done this I would recommend running a compact and repair. Take a copy of your database first.
Nov 7 '06 #4

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

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
9
by: Dom Boyce | last post by:
Hi First up, I am using MS Access 2002. I have a database which records analyst rating changes for a list of companies on a daily basis. Unfortunately, the database has been set up (by my...
1
by: Ken | last post by:
I wrote a function to use in queries that takes a date and adds or subtracts a certain length time and then returns the new value. There are times when my function needs to return Null values. ...
8
by: skinnybloke | last post by:
Hi - I have a problem with a memo field being truncated to about 255 characters when running a Access 2002 query. This only seems to happen if I use SELECT DISTINCT. It works ok using SELECT by...
9
by: hope | last post by:
Hi Access 97 I'm lost on this code please can you help ================================= Below is some simple code that will concatenate a single field's value from multiple records into a...
2
by: Kevin | last post by:
Thanks for the very quick response posting that I can use a memo datatype to store large amounts of text. I understand that I can turn on "Can Grow" for a memo type, but is there either a...
0
by: mathewbutler | last post by:
Access 2000 SR-1 I've spent some time investigating this, and researching both here and on the MS support site. Briefly; Problem Description: ------------------------------- I have the...
3
by: Kunal Desale | last post by:
Hi, How to insert/update data in foxpro table field having datatype MEMO using Linked Server? I have written sql insert queries in which i have used linked server to insert data into foxpro...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.