Looping through records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm building an XML file by looping through records in a table. Some records
may have a bad CustomerID that I've flagged earlier by appending a 1 to the
record.

I'd like the Loop to skip to the next record if it sees a bad ID flag. How
do I skip the current record and move to the next without completely exiting
the loop?

Thanks,

Todd
 
Todd,

Look at these two examples. Maybe they will help you. BTW, these are air
code....

'------------------------------------------------------
Sub WriteXML_1()

open recordset (rst)

DO

IF NOT (Bad_ID_Flag=1) Then
 
Back
Top