Posts by Leonardo Oliveira • 167 points
15 posts
-
1
votes3
answers61
viewsA: Automatic filling product name
In pure HTML, no, you’ll need to use some other tools, like Javascript, and also, you’ll have to take that information from somewhere, a database, for example. It all still depends on your need.…
htmlanswered Leonardo Oliveira 167 -
3
votes2
answers723
viewsQ: Method "Sort" returning only "None", what is the reason?
I’m solving a problem in Python 3, about lists. Part of my solution involves sorting a list of values float, I decided to use the method sort. This method should return the already ordered list in…
-
1
votes6
answers6000
viewsA: How to get the column properties of a table?
I found the answer in a post on Stack Overflow in English, follow the answer code: SELECT c.name 'Column Name', t.Name 'Data type', c.max_length 'Max Length', c.precision , c.scale , c.is_nullable,…
-
4
votes6
answers6000
viewsQ: How to get the column properties of a table?
I am working with a table created by another person, and there is in it a field of CPF, would like to know what is the size of this field, how many characters it is able to support. I know that in…
-
0
votes2
answers89
viewsA: Calculate number of sales of a seller
You could create a table for each product that counts with its history, inputs and outputs with the order number set as a foreign key. So you can calculate the amount of each product withdrawn per…
-
0
votes1
answer23
viewsA: How to choose all files with the same extension in multiple subfolders in TFS 2018?
I copied all the files to a third folder and only then compacted the files. For this I used the "copy" task to take the selected files to another folder and from there I used the "Archive" task to…
team-foundation-serveranswered Leonardo Oliveira 167 -
1
votes1
answer562
viewsA: How to delete a specific print line in cmd Python
You can use the lib tqdm it has some very interesting bars and it may be that the result avoid the situation you found, in their link you have even a gif with examples of lib use. Here, a simple…
python-3.xanswered Leonardo Oliveira 167 -
0
votes2
answers46
viewsA: How to search for information in two different tables and return the ID of the table where the information is?
You are a little confused. What comes to be pfcc? It can exist as PF and PJ or just as one of the two? Evaluated if UNION does not meet you? This comment gives the solution to the situation, due to…
-
1
votes2
answers46
viewsQ: How to search for information in two different tables and return the ID of the table where the information is?
I have a code that could be of a natural person OR legal, and I have a table for each one (one for PF and another for PJ). I would like to find this user in one of the two tables and return your…
-
0
votes2
answers925
viewsA: How to generate break condition of a repeat loop in Python during its execution?
Your code is almost up, only one instruction left break, in the block of if, simple like this, you would already "break" the repeat loop when the condition was reached. And the block of while would…
-
0
votes1
answer125
viewsQ: How to add reference information in Visual Studio 2017?
On some occasions seeing some colleagues using VS 2017, and even when I used one set up by someone else, I noticed that there is information about references to a class. In the example below, see…
-
2
votes2
answers52
viewsA: Two data cells for one header
I fully agree with the reply of @hugocsl, only that I think I can clarify a little better as the attributes colspan and rowspan work. With a small change, adding the rowspan can occupy more than one…
htmlanswered Leonardo Oliveira 167 -
0
votes3
answers71
viewsA: Why is the pseudo-class :Hover not working?
A comma was missing between the two ID’s there in the CSS declaration, the correct one would be like this: #p2 { display: none; } #p1:hover, #p2 { display: block; } But in this case it will depend a…
htmlanswered Leonardo Oliveira 167 -
1
votes2
answers7988
viewsA: (cmd) How to unzip files from a . zip by Windows cmd
I believe that you can only extract a file this way, by CMD, if you have some program that does this. In the case of Winrar, for example, you can run this command on your CMD, to unzip the file and…
-
0
votes1
answer23
viewsQ: How to choose all files with the same extension in multiple subfolders in TFS 2018?
In TFS 2018 release Definitions more specifically in the Archive task, I have several subfolders, which may or may not have more subfolders inside them, and I want the task to run only on top of the…
team-foundation-serverasked Leonardo Oliveira 167