[AccessD] A2000: Move to next record - Not Bound

Hale, Jim Jim.Hale at FleetPride.com
Fri Jun 9 10:35:00 CDT 2006


<and set a collection behind the form,containing all of the records.>

Do you have a code snippet to show what you are doing? Thanks
Jim Hale

-----Original Message-----
From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com]
Sent: Friday, June 09, 2006 10:04 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] A2000: Move to next record - Not Bound


First of all, congratulations! ;)

Second, unless I am dealing with a huge recordset, I prefer to create a
record 'class', one with a property for each field.  I then load the
recordset (when the form loads), and set a collection behind the form,
containing all of the records.  Then you can add 'navigation' buttons which
simply load the next or previous record.

Drew

-----Original Message-----
From: Darren DICK [mailto:darrend at nimble.com.au]
Sent: Friday, June 09, 2006 8:17 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] A2000: Move to next record - Not Bound


Hi all
I am going to try an unbound experiment (I know I know) - all the Unbounders
-
back in yer seats
 
So...What's the syntax for not binding a form to a table or query
 
I assume you find the first record in the table you want to display and bind
the
form to one record at a time?
(So it's not true unbound - I agree but...)
 
How do you move to the next or previous records?
Using something like... 
select * from Accounts where AccountID = me.txtAccountID + 1 
won't successfully navigate me forward or back - I need to 'ignore' deleted
records etc
 
So what's the general consensus for navigating forward and back through
single
records at a time?
 
many thanks in advance
 
Darren
 
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

***********************************************************************
The information transmitted is intended solely for the individual or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of or taking action in reliance upon this information by
persons or entities other than the intended recipient is prohibited.
If you have received this email in error please contact the sender and
delete the material from any computer. As a recipient of this email,
you are responsible for screening its contents and the contents of any
attachments for the presence of viruses. No liability is accepted for
any damages caused by any virus transmitted by this email.


More information about the AccessD mailing list