Questions tagged as 'cursor'

1
answer

How to make the cursor in the Text at the beginning of the program?

I would like to know how to flash the cursor on a tkinter.Text object when I walk the application, because normally no widget is selected. I would like to have the same effect as a terminal when it is turned on, where the cursor is flashi...
asked by 11.12.2014 / 02:23
0
answers

Cursor stored procedure Mysql

I'm inside a cursor that has 10 rows of result. 2 rows perpendicular to a number. example: 1,2 = 1, 3,4 = 2, 5,6 = 6, 7,8 = 9 , 9,10 = 3. How do I add the values that match the same number inside the cursor? This is my FETCH...
asked by 23.09.2015 / 19:24
1
answer

SQL Exception Oracle - Update and Insert

I have a question regarding a procedure that I'm doing oracle database. A little explanation for what I'm doing: I'm reading data from a table, and playing them on a cursor, after playing the cursor, I set it to a record, in the procedure I have...
asked by 02.12.2016 / 15:17
2
answers

Cursor positioning problem

LogCat is experiencing a problem with NullPointerException , but I can not identify it. In my point of view, that's right. I know that there is a problem in lines 34 and 39 of ContactRegister that lead to condition if(moveToFirst...
asked by 24.03.2014 / 15:47
1
answer

How to know the direction of the mouse?

I would like to make a small program that indicates to which position the mouse is moving (right, left, high, low, right and high, right and low ...), but I can not come to a logic that give this result. Examples: If the Y and X are being inc...
asked by 27.10.2018 / 10:34
1
answer

Dynamic access oracle cursor column

I have a situation where I need to access the attributes of a cursor differently. I have a cursor that returns me a list of records, with columns like col_1, col_nova, col_teste (illustrative names). I loop this cursor to fit a return string....
asked by 06.07.2016 / 21:22
1
answer

How do I get the value stored in a column using Cursor?

I have a cursor that receives all the data from my table after I use the Simcurscursoradapter to put it in a listview. I wanted to know if with this same cursor I could get a data from a row and put it in a textview.     
asked by 04.07.2017 / 23:06
0
answers

Loop, For, PL / SQL Cursors (Doubt)

Good morning, my doubt is as follows, my table is like this currently: Nome Idade ID João 5 Lucas 5 João 2 Lucas 1 I wish it looks like this: Nome Idade ID João 2 1 João 5 2 Lucas 1...
asked by 30.01.2018 / 14:04
0
answers

Mysql Trigger with more than one cursor

I have a Trigger where I have 3 cursors, but it only correctly executes one of them (soma_pontuacao_cursor), the other two are executed in the wrong way, I already tried with three separate loops, and it also did not work. My perception says tha...
asked by 03.08.2016 / 10:52
2
answers

Error when trying to change cursor during algorithm C #

Hello, I'm developing C # software to help digitize old photos, and in the middle of one of the algorithms to process the images, I want the cursor to switch to loading mode so the user knows when the system is processing. > What I did was ins...
asked by 17.03.2016 / 22:20