AXPESQUI()
AxPesqui()Invokes interactive search in a legacy browse context.
Overview
The AXPESQUI() page shows a call without arguments: it selects an index and accepts a search expression to position a browse. It does not replace DbSeek in noninteractive processing. Configure the option in aRotina of an already prepared browse; framework context passed to menu actions does not establish public function parameters. The page does not formalize a return. (TOTVS, n.d., ref. 1)
Syntax
AxPesqui()Return value
The consulted page does not specify a return contract; the example does not use it.
Commented example
#Include "Protheus.ch"
User Function EdAxpesqu()
Private aRotina := {}
// Configuration fragment; requires a prepared browse and alias.
AAdd(aRotina, {"Search", "AxPesqui", 0, 1})
Return NilDefines the search option; the fragment does not start a browse. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Check dictionary indexes and expressions. For Job or REST lookups, use an appropriate data-navigation API with an explicit return.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.