Discussion Locked

Find Record in main as well as sub form

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Iam new to access development i have two forms one is main and another one is a sub form embedded in the main form. I want to search a particular field in all records it may exist in main or a sub form. How do I implement the same.

Thanks

1 reply

by miss kitty

In main:
dim test as string

in subform
if main.test = "xxxxx" then

You can also declare test as global and get more in depth, but this is the easiest.

This discussion is closed to new replies.