Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - thisform.refresh not working
Message
De
01/04/1997 09:22:47
 
 
À
27/03/1997 16:12:33
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00025856
Message ID:
00026398
Vues:
46
>>>>>>>>>>After I call a browse and move the record pointer,
>>>>>>>>>>when I go back to my form it has not been refreshed.
>>>>>>>>>>help?
>>>>>>>>>
>>>>>>>>>If all controls bound to data source, you have to Thisform.Refresh(). Otherwise you have to refresh Value,Caption,etc. properties programmatically.
>>>>>>>>
>>>>>>>>I have done all of that.. When I call my browse method (browse fields),
>>>>>>>>
>>>>>>>>my error message is
>>>>>>>>
>>>>>>>>Object is not contained in a FORM.
>>>>>>>>
>>>>>>>Give me line of code invoking the error, please.
>>>>>>
>>>>>>
>>>>>>SET FILTER TO &M_FILTER
>>>>>>BROW
>>>>>>
>>>>>>the m_filter is ok ane the brow works before I SET FILTER..
>>>>>
>>>>>What line is highlighted in Debug window when you get the error?
>>>>
>>>>
>>>>BROW
>>>
>>>I presume that something is wrong inside M_FILTER.
>>
>>It works with SELECT * FROM table WHERE &m_filter.
>
>The problem is that the variable m_filter is local to your method. Make the variable public. You might use a grid instead....
>
>Mike Yearwood, Toronto, Ontario Canada (co-founder of the Toronto Foxpro User's Group)

OK... I will try that...

Rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform