Posts by Jeferson Leonardo • 465 points
25 posts
-
0
votes1
answer124
viewsA: add information to the database
You can Add the ingredients using the UPDATE, for example: UPDATE SUA_TABELA SET INGREDIENTES = INGREDIENTES + ', novoIngrediente' Suppose you want to add cheese to the lasagna plate: UPDATE…
-
0
votes1
answer187
viewsA: Filter Search
Whereas you’re looking for Candidate name or Company Name, I believe it is a small syntax error in your Query. In addition to not being making the junction of the tables since the candidate’s name…
-
0
votes2
answers454
viewsA: Search for birthdays of the month varchar
Use the SUBSTR function to pick up only the users' birthday month. See: <?php $mes = "03"; // mês atual ou escolhido para exibir os aniversariantes $sql = "SELECT * FROM USUARIOS WHERE…
-
0
votes5
answers325
viewsA: Php View Columns
To list only lines containing column B with more than 8 characters: <?php $pdo = Connection::Conexao(); // Conexão com o banco $sql = "SELECT * FROM TABELA"; $query = $pdo->prepare($sql);…
-
0
votes3
answers777
viewsA: Calendar in PHP
I am using this same calendar algorithm with small adaptations, follow the excerpt where I list the Events (records in the database) in the calendar, remembering that this excerpt is within the…
phpanswered Jeferson Leonardo 465 -
0
votes0
answers84
viewsQ: Jquery Mask only works after Submit
I am using Jquery to add mask to the Cpf field when the user is doing a search. However the mask is only enabled after making a Submit on the page (by clicking the search button). <html>…
-
2
votes2
answers518
viewsQ: Problem with form placement
I have an application that works as follows: There is a main form and I open "children" forms during execution, for registration, research, etc. The intention is to always open the child forms in…
-
3
votes1
answer59
viewsQ: How to get version of my application?
I need a way to get the version of my app on C++ Builder, to put in the Caption of a TLabel, which will be displayed next to a system presentation home screen.…
-
1
votes1
answer375
viewsQ: Calculate average with Pivot result
I have a query that returns the grades of students in certain tests. The amount of test may vary. I use the Pivot command to transform test names into columns and so organize test/note, as shown in…
-
0
votes1
answer1207
viewsA: C++ How to call another cpp file in the script
Try: #include "nomedocpp.h" OBS: use quotation marks
c++answered Jeferson Leonardo 465 -
5
votes2
answers873
viewsA: Doubt about query in Delphi 7
Try: 'UPDATE Tbl_aluno SET nome = '+QuotedStr(edit_nome.text)+' WHERE PRONTUARIO ='+QuotedStr(.....) Quotedstr ensures that the parameter is enclosed in quotes, for example: name='AUGUSTO'…
-
0
votes1
answer547
viewsA: Create a div that contains other online Ivs
It wasn’t very clear your question, but I think you want something like this: To do this, just create a div inside the other with position: relative, as an example: CSS: #box1 { position: relative;…
-
0
votes2
answers385
viewsA: My DIV is not pasted to the top bar of the browser
I’m a beginner, I don’t know if this is considered a "gambiarra", but if you put in the main div top: -8px; it sticks to the top, for example: .guaraparivirtual-topo { position: relative;…
cssanswered Jeferson Leonardo 465 -
0
votes1
answer173
viewsA: How to move items between 2 Treeview dynamically?
As my Treeview items on the right are fixed, I solved the problem by adding one at a time along with your child. Follow the code: // Adding items to Treeview TTreeNode *noPai; noPai =…
-
0
votes1
answer173
viewsQ: How to move items between 2 Treeview dynamically?
I have a Treeview that receives as items the fields of a database. I wanted to link these fields to another Treeview that already has a predefined structure. It would be something like the image…
-
2
votes4
answers926
viewsA: How to use css align for tables
Try: table { float: right; }
-
0
votes2
answers282
viewsA: How do I use the Chr() function in C++ Builder?
Follow the function result to decrypt. String DesprotegeSenhaSQL(String senha) { int i, j; String aux, texto; j=1; for(i=1; i<=senha.Length();i++) { if (senha.SubString(i,1)!="-" &&…
-
1
votes2
answers282
viewsQ: How do I use the Chr() function in C++ Builder?
I need an example of using the function Chr() or something equivalent in C++ Builder. I’m needing to do a function to decrypt the database password.
-
2
votes1
answer705
viewsQ: How to join the two tables in this case?
I have two tables a "students" with the enrollment and enrollment and another "faz_teste" with the grades of the students in certain tests. I used the pivot command in the table "faz_teste" to…
-
1
votes1
answer272
viewsQ: How to load array items into list box?
I have a TCheckListBox and when it is checked I store the options in an Array. I need that, by clicking on a "List" button, the Array elements (options marked in the TCheckListBox) are listed on…
-
0
votes1
answer390
viewsA: Load items into a combobox from the select of another combobox
The program didn’t work because the right procedure was to do the procedure shown in the Onselect of the first combobox (Comboboxun). The Code was as follows: void __fastcall…
-
2
votes1
answer390
viewsQ: Load items into a combobox from the select of another combobox
I have a Combobox that lists school units coming from my comic. Follow the code: _fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { QueryUnidade->Close(); QueryUnidade->Open(); while…
-
1
votes2
answers726
viewsQ: How to use Hashmap in this case?
I’m a beginner in Java. I need a program that reads the name and number of some people and then type a number and the program returns the name of the person associated with the number. I was…
-
3
votes2
answers4972
viewsQ: How to make a form with date field? (DD/MM/YYYY)
I am a beginner in Kohana and need to make a form with a date field. My form is this: <?=form::open('controllerInscricao/index')?> <?php echo form::select('TURMA_codturma',…
-
3
votes1
answer90
viewsQ: How to call CSS files using Kohana PHP 3.3
I’m a beginner in Kohana Framework and would like to know how do I call a CSS file.