Posts by KillerAll • 261 points
8 posts
-
1
votes1
answer320
viewsA: Change default directory of standard (specific) query in ADVPL
You will need to create a custom font: #include "Protheus.ch" Static _REResult User function REFileAdm() Local cDirInicial := "\PASTA1\PASTA" Local cMascara := "*.doc" _REResult :=…
-
2
votes4
answers829
viewsA: Compile-time type checking ADVPL
ADVPL is a language that has its origin in the Clipper. For you to start there you can use any Clipper manual as a base, but strongly recommend reading the material available at:…
-
0
votes1
answer158
views -
0
votes3
answers240
viewsA: How to read DBF generated in Protheus in Visual Fox Pro?
How did you generate this in Protheus? The DBF it generates normally opens in Excel for example. The file you generated is corrupted, or Visual Foxpro is missing the correct drivers. Remember that…
-
0
votes3
answers315
viewsA: Error: 102 run query via Msexecauto
Protheus creates several controls such as R_E_C_N_O_, in the table, when entering data via direct SQL you will have problems. In fact, you should use the MATA010 Automatic Routine to enter data into…
-
3
votes2
answers1645
viewsA: How to Focus on a MVC Component
It is not recommended to refresh the view within a model validation. Therefore, it is correct to use the VIEW’s own mechanisms: in the viewdef.... bBloco :=…
-
2
votes2
answers1645
viewsQ: How to Focus on a MVC Component
I have a MVC model 3. After validation of a header field(formfield), set the focus to the grid. How to do this?
-
5
votes2
answers658
viewsA: Copy array in ADVPL
The first assignment only references memory, making the two arrays point to the same memory position. So we have: Conout(aArray1[2]) //Imprime B aArray2[2] := "R" //Altera o segundo array faz a…