C
Crazy AL
Hi there,
I saw a request dated back to feb/March of 2006 that could possibly
solve my issue but kind of left me a little lost on how to do it. let me
back up and explain. (Don't worry, I'll keep it simple.)
I'm trying to get my macro to read thru a query to the end (last record)
however I always get an error. Tried to do some conditions based on NULL or
values but I always get the "You can't go to the specific record / You may be
at the end of a recordset" error message. How can I setup my macro to stop
looping thru when it reaches the end of entered records?
here is my macro so far.
open query
gotorecord (first record)
runmacro AAA (based on repeat expression) <----- my problem
AAA blah blah stuff (procedure of whatever)
goto record (next record)
--------------------------------------
What can I put in the repeat expression to control the looping?
I don't know Visual Basic or how to write modules, sorry
Help please!!!
I saw a request dated back to feb/March of 2006 that could possibly
solve my issue but kind of left me a little lost on how to do it. let me
back up and explain. (Don't worry, I'll keep it simple.)
I'm trying to get my macro to read thru a query to the end (last record)
however I always get an error. Tried to do some conditions based on NULL or
values but I always get the "You can't go to the specific record / You may be
at the end of a recordset" error message. How can I setup my macro to stop
looping thru when it reaches the end of entered records?
here is my macro so far.
open query
gotorecord (first record)
runmacro AAA (based on repeat expression) <----- my problem
AAA blah blah stuff (procedure of whatever)
goto record (next record)
--------------------------------------
What can I put in the repeat expression to control the looping?
I don't know Visual Basic or how to write modules, sorry
Help please!!!