Hi all,
I have a fairly large Access2000 application (FE/BE). One of the
subforms (in datasheet) has a dropdown list named BackSplash. It's a
ValueList, not LimitToList, bound to the BackSplash field in the
underlying query.
The subform also (among various other fields) has a textbox named
LineItemPrice. This is the last field in the datasheet.
I enter a new value in the LineItemPrice field, and hit Tab to go the
next row.
In the Form_AfterUpdat e of that subform I write among other things:
If Me.BackSplash.V alue = "Full" Then
This line causes a problem, in that when I hit tab, focus stays in the
LineItemPrice field. The field's value is being selected. A second
tab, and focus will move to the next row.
However, if I change the IF statement to:
If Me.RecordsetClo ne.Fields("Back Splash").Value = "Full" Then
then the cursor moves to the first field in the next line, like
normal.
Behavior is the same in Access 2003 (on same machine).
I did export all objects to text files and imported them in a new
database - same behavior.
The reason I'm a stickler about this otherwise minor inconvenience is
that I have an error in a function called after this code, that's
entirely unreasonable. See my post "Recordset problem due to
corruption?"
Thanks for any insights.
-Tom. 2 1336
On Sun, 21 Aug 2005 20:45:37 -0700, Tom van Stiphout <no************ *@cox.net>
wrote: Hi all, I have a fairly large Access2000 application (FE/BE). One of the subforms (in datasheet) has a dropdown list named BackSplash. It's a ValueList, not LimitToList, bound to the BackSplash field in the underlying query. The subform also (among various other fields) has a textbox named LineItemPric e. This is the last field in the datasheet. I enter a new value in the LineItemPrice field, and hit Tab to go the next row. In the Form_AfterUpdat e of that subform I write among other things: If Me.BackSplash.V alue = "Full" Then This line causes a problem, in that when I hit tab, focus stays in the LineItemPric e field. The field's value is being selected. A second tab, and focus will move to the next row. However, if I change the IF statement to: If Me.RecordsetClo ne.Fields("Back Splash").Value = "Full" Then then the cursor moves to the first field in the next line, like normal.
Behavior is the same in Access 2003 (on same machine). I did export all objects to text files and imported them in a new database - same behavior.
The reason I'm a stickler about this otherwise minor inconvenience is that I have an error in a function called after this code, that's entirely unreasonable. See my post "Recordset problem due to corruption?"
Yes - the problem you describe can be caused by corruption, and it is one of
the more common symproms of corruption. Using those expressions (dot
references to controls) also seems to increase the frequency of corruption
occurring, especially if name autocorrect is turned on (BTW - always turn that
off).
In general, I always use bang (!) references to controls on a form, not dot
(.).
On Sun, 21 Aug 2005 21:31:42 -0700, Steve Jorgensen
<no****@nospam. nospam> wrote:
Hi Steve,
Thanks for your reaction. The variants:
If BackSplash = "Full"
If Me!BackSplash = "Full"
did not yield better results.
I will try to get rid of the corruption tomorrow at work, on our
"clean machine".
-Tom. On Sun, 21 Aug 2005 20:45:37 -0700, Tom van Stiphout <no************ *@cox.net> wrote:
Hi all, I have a fairly large Access2000 application (FE/BE). One of the subforms (in datasheet) has a dropdown list named BackSplash. It's a ValueList, not LimitToList, bound to the BackSplash field in the underlying query. The subform also (among various other fields) has a textbox named LineItemPrice . This is the last field in the datasheet. I enter a new value in the LineItemPrice field, and hit Tab to go the next row. In the Form_AfterUpdat e of that subform I write among other things: If Me.BackSplash.V alue = "Full" Then This line causes a problem, in that when I hit tab, focus stays in the LineItemPri ce field. The field's value is being selected. A second tab, and focus will move to the next row. However, if I change the IF statement to: If Me.RecordsetClo ne.Fields("Back Splash").Value = "Full" Then then the cursor moves to the first field in the next line, like normal.
Behavior is the same in Access 2003 (on same machine). I did export all objects to text files and imported them in a new database - same behavior.
The reason I'm a stickler about this otherwise minor inconvenience is that I have an error in a function called after this code, that's entirely unreasonable. See my post "Recordset problem due to corruption? "
Yes - the problem you describe can be caused by corruption, and it is one of the more common symproms of corruption. Using those expressions (dot references to controls) also seems to increase the frequency of corruption occurring, especially if name autocorrect is turned on (BTW - always turn that off).
In general, I always use bang (!) references to controls on a form, not dot (.). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Noa Garnett |
last post by:
I'm developing on C++, using visual studio 6.0 with service pack 5.
I have a memory corruption while debugging. Some of the variables I'm
using are suddenly set to zero while progressing along the code.
The specific location of the memory corruption depends on the names I
give my local variables, on putting some of the codes in curly
brackets - {}, and on having the watch window open.
I already cleaned and re-built my project.
Can anyone...
|
by: Arno R |
last post by:
Hi all
Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at.
I converted an A97 app to A2k.
I have done this often enough so I didn't expect trouble here.
Conversion seems OK and I start the app. BUT . . .
Mainform doesn't work. Form comes up but none of the buttons react.
Why not? I go to design view and see that code is not compiled. (compile-option is active)
So I compile and go to normal...
|
by: Mark C. |
last post by:
The company I work for has been running Access 2000 on a Windows NT
server with Opportunistic Locking turned off on the server without
issue for almost a year. We have just switched to a Windows 2000 file
server with service pack 3 installed and are now experiencing at least
2 corruptions a day. The registry setting for Opportunistic Locking
that was on the Windows NT server does not exist on the Windows 2000
server so we can not make the...
|
by: Mike |
last post by:
I have done a lot of research on DAO and database corruption and have
not yet found any solid information for my problem. I use DAO
extensively in my Access 97 databases (back-end on network, front-ends
on clients' computers). I'm having some difficulties with the
multi-user environment (my databases corrupt frequently) and I'm
thinking it has to do with how I'm using DAO to read/write to
recordsets.
Up until now, I have been setting...
|
by: Rob Geraghty |
last post by:
I've just spent some time looking through FAQ sites and searching the
google archives of this newsgroup, but I still haven't been able to
find a clear explanation of an issue with multi-user databases.
Essentially I have two questions;
1) Does the system.mdw file have any significance to multi-user
sharing of an Access 97 database other than security?
2) Can any number of users open an Access 97 database using the same
| |
by: ranjeet.gupta |
last post by:
Dear All
Is the Root Cause of the Memory corruption is the Memory leak, ??
suppose If in the code there is Memory leak, Do this may lead to the
Memory Corruption while executing the program ?
In nut shell, what is/are the realtion/s between the Memory Leak and
Memory Corruption.
Juts Theoritical Assumtion below:
|
by: Dave G |
last post by:
Since upgrading one of my clients from A97/W2000 to A2003/XP they have
suffered no end of data corruption problems, mainly involving one of
the main tables. The corruption can result in one record's fields
turning into chinese characters. On running the compact/repair I can
see that the corruption may be deeper than I expected because sometimes
indexes are missing and need to be replaced.
I used to think that overuse of 'ctrl-alt-delete'...
|
by: Owen Jenkins |
last post by:
I have an Access 2000 app which is in use by about 20 clients on LANs
where each LAN would have between 2 and 6 PCs networked. The main form
is a tabbed form with multiple subforms. It has been in use for several
years and the only corruption issues I have had have been a few
instances of a corrupted memo field and I've been able to copy and paste
the rest of the record successfully.
After a recent update (I update the front end...
|
by: Doug |
last post by:
I am in a friendly debate with some co-workers... and my boss.
We use Access 2003 for the frontend (on workstations) as well as for
the backend (on a Dell PowerEdge running Windows 2000 server, SP4).
We have approx. 20 users *logged in* at any one time (over 300
userid's exist), but we have never run metrics to see how many on
average are accessing the database concurrently.
About once every few weeks, the database mysteriously becomes...
|
by: Wayne |
last post by:
I have an Access 2003 data file that has now corrupted twice in a
week. The database is extremely simple with one main data table and a
few lookup tables. The lookup tables are linked to the main table via
relationships. Each user has their own copy of the frontend which
links back to the data file on the server.
The corrupted data file repairs OK but on both occasions 2
relationships have disappeared in the Relationships Window. When...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |