473,395 Members | 1,401 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,395 software developers and data experts.

Displaying a count of records that have been processed

I am checking records between two tables. If there is no duplicate, the
record is added to the second table. (The master list is controlled by
another organization. The second list can be manipulated at the local
level with entries that are not on the master list.)

This operation takes some time and I want a text box (or label) to
display the message "Processing Record x of n master records."

lngCount counts the records being processed. At the end of each check
and before lngCount is updated, I tried
txtCount.Value = "Processing Record " & intCount
The textbox changes only after ALL of the records have been checked.

I used the timer event to change the textbox, but that doesn't fire
while the code to check the two tables is running.

Any suggestions?
Thank you in advance.
Deborah

Aug 19 '06 #1
2 2237
dg******@twcny.rr.com wrote in
news:11*********************@i42g2000cwa.googlegro ups.com:
I am checking records between two tables. If there is no
duplicate, the record is added to the second table. (The
master list is controlled by another organization. The second
list can be manipulated at the local level with entries that
are not on the master list.)

This operation takes some time and I want a text box (or
label) to display the message "Processing Record x of n master
records."

lngCount counts the records being processed. At the end of
each check and before lngCount is updated, I tried
txtCount.Value = "Processing Record " & intCount
The textbox changes only after ALL of the records have been
checked.

I used the timer event to change the textbox, but that doesn't
fire while the code to check the two tables is running.

Any suggestions?
Thank you in advance.
Deborah
Immediately following your textbox update add a line with the
statement DoEvents
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Aug 19 '06 #2
On 19 Aug 2006 21:04:39 GMT, Bob Quintal <rq******@sPAmpatico.ca>
wrote:

If you use the statusbar instead, it will paint automatically. See
SysCmd in the Help file.

-Tom.
>dg******@twcny.rr.com wrote in
news:11*********************@i42g2000cwa.googlegr oups.com:
>I am checking records between two tables. If there is no
duplicate, the record is added to the second table. (The
master list is controlled by another organization. The second
list can be manipulated at the local level with entries that
are not on the master list.)

This operation takes some time and I want a text box (or
label) to display the message "Processing Record x of n master
records."

lngCount counts the records being processed. At the end of
each check and before lngCount is updated, I tried
txtCount.Value = "Processing Record " & intCount
The textbox changes only after ALL of the records have been
checked.

I used the timer event to change the textbox, but that doesn't
fire while the code to check the two tables is running.

Any suggestions?
Thank you in advance.
Deborah

Immediately following your textbox update add a line with the
statement DoEvents
--
Bob Quintal

PA is y I've altered my email address.
Aug 19 '06 #3

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

Similar topics

8
by: Bri | last post by:
Greetings, After making various edits and deletes on aproximately 40,000 records in one table (on the Design Master) syncronization fails with Error 3052 - File Sharing Lock Count Exceeded....
3
by: Susan Bricker | last post by:
I have a group section footer in a Report in which I want to display various "counts" (not sums). For example: some of the fields in the recordset from the query are: score = integer qualified...
7
by: SueB | last post by:
Greetings. I have a report based on the following query (hang in there ... it's quite long): SELECT Year(.) AS Yr, tblEvents.eventID, tblEvents.eventname, tblEvents.eventhost,...
4
by: Tim T | last post by:
Hi, I have a stored procedure executing a search and an asp.net page displaying the results in a datagrid. The datagrid has paging on it, I am using Visual Studio.NET and can't see any option...
13
by: comp.lang.php | last post by:
I have currently devised a way to display up to 3,000 records via PHP/HTML by using pagination techniques that stuff an entire DB query resultset into a $_SESSION object to use within pagination. ...
8
by: Greg Lyles | last post by:
Hi all, I'm trying to develop an ASP.NET 2.0 website and am running into some real problems with what I thought would be a relatively simple thing to do. In a nutshell, I'm stuck on trying to...
13
by: David W. Fenton | last post by:
I've been struggling the last two days with something I thought was very easy, which is to open a web page with a form on it and populate the form with data passed in a query string (either POST or...
3
by: James R. Davis | last post by:
I am an absolute beginner and finding myself confused at every step that I take in the learning process. It will get better. Anyway, I have a SqlDataSource control on a form and at page load...
4
by: sahil | last post by:
Hello frends i am learning c language, I want to make a program which count occurence of each element in an array .I write following code for it but ity is not giving me desired result.pls help me....
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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
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.