Mike Yearwood
Toronto, Ontario, Canada
>>>>>>>>>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)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement