Hello, someone know how to validate a screen. What I want to do is that to the moment to press a button my procedure is executed in case it is proved, but them finds that there throws myself a box of text that says to me that did not find records. This is the code that I have in my button:
FIND M_polcostos.
IF AVAILABLE M_polcostos THEN
RUN costos.w(docs-x-pagar.pol_costo, docs-x-pagar.cve_empresa, docs-x-pagar.cve_zona, docs-x-pagar.a-o).
ELSE
MESSAGE "No se encontraron polizas de costos" VIEW-AS ALERT-BOX ERROR.
But say to me that more than a record of the table they were found by the unique find (3166).
FIND M_polcostos.
IF AVAILABLE M_polcostos THEN
RUN costos.w(docs-x-pagar.pol_costo, docs-x-pagar.cve_empresa, docs-x-pagar.cve_zona, docs-x-pagar.a-o).
ELSE
MESSAGE "No se encontraron polizas de costos" VIEW-AS ALERT-BOX ERROR.
But say to me that more than a record of the table they were found by the unique find (3166).