G
Guest
Hi all,
I want to use the "loop untill command to do the following :
I have two forms : the main form is called "dblswap" the subform is called
"accepted swaps", on opening the form I'd like that the subform "accepted
swaps" loops the command 'DoCmd.Find next" till the following condition is
achieved :
[Forms]![dblswap]![accepted swaps]![Form].[Agent1] =[Agent1] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent1] =[Agent2] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent2] =[Agent1] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent2] =[Agent2]
How can I do that ? Is there another way to do this without using "loop
until"???
Regards
I want to use the "loop untill command to do the following :
I have two forms : the main form is called "dblswap" the subform is called
"accepted swaps", on opening the form I'd like that the subform "accepted
swaps" loops the command 'DoCmd.Find next" till the following condition is
achieved :
[Forms]![dblswap]![accepted swaps]![Form].[Agent1] =[Agent1] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent1] =[Agent2] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent2] =[Agent1] Or
[Forms]![dblswap]![accepted swaps]![Form].[Agent2] =[Agent2]
How can I do that ? Is there another way to do this without using "loop
until"???
Regards