473,468 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

still problems with movelast

58 New Member
Hello again,

I have a table that once the user logs in, it adds the crews info (crew, date, and keeps track of numbers that the user adds during the day). It also has an autonumber. The problem I am having is that the addnew works great, it adds the user and their info. Problem is later on during the program, when the user adds info during the day, I open the recordset and change the numbers as the user enters the info (eg. number of bags, number of cans). This is supposed to be a running total throughout the day. When I open the recordset and put in rs.movelast, it only goes to like 10 records in and adds all the numbers on to that record. So the record gets all the numbers. It adds the numbers correctly and changes all the info needed to be changed, it just does not go to the last record. I do not know why this is.

Andrew
Oct 15 '07 #1
4 2089
NeoPa
32,556 Recognized Expert Moderator MVP
I'm not sure why you'd use MoveLast in your logic. Surely there is data in the record which identifies the one you need to update (uniquely). Is it even safe to assume all day that the record you want is necessarily still last?
This issue should never arise as you should always be specifying the record you're interested in.
Oct 15 '07 #2
rudeman76
58 New Member
actually i was just thinking the same thing after i posted it. Thanks

Andrew
Oct 15 '07 #3
NeoPa
32,556 Recognized Expert Moderator MVP
No worries Andrew. Another easy one then ;)
Oct 15 '07 #4
rudeman76
58 New Member
You guys have no idea how much help you have been. And very quick at replies too.

Thanks alot.

Andrew
Oct 15 '07 #5

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

Similar topics

1
by: joeandtel | last post by:
Whenever I use the function moveLast() I get an error that states, "Rowset does not support fetching backward"
9
by: JMCN | last post by:
hi- i have inherited an access 97 database that keeps track of the loans. i have been running into referential intergrity problems when i try to append new loans to table. first of all is a...
1
by: Mark | last post by:
All, Users of the database I have built receive an automated text file from one of our systems at work via e-mail. A problem with the text file exists which I have no control over. The problem is...
1
by: Marcin Zmyslowski | last post by:
Hello! I use data.read and data.getValue(Id_column) to get the value of specified column. Unfortunately there are some differences between VBScript and Visual Basic (MS Access) and I cannot move...
4
by: john | last post by:
I'm having some Interop problems. I really need someone's help on this, i'm running out of ideas. I have upgraded my Data access controls to the latest ver. Now then i have a form with these...
1
by: marco.loskamp | last post by:
Hallo, Kurzversion: erstellt Access eine volle Kopie der Tabelle, wenn mit Currentdb.OpenRecordset("Tabelle") eine Tabelle zum Direktzugriff geöffnet wird? Hintergrund: Tabelle 1.25GB,...
2
by: le0 | last post by:
Hello guys, I have this little problem in query, i queried one table and sort this record in descending order but when I declared the recordset to move in the last record but the browser rerurns...
4
idsanjeev
by: idsanjeev | last post by:
first i want to use link href to click and display its data on next page. and anther work i want to do selected redio buttons top_id is submetted in another recordset. please help me soon <%@...
4
by: AlexNunley | last post by:
I've adopted a moderately sized (65k records) active use database (Access 2000, Windows XP). One of the most commonly used forms is whats called the RMA generation field, used to add claim...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
1
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
tracyyun
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...
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
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.