Search update

60548 results
1

votes
1

answer

dnspython dynamic update PeerBadKey

I'm working with dnspython attempting to perform updates against a BIND9 server, however I keep getting a Bad Key response (“tsig verify failure (BADKEY)”) - when I use nsupdate the key works just fine. Is there anyone who has successfully implemented dnspython to perform dynamic updates again...
Vance84
1

votes
3

answer

ListView doesn't update itself

I have a display of some data on one fragment, and each time I click on a button it should add to the listView in the second fragment. For some reason when I click the button I the listView doesn't change. fragment1 : nextButton.setOnClickListener(new View.OnClickListener() { public void onClick(Vie...
BVtp
1

votes
2

answer

Iseries SQL update

Table 1 Column1 Column2 aa 12 bb 12 cc 12 aa 12 bb 12 Table 2 Column1 Column2 aa 12 bb 13 cc 14 aa 15 bb 16 Now, using Sql query I need to update table1.column2 with table2.column2 based on table2 to column1 and tabl...
dileep gare
1

votes
0

answer

MongoDB update validator

I have a collection that looks like this: { '_id': '5c90e8736441c96cc8e5c703', 'meta': { 'schemaVersion': 1, 'locHint': { 'region': '150', 'country': 'GBR' } }, 'name': 'My test study' } And the following validator: { '$jsonSchema': { 'bsonType': 'object', 'required': [ 'meta.schemaVersion' 'meta.lo...
user3929987
1

votes
1

answer

Liferay service update

I have the following service.xml: I deployed the service with the first entity and no problem appeared. When I insert the second entity and made deploy of the service, liferay showed the next error message: Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: Upgrade code using unsupported...
tech4
1

votes
4

answer

update database using AJAX

I'm trying to update my database using AJAX, but somehow it doesn't work. I have already done the part of getting the data from the database into the input fields. I have an input field 'name': Please Enter Valid Data! Did you fill in all the fields? the name has been updated successfully! And using...
Loolooii
1

votes
2

answer

Create Oracle Update Trigger

Hi guys first time asking here in Stack Overflow. So my question is as follows: When a row is inserted into table A reward points need to be calculated and they must be added to an earned points column in table B. We also need to calculate extra points depending on the tier of the Customers in Tabl...
Javier Ruiz Velez
1

votes
2

answer

Redux: Generic update action

I'm working with Redux and my state is a normalized one with a lot of different models. Now I was wondering myself if it was better to have specific actions like: {type: CHANGE_MODEL_NAME, modelId, name} vs {type: UPDATE_MODEL, modelId, {name}} I did a bit of searching and I found this question: Is...
Malo Guertin
1

votes
2

answer

HTML Update News Page

I have a site which is basically a few HTML Pages. I no have a requirement to create a facility where a site admin can create and maintain a News section. I am just pondering what my options are? It needs to be a fairly simple process to maintain news items and ideally not be database driven. Altho...
codingbadger
1

votes
3

answer

event for textbox update

I have a textbox and want an event triggered whenever it is updated, whether through key presses, pasted from clipboard, or whatever else is possible. Is binding to the keyup event sufficient or is there a better way?
hoju
1

votes
1

answer

Update twitter status

I used Anywhere from twitter and connectButton from it which connected my app with page and account. How can I update my status now without textbox? Just send some request with need new status string. I found this oficial page: Example Requests POST https://api.twitter.com/1/statuses/update.json sta...
Max Frai
1

votes
1

answer

Database update question

I'm using MySql and am pretty new to it. I have a table which stores 5 measurements every X seconds (configurable, but always the same fore each test run) I am taking 4 measurements over serial port, but the other must be measured manually. I write a new row, with timestamp, every time I measure a...
Mawg
1

votes
3

answer

Update two MySQL Databases

I have read on several SO threads that it is possible to update two databases using an INNER JOIN update query but I am unable to get it to work, it just throws error: Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'category'...
Sauced Apples
1

votes
1

answer

update date format

I am unable to update mysql date trying , mysql is remaining 0000-00-00 when inserting date format date('d-m-Y') thank you
user1347219
1

votes
1

answer

update datagridview very frequently

I'm having trouble refreshing my DataGridView in a reasonable time in C# (which I am new to btw, I'm used to java...). I'm getting data over a network with 20 packages sent per second. I'd like to parse the data and put it in a DataGridView. I would also like to adjust the interval in which the Dat...
Maverick283
1

votes
2

answer

Update Mysql Query Optimisation

I must create a mysql query with a large number of queries (about 150,000) For the moment the query is: UPDATE table SET activated=NULL WHERE ( id=XXXX OR id=YYYY OR id=ZZZZ OR id=... ... ) AND activated IS NOT NULL Do you know a best way for to do that please?
ke20
1

votes
1

answer

Elastic search update illegal_argument_exception

I've a little issue when trying to update an ES document. Currently, my php update methode look like : and i got this error : {'error':{'root_cause': [{'type':'remote_transport_exception','reason':'[DVcjUVo][127.0.0.1:9300][indices:data/write/update[s]]'}],'type':'illegal_argument_exception','reason...
Khalid Ibn Al Walid
1

votes
2

answer

update data every moment

I'm working on a code that I can, after a few seconds, change server-side information. for example : I change the user points for being registered on the server, with the update method, but I want to change the points at the server at every time . I built a method to send information to the server a...
Ali Ghaemi
1

votes
2

answer

Why mongoose doesn't update?

I am learning Node.js. I am stuck in this Mongoose section because of this problem. findById(id) doesn't get my result back and update() doesn't work. I don't know why.. const mongoose = require('mongoose').set('debug', true); mongoose .connect('mongodb://localhost/exercise') .then(() => console.log...
Muhib Ahmed
1

votes
3

answer

Sql insert or update

I need to rapidly write code to insert/update SQL data. In classic ASP/VBScript I could do that like below: Set rs = Server.CreateObject('adodb.Recordset') sql = 'SELECT * FROM _table WHERE id=' & id rs.Open sql, cn, 1, 3 If rs.recordcount = 0 Then rs.AddNew End If rs('data') = data rs.Update...
Nime Cloud
1

votes
1

answer

Service worker update delay

I have a web app that is working and relying on service workers to keep all the cached files in check and to make sure users are on the correct version of the app. Our client is currently wanting the device to check for an update at specific points (When reopening the app) etc, as currently when you...
Ryan Fisher
1

votes
1

answer

misunderstanding UPDATE FROM syntax

Using PostGIS I have two tables, the first one contains the boundary of 250 cities and the second one contains the coundary of all country in the world. I am trying to affect to each cities the country it belongs to. The following query allow me to get the result I desire. SELECT DISTINCT ON (cities...
Louis
1

votes
1

answer

Start/Update variable scoping

I have a SceneController that's supposed to initialize a set of empty GameObject spawners, each working together at the same rhythm. The RockSpawners receive an array of time delays and wait the X seconds between spawning another rock. I set the _nextSpawn = float.maxValue when the spawners start an...
Justian Meyer
1

votes
1

answer

Update service MongoDB failed

I'm trying to update my mongodb-2 service with cf update-service $serviceInstance -p $newPlan But I get : FAILED Server error, status code: 400, error code: 110004, message: The service does not support changing plans. Does that mean that mongodb-2 plan can never be changed ? Or am I supposed to un...
Quentin Herzig
1

votes
1

answer

Prepared statement update issue

I've started using prepared statement for my sql updates, but I seem to be getting a snag when I'm updating. The logic seems sound but I get an error whenever it goes into the update segment. I can delete or insert fine. Anywho... Connection con = getDBConnection(); PreparedStatement pstmt = null; S...
cphilpot
1

votes
2

answer

magento update attribute1 = attribute2

I have 800 products in my magento store and im trying to change all SKUs, but keep the old ones to another text field. I have found a script that changes all SKUs at once but the problem is that first, i have to insert the text of attribute field SKU, to a new attribute field 'old_sku'. How can i up...
GeorgeV
1

votes
1

answer

update branch without commits

Some time ago I created branch from development branch and actually I did nothing with it, just one commit editing comment. Now I want to start to work with this branch, but I want to update it with commits from development. Actually I can just drop it and create branch again, but I'm interested wha...
Alexan
1

votes
2

answer

Kafka ISR wrongly update

I'm facing some problems related to kafka. I created one topic with 2 partitions and 1 replica to test the kafka behavior. kafka_2.10-0.9.0.0/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 2 --topic t1 Retrieving the topics related data I got this: kafka_...
Stefano Sandonà
1

votes
1

answer

ADO.Net EntityFramework Update

it's my first time using the EntityFramework and for some reason I cannot get an object to update... Here's the public static class EmployeeRepository { public static List Select(int start = 0, int limit = 10) { using (var db = new MySqlEntities()) return (from t in db.employees orderby t.ID select...
Saad Imran.
1

votes
3

answer

Update attribute with NULL

I am trying to update a Entity that is an OptionSetValue, the values it will update from are in a radioboxlist and one of the option is blank/null. Is there a way to pass the null value to CRM Entity to update? This is the radiobox list: And this is the code I am using to update the Entity, it works...
1

votes
3

answer

Insert, Replace/Update JDBC

I want to have a database where the votes of all users are stored. As an example, let's say user ABC chooses X on question Y. Then the same user ABC decides to vote on a separate question, and chooses V on question Z. The information is added to the database each time the user is pressing the submit...
user2342352
1

votes
3

answer

Android: Update Data

I'm having a problem with my codes in updating data. In update class the id is error and I already declare it in DatabaseHelper class but it was still error. Please check my codes. My DatabaseHelper class: public boolean updateData(long id, String new_question, String new_ans1, String new_ans2, Stri...
Jun'z
1

votes
1

answer

Form Update - Not working

All, I'm migrating from the obsolete mysql_query to mysqliand during the process I'm having some issues with the form updating changes. Specifically, it seems as if the $ud_id variable to get the id is not working. The queries are written to left outer join link tables empinfo and headcount in whic...
hinteractive02
1

votes
1

answer

updating database update

I am having trouble getting the database to update. Is there something wrong with my sql update statement? I checked the sql statement and it says that there were no records in the database. I am not sure what to do. CRUD CRUD (Create, Read, Update, & Delete) Database
Timothy Wong
1

votes
3

answer

Optimize oracle update query

How to optimize an update query: UPDATE frst_usage vfm1 SET (vfm1.account_dn, vfm1.usage_date, vfm1.country, vfm1.feature_name, vfm1.hu_type, vfm1.make, vfm1.region, vfm1.service_hits, vfm1.maint_last_ts, vfm1.accountdn_hashcode) = ( SELECT (SELECT vst.account_dn FROM services_track vst WHERE vst.ac...
napster
1

votes
1

answer

Woocommerce Update Cart Hook

I have modified the table used in Woocommerce cart using jquery. This modification us called at the hook - woocommerce_before_cart When I change the quantity and click 'Update Cart', my jquery modifications are removed. Which hook shall i use to make the update cart button show my jquery table modif...
Adam
1

votes
2

answer

SQL Joining and Update

Hope you all can help me out here. I imported an excel file successfully into Microsoft SQL Server 2016. I have another table so a grand total of two tables. The field in common with both tables is a column named ProjectManager. One table has only two columns ProjectManager, and projectNbr. I w...
1

votes
3

answer

Update bound control

I'm learning WPF. I figured out how to bind to a list box using the following code. XAML CS public class HistoryRow { public string Header { get; set; } public string Description { get; set; } public int ArticleUpdateId { get; set; } } public IEnumerable HistoryData { get; set; } DataContext = this;...
Jonathan Wood
1

votes
1

answer

Mongo Query in Update

I'm new to Mongo (an SQL guy by preference) and working in an application set up by someone else. I have records like this, plus more information: City: name: 'name' State: ObjectId({id here}) slug: 'slug' images: [images] ... And state also has a text field with slug in it. I want to create a new e...
Logan
1

votes
3

answer

Update ui thread

I have a ListBox which I put some files, if the file is not AVI I automatically converts it but I want when the files converting message will write on a label that the files are now converted to another format, i know i need use Dispatcher in order to update the UI thread but i use now Winform inste...
user979033