473,399 Members | 4,254 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,399 software developers and data experts.

calculating offset question

i ran into a problem using
docmd.gotorecord , , goto, value
i didnt realize value meant offset as I have been using the primary key to
jump to records and since it was autonumber, it worked fine

now that I have deleted some records that are no longer needed, the offsets
have changed. How do I calculate what the new offset should be for the
current record?

i am hoping for the code to use in an [event procedure]
thnx alot...steve


Nov 13 '05 #1
1 2014
figured out an alternative

please disregard
"Steve" <1@2.com> wrote in message
news:WE***************@newsread3.news.atl.earthlin k.net...
i ran into a problem using
docmd.gotorecord , , goto, value
i didnt realize value meant offset as I have been using the primary key to
jump to records and since it was autonumber, it worked fine

now that I have deleted some records that are no longer needed, the offsets have changed. How do I calculate what the new offset should be for the
current record?

i am hoping for the code to use in an [event procedure]
thnx alot...steve




Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bergel | last post by:
Hello, Regarding the variable layout with multi inheritance, I looked into a couple of C++ books but I was not able to find a descent answer. Let assume I have the following: class A{ int x;...
0
by: D. Dante Lorenso | last post by:
I need to know that original number of rows that WOULD have been returned by a SELECT statement if the LIMIT / OFFSET where not present in the statement. Is there a way to get this data from PG ?...
11
by: Bradford Chamberlain | last post by:
I work a lot with multidimensional arrays of dynamic size in C, implementing them using a single-dimensional C array and the appropriate multipliers and offsets to index into it appropriately. I...
3
by: Arto Huusko | last post by:
Hello, I'm wondering about the portability and correctness of the following scenario. I have a generic doubly linked list structure, and it contains generic nodes that look like this: ...
3
by: some one | last post by:
Does anyone know the algorithm or a function out there that will compute the offset location given the following: inputs: 1) x,y coordinate of starting point 2) angle (bearing) 3) distance to...
3
by: spleen | last post by:
Hiya, Im working on a project to read in a file (its a bitmap, but thats irrelevant) and I want to read in all the data after an offset, ive tried using - fread(bitmap_buffer, offset, 1, fp);...
38
by: jdcrief | last post by:
Complier: Visual C++ 2005 Express Edition The program I wrote will compile and execute, but the output is always the same, no matter what number is entered in for the radius of the circle. ...
9
by: cman | last post by:
What are the mechanics involved in the calculation of an offset of a structure member, demonstrated in this piece of code? #define list_entry(ptr, type, member) \ ((type *)((char...
2
by: Ham Pastrami | last post by:
Since my HTML is failing to render properly on either FF2 or IE6, I wonder if my understanding of the CSS is faulty. What I want is to place a little box at the top right corner of my content area,...
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
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
marktang
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,...
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...
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,...

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.