how to find the current record when you come back from a pop-up fo

S

SOS

Hi, I really need help in this issue.
I have a main form which contains several subforms. One of the subform is a
continueous form with several text fields and on open form button. in this
subform, it will display several records. When user press the open form
button in one of the record, it will pop up another pop up form. Now, the
problem is when I finish the pop-up form, I need to change the color of the
open form button in the subform. In programming, I change the button color
after I close the pop-up form. Then I found out button in every record in
the subform was changed. What should I do? I only want to change the button
which opened pop-up form, not every one in the sub form.
I know that specific record id in the subform calling pop-up form. Should I
read that record one more time to find that specifc record? Is there anyway,
I can save the calling button location or somehow I can come back when I
finish the pop-up window.
 
K

Ken Snell \(MVP\)

For a continuous forms view, you cannot selectively change to color of just
one button on one record when that button is in that form's Detail section.
Although it appears that each button is separate, what you see are just
copies of one button. What you do to one button is done to all of them.
 
S

SOS

Thank you very much for your reply. Is there any other way that I can put in
the subform to indicate that there is data in the pop-up form?
 
K

Ken Snell \(MVP\)

Give us more explanation of what you're doing and what you want to indicate
to the user -- what is the visual indicator supposed to tell the user, etc.
I'm sure we can assist with a way to achieve your desired goal.
 
R

Robert Morley

It's a kludge, to be sure, but you could simulate a button using a text box,
then use Conditional Formatting to change the colour based on a simple test.
It'll be sluggish, and probably not all that desirable, but it'll get you
there, theoretically.



Rob
 
S

SOS

Thanks for all the inputs. In fact, the button is an entrance to pop-up form.
I want the button change color when user enters data in the pop-up form. In
this way, when user in the main form, they can tell if there is any data
entered in the pop-up form by the color of the button. Well, I will try the
text box method to see if I can make it work.
Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top