How do I only print out certain records from a rec

Results 1 to 3 of 3

Thread: How do I only print out certain records from a rec

  1. #1
    Linh Le Guest

    Default How do I only print out certain records from a rec

    Say, if I only want to print out records that have a &#039 2&#039 under, say, the &#039Number&#039 field?<BR><BR>Or print out records that have a value under the &#039Number&#039 field that is equal to the number &#039 3&#039 in the &#039BigNumber&#039 field in another recordset?

  2. #2
    Mark Vick: mnmvick@kc.net Guest

    Default RE: How do I only print out certain records from a

    Really need more info than that, but:<BR><BR>WHILE NOT(RS.EOF)<BR> IF RS("Num_Field") = 2 THEN<BR> Write it out<BR> END IF<BR> RS.MoveNext<BR>LOOP<BR><BR>or IF RS("Num_Field") = RS1("Big_Field") THEN

  3. #3
    Linh Le Guest

    Default Got it, thanks

    Should&#039ve thought of it myself....pretty darn simple.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •