473,406 Members | 2,217 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.

Anyone else with record offset problems using ContinuousFormsCurrentRow logic?

Hi,

Has anyone else had a record offset problem using the ContinuousFormsCurrentRow sample database (2007 Access.) The rows seem to be off by one. Would really appreciate the help!

Thanks in advance.

Laurie
Jan 7 '11 #1
4 1724
Not sure what you mean but at a guess, are you expecting record 0 to report that it is actually record 1 ? unless you change the base setting (I think thats what it is) counting indexes begin at 0 upward and not 1.
Jan 9 '11 #2
RuralGuy
375 Expert 256MB
Where would we find that sample db?
Jan 9 '11 #3
Find this (in the Private Sub ctlTextBox_MouseMove):
Expand|Select|Wrap|Line Numbers
  1. ' Calculate which row we are on adding in the ScrollBar Thumb offset.
  2. lngTemp = (sngY \ m_Form.Section(acDetail).Height) + lngRet -1
and replace with this:
Expand|Select|Wrap|Line Numbers
  1. ' Calculate which row we are on adding in the ScrollBar Thumb offset.
  2. lngTemp = (sngY \ m_Form.Section(acDetail).Height) + lngRet
At least, that seems to have fixed it. Though be aware that this class doesn't seem to work in 2007/2010. It doesn't sense the scroll bar position.

Sample DB here: http://www.lebans.com/conformscurcontrol.htm
Jan 15 '13 #4
In Private Function fIsScrollBar

Change "scrollBar" to "NUIScrollbar" (or maybe LIKE "*scroll*" instead of =) and undo the last edit I suggested.
Jan 16 '13 #5

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

Similar topics

0
by: Michael Hobbs | last post by:
I just wanted to see if anyone else experienced a problem with the Thread.join() method in Python 2.4. Unfortunately, I did not debug this problem fully before re-writing my code to avoid...
12
by: Luther Hert | last post by:
While trying to work through textbook lessons for Vb.net Step by Step,Version 2003, Chapter 22, the first step is to create a new Web application Project,using the ASP.Net Application icon in the...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: CJ Taylor | last post by:
Alright, So I've been having this weird display error... which ironically I found someone withthe same problem back in february ...
0
by: Al Fatykhov | last post by:
Using MABLE logic engine with existing .NET applications. MABLE web services provide an interface to MABLE business objects and logic. Let us review some technical details of the MABLE web...
0
by: moniqui | last post by:
Bobby (or anyone else), I found a response that you had written to someone who is having the exact same problem that I am at the moment. I have an unmanaged C++ shared mfc extension dll, and I...
11
by: Ken Fine | last post by:
I am using VS.NET 2008 and like it a lot. One of the very few things I don't like is a bug that seems to spawn literally thousands of   strings, one after the other, on design view changes....
18
by: miller.paul.w | last post by:
Ruby has a neat little convenience when writing loops where you don't care about the loop index: you just do n.times do { ... some code ... } where n is an integer representing how many times you...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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...

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.