Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

REFRESH NON FOCUSED FORM

Posted on 2011-03-15
1
Medium Priority
?
416 Views
Last Modified: 2012-05-11
Hi Experts

I have Form1 with Text1 listbox. which displays the data from veriable Spellx.
by clicking a button I open Form2 and make some changes to Spellx veriable.
I would like to update form1 text1  listbox as I make changes to Spellx while still working on Form2.
Please help
Thanks
0
Comment
Question by:b001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 43

Accepted Solution

by:
pcelba earned 2000 total points
ID: 35140941
You may either find the calling form in _Screen.Forms[] collection:

FOR EACH loForm IN _Screen.Forms
  IF loForm.Name = "YourFormName"
    loForm.Refresh
  ENDIF
NEXT

or you may pass the Form1 reference to the Form2 and call it directly from Form2:

Form1.Button.Click:

DO FORM Form2 WITH THISFORM

and Form2 must contain PARAMETER statement in its Init method which you'll use as a reference for the Refresh.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question