Posts by Clarck Maciel • 947 points
57 posts
-
1
votes1
answer64
viewsA: Trying to create my own Java checked exception
You cannot do it in the proposed way, because the method FileInputStream is defined as follows:: public FileInputStream(String name) throws FileNotFoundException { this(name != null ? new File(name)…
-
1
votes1
answer83
viewsA: I need to make a Select in 3 different tables and do not know how to do
The consultation presents some inconsistencies to be remedied: FROM Table A must be FROM A AND a.ANO BETWEEN '01-JAN-2019' AND '01-JAN-2021' A.VENCIMENTO can be and A.VENCIMENTO BETWEEN '01-01-2019'…
-
2
votes2
answers41
viewsA: Varchar operation in SQL 2014
The problem is that it is trying to subtract two varchar-like fields. It will be necessary to make a cast before. That cast will consider the value as date in order to be able to perform the…
-
-2
votes1
answer95
viewsA: Return of a function in Pyton
A function executes an algorithm that returns a value. Its initial function uses variables that need user interaction to inform what it wants. To leave only the function returning the lists, you…
-
0
votes4
answers50
viewsA: Problem comparing java string
instead of: if(format == 'subtrair') use: if(format.equalsIgnoreCase("subtrair")) see this question for more details: How to compare Strings in Java?…
javaanswered Clarck Maciel 947 -
2
votes1
answer58
viewsA: How to show Yes and No instead of 0 and 1 in java?
Since the display possibilities are for Yes or Not, you could put two outputText varying their display by means of the attribute rendered as follows: <p:column id="flag" style="width:50px"…
-
1
votes2
answers645
viewsA: Passing a variable within a precedent
Dear, Sender is the reference of the object making the request to the method, in this case it is Twebbrowser itself. procedure TForm1.OnDocumentComplete( Sender: TObject; const pDisp: IDispatch; var…