Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2005, 12:14 PM
Authorized User
 
Join Date: Dec 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default looping through 2 tables

Hi

I have a function which compares the value in two tables. I retrieve the first value from 1 table then loop through another table and look for that value. Once the EOF in the second table is reached it should move on to the next value in the first table. Can I test this ie can I avoid having to F8 through 1000 records whilst debugging?

Cheers
Tony
__________________
Cheers
Tony
 
Old February 4th, 2005, 01:01 PM
Registered User
 
Join Date: Feb 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Make a "test table" for yourself that is a subset of your 1000 record table.

 
Old February 4th, 2005, 01:12 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Or restrict your recordset with sql.

ex. If there are dates do a date range WHERE date1 BETWEEN beg_date AND end_date






Similar Threads
Thread Thread Starter Forum Replies Last Post
Looping ssaranam SQL Server 2005 2 April 17th, 2008 01:40 AM
Looping deepsea007 XSLT 1 June 14th, 2007 12:13 PM
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Looping..? dedex C# 2 January 6th, 2005 11:24 PM
xslt looping with tables... lukemedway_uk XSLT 16 December 24th, 2003 12:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.