Information générale
Catégorie:
Produits tierce partie
I'm reposting, as part of the message was missing for some reason...
What should the syntax be for a filter that is applied to a child cursor when the filter contains a reference to an object on the form?
I can get the filter to work by using SET FILTER TO plan_code = thisform.pgfpagerefresh1.page5.lstplantype.value, but I get an error when cancelling the form when the cusPushPopRecNo.Destroy method is run. The command IF !eval(filter(.icSaveAlias()) in this method errors with "Object is not contained in a form.". I have tried using SET FILTER TO _Screen.Activeform.Pgfpagerefresh1.Page5.LstPlanType.Value. The filter works, but I get a syntax error on the same line in the cusPushPopRecNo.destroy method.
It seems I need to somehow get the object reference of the form that I'm cancelling from in the filter command, but I can't seem to get the syntax right. Any ideas?
Tim
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