All Questions

1
answer

Error System.IndexOutOfRangeException

I'm having errors in Titular.Text of this form and I do not know how to solve it. public partial class Titular : Form { private Conta[] contas; private int quantidadeDeContas; public Titular() {...
asked on 06.09.2016 / 22:36
1
answer

Impulse-Response Function in R

I'm having a question regarding the output of the irf function of the vars package. What is the difference in relation to the output for arguments _cumulative = TRUE/FALSE_ and _ortho = TRUE/ FALSE_ ? Another t...
asked on 08.07.2016 / 10:48
0
answers

Doubt implementation SQL database [closed]

I am creating a product control of a company, in which we need to generate sequential codes for products as they are registered, we sell digital products, so there is no physical quantity. At first I thought of using a field of auto increment, b...
asked on 15.09.2016 / 00:48
1
answer

Can I invoke the function in a Trigger?

My function made in Sql-Server: CREATE FUNCTION dbo.getQuantidade(@idProd char) RETURNS float AS BEGIN DECLARE @QTD float SET @QTD = (SELECT (prod.Quantidade) FROM Produto prod where @id_prod = IdProduto) return @Q...
asked on 29.06.2016 / 16:58
1
answer

Group items with a date difference of 10 minutes between each other

I have a table named tb_log , in it I have some data id , usuario_id , produto_id , ..., data . I need to group records by date as follows: All records that have a time difference of up to 10 minutes. That is,...
asked on 20.09.2016 / 21:51
1
answer

How can I prevent the deletion of relational data through referential integrity in MYSQL?

I have the SIMULATE and QUESTION tables, where a simulation can have several questions, but one question can only be for a simulated (1-n relationship). SIMULATED TABLE: simuladoId simuladoNome QUESTION TABLE questaoId questaoPergu...
asked on 14.09.2016 / 17:37
1
answer

How do I update my application through APK without losing my SQLite database?

I created an application, made registrations in the Sqlite database, but when I create new functions for the application how do I upgrade without uninstalling it?     
asked on 12.09.2016 / 14:10
1
answer

Sorting a list of objects by date [closed]

I have a list of objects and each object in that list has an attribute that is a date, in the same string format. How do I sort this list of objects by that date?     
asked on 10.10.2016 / 18:43
2
answers

How can I make the blur effect in IE?

I'm using this css code to make the blur effect a div : .blur { -webkit-filter: blur(25px); -moz-filter: blur(25px); -o-filter: blur(25px); -ms-filter: blur(25px); filter: blur(25px); } <div c...
asked on 01.08.2016 / 15:13
1
answer

Create angular variable in html

Hello I have a loop (ng-repeat) in my html file and would like to save the index of it in a variable to be able to pass parameter to a function. Does anyone have an idea how I can do this? Follow the code in View: <div class="lista...
asked on 27.07.2016 / 00:51