Questions tagged as 'cursor'

1
answer

C # - Cursors.Hand.Handle does not identify the "Hand"

I made a program to identify whether the mouse cursor is Hand or not. I'm using an event that identifies the global cursor, so even out of Form it is able to identify. The problem is that in function: private static bool Cursor()...
asked by 06.12.2015 / 23:42
0
answers

Error Code: 1452. Can not add or update child row: a foreign key constraint fails

I would like to ask a question, or just show me the way. There is a table called Questionnaire from it I get the records in a procedure and organize the data in it. Here is my code: CREATE DEFINER='myroot'@'%' PROCEDURE 'SP_OrganizaEnvio...
asked by 16.11.2015 / 14:58
2
answers

Set position Cursor Windows & Linux with same code

I'm developing a cross-platform application. For this I would like to develop with as few as possible "ifdefs", and what I need to do is basically a 32 x 16 character fixed screen. But for me to have performance, I have the need to just re...
asked by 20.08.2015 / 23:00
2
answers

insert a cursor within a while in android

In android I have a cursor where it looks for the data in the database and perfectly returns the data but .. How do I insert a second cursor into the first one? to pull data from a second table My code try { StringBuilder sbQ...
asked by 20.12.2017 / 07:35
1
answer

Python setar String where the cursor is [closed]

Good afternoon I need to set a string where the cursor is stopped. Examples: - Blinking cursor stopped on a notepad, I play a string in notepad. - Blinking cursor stopped in any typing field, I set a string in the typing field. How can I d...
asked by 27.11.2018 / 17:52
1
answer

Is it possible to use the same name of a column as a parameter name in a cursor?

I have the following cursor: -- CÓDIGO OMITIDO DECLARE CURSOR CUR_AULAS(IDTURMA NUMBER) IS SELECT ID, IDCLIENTE FROM AULAS WHERE ATIVO = 1 AND IDTURMA = IDTURMA; It will always return true as i...
asked by 24.03.2017 / 15:38
1
answer

Error while using cursor to read SQLite table

I'm having the following error:    Could not read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. but in my view the cursor was correctly initialized in the first position as y...
asked by 17.03.2017 / 13:57
1
answer

Subquery returned more than 1 value. This is not permitted when the subquery follows =,! =, = =

I have a procedure that sends email with the table data, including the email that will be forwarded, but it is sending to only the 1 record, the second it goes straight, and it's in Infinite Loop, sending multiple Emails to just the 1st r...
asked by 28.10.2015 / 14:35
1
answer

Problems with get_blob using Cursor

I saved an image by converting it to a array of bytes , in a column in Sqlite with data type byte . When I make a cursor to fetch this image from the bank using the Cursor class and the get_blob() method, it says it can not convert....
asked by 07.04.2015 / 22:37
1
answer

Problem with cursor in MySQL

Good afternoon! I am successfully creating the following cursor: declare v_cursor cursor for select idCliente, max(dataVenda) from Cliente left join Venda on idCliente = cliente_idCliente group by idCliente; But when I run th...
asked by 07.11.2014 / 20:20