Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Aug 2001
    Can Jose, CA
    Thanked 0 Times in 0 Posts

    macro looping until criteria met (access 2k)

    <!post=Post 162493,162493>Post 162493<!/post> asked another way. Does anyone know how to loop a macro reading a query record by record until "end-of-file" if found?

    Edited by Charlotte to link post

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Sacramento, California, USA
    Thanked 1 Time in 1 Post

    Re: macro looping until criteria met (access 2k)

    Frankly, it would be harder to figure out a method in a macro than to learn to write the code to do it in a code routine. You can't loop macros. I know that's a sweeping statement and someone may come back with a clever workaround, but macros are very limited in their ability to handle conditional branching. You would have to call the same macro over and over again and find some way of telling it to move to the next record. Macros simply weren't meant for this kind of data manipulation. They're the justification Microsoft uses for calling Access and end-user product. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

Posting Permissions

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