Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Finding records in databases


Message #1 by "Gordon Shaw" <gordon.shaw@b...> on Mon, 26 Mar 2001 15:10:21 +0100
Hello Everyone,



Can anyone help me?



My database consists of town names and street addresses.  I am using the

find method to find a specific town and a street address.  I can return one

street address or several street addresses for any given town.  What I

really want is to find a town and the first street address, then click on a

button that finds the next street address, then click on a button that finds

the one after that and so on until I run out of records.



What is the best way to code this?



Many thanks,



Gordo





Message #2 by "Markus Hain" <kill@g...> on Tue, 27 Mar 2001 08:18:04
> Hello Everyone,

> 

> Can anyone help me?

> 

> My database consists of town names and street addresses.  I am using the

> find method to find a specific town and a street address.  I can return 

one

> street address or several street addresses for any given town.  What I

> really want is to find a town and the first street address, then click 

on a

> button that finds the next street address, then click on a button that 

finds

> the one after that and so on until I run out of records.

> 

> What is the best way to code this?

> 

> Many thanks,

> 

> Gordo





Easy,



Firs search for all your records, open  a recordset and then use recordset 

paging passing the variables to the next page. Recordset paging will check 

if you are at bof or eof.



Cheers



Markus

> 

> 


  Return to Index