Search update

60548 results
1

votes
2

answer

Update with inner join Postgresql

Because doing this update does not work for the where clause? The update does it for me all. UPDATE ventas SET eav_id = 7 FROM ventas AS A inner join ventasDetalle AS e on A.act_id = e.act_id and e.exp_id = A.exp_id where a.eav_id = 1
Max
1

votes
1

answer

SharpSvn Notify-Event on Update

I am currently implementing some SVN functionalities in an application. One of them is the 'svn update'. Unfortunately, the outputs from the 'svn update' command in a command line and from the Notify event regarding the files that have changed are differing. E.g. If I update a working copy with jus...
royalTS
1

votes
2

answer

Update specific realm model properties?

How to update only some realm model properties and instead of trying to save complete realm model again and again using copyToRealmOrUpdate(). public class User extends RealmObject { @PrimaryKey public String id = UUID.randomUUID().toString(); private String name; private int ag...
Anurag Singh
1

votes
2

answer

Update Query From 2 Table

I have the below 2 tables: table1 is tracsName,tracsid,N,NE... table2 is Tracs,kode,N2.... I want to change N value with N2 value with this code, the N and more is the wind arrow Update query, can more simple? UPDATE table1 SET N=(select N2 from table2 where tracs='daraname2' AND kode='1-6'), NE=(se...
Sae
1

votes
2

answer

Flicker on data update Angularjs

I have a collection of users which needs to be updated incase the data is changed in the database. For this I am calling the update function from the controller. In Controller $scope.update = function(){ $http.get('....') .success(function(data){ $scope.users = data; }) }; In Template ... Div flicke...
Shyamal Parikh
1

votes
1

answer

Update with Subquery in postgresql

I try update postgresql table using subquery UPDATE bc SET (r, w) = ($1, $2) WHERE bc.sr_id IN ( UPDATE sr SET (r, w) = ($1, $2) WHERE si = $3 AND rti = $4 AND fc = $5 RETURNING sr.id ) Why it's returns error?
user2024300
1

votes
2

answer

Multiple update trigger on SQLLite

What I want to do is to manage the grade attribution of new Students. If the inserted tuple containing Student ID and grade has a grade value less than 9 or greater than 12, we want to change the value to NULL. At the same time, if the inserted tuple having a grade null value, we want to change it t...
Lorenzo Rigamonti
1

votes
2

answer

Update drop down list Shiny

I'm pulling a list from a DB and trying to update that list based on search results in Shiny. I've referred to a few answers here on SO but I haven't been able to get it to work correctly. Here's my code: ui.R library(shiny) library(RODBC) library(plyr) library(magrittr) cxn % .[ ,1] %>% as.characte...
Tom.Rampley
1

votes
1

answer

Knockout update model with ko.mapping

When we apply the ViewModel for the first time everything works fine, but if we reapply the mapping after the computed fields has been created, they are deleted. This code obviously works if we don't change the key http://jsbin.com/ojabaf/14/edit var modelJs = {test:{ list: [{name: 'a', val: 5, list...
Carlo Moretto
1

votes
1

answer

Color picker update input values

Ok I have spent all day on this and I am missing something and just cant figure it out. I am using this simple color picker http://www.dynamicdrive.com/dynamicindex11/colorjack/index.htm What I am trying to do is update the background color and then the font color and let the user see live results a...
DSmith
1

votes
1

answer

Update Line Chart every second

I want to use one of the classes in this example I'm displaying the line chart In my case the x-axis represents time so I want to update the chart each second by calling execute function bellow and doing the following: 1-adding more points 2-Moving the Pan to my current time so in the end I'm expe...
Lily
1

votes
2

answer

UPDATE sentence to Function PostgreSQL

I have the following code which works: UPDATE backup_factura SET tipo = CASE WHEN total_fact
Mich Vellve
1

votes
1

answer

Placeholder doesn't update option value

$(function() { var myOption= $('#mySelect option:selected').val(); $('#search').attr('placeholder', myOption); }); First Second Third Fourth It would be a easy solution for you but i just stuck on this. Why placeholder doesn't update option value?
Norx
1

votes
1

answer

update static variable in c#

I am working on a program for playing background audio for Windows Phone 8 with c#. My solution contains 2 projects: Main project and AudioPlaybackAgent project. In AudioPlaybackAgent, I add static variable currentTrackNumber with get and set in file 'AudioPlayer.cs': namespace AudioPlaybackAgent {...
Developer
1

votes
2

answer

update data grid view automatically

I have two windows forms. The first form shows list of records from sql. When you click some cell of a record in DataGridView it shows the second form. In the second form you can edit and update the record. I want DataGridView to be updated automatically when user close second form. What should I do...
Babak Fakhriloo
1

votes
2

answer

if exists insert else update

I'm on an sql2000 (2008 coming soon, yay!) so I can't use the merge statement yet. I have the insert statment but now need to compose the update statement. I'd like to wrap this in an if exists insert else update statement. The query is longer and more complex but if I can get some help with thi...
HPWD
1

votes
1

answer

Angular Resource Update not working

I've built 2 factories for my 2 data types Act and Scene. Everything works perfectly except my Scene's update function (create, read, delete work fine). For the life of me i cannot figure out what the Scenes-update function is not working, i just get this message: TypeError: Object function Resource...
1

votes
2

answer

Mysql Query Update Error Code

I got this query but it doesn't update and gives me an error. I'm not really sure whats wrong with it, any help greatly appreciated. mysql_query('UPDATE Link_Contact SET title='$title',desc='$desc' WHERE id='$id'') or die(mysql_error()); You have an error in your SQL syntax; check the manual that...
aero
1

votes
1

answer

Hibernate update entity best practice

i am trying to update an Entity (client) by modifying one of its child Entity (agence) but the repository save method don't have the same behaviour than the create one. The agence is not loaded when I update the client by giving a new agence id. Does somebody explain me why and how make this possibl...
Cyril
1

votes
1

answer

Cascade Update in Entity Framework

I have the following scenario involving 2 classes: public class Parent { [Key] public int Id {get;set;} //.. Other properties here public virtual IList Children {get;set;} } and public class Child { [Key] public int Id {get;set;} public int ParentId {get;set;} //.. Other properties here [ForeignKe...
Tamas Ionut
1

votes
3

answer

GAE with JPA: Update entity

I have problems updating entities in Googles App Engine. EntityManager em = ... // constructed like in the doc MyEntity myE = new MyEntity(); myE.setType('1'); // String em.persist(myE);em.refresh(myE); myE.setType('2'); em.merge(myE);em.refresh(myE); I expect a entity with type='2', but there...
Thor
1

votes
1

answer

UpdateProgress bars and update Panels

I have a grideview that displays rows that will be deleted across servers by the click of a delete button in the footer of the grid. This delete will take a long time so i want an updateprogress bar. I'm not really familiar with it so I don't know where to begin.
Eric
1

votes
2

answer

CodeIgniter. Update where id problem

I'm trying to update a contact and only update the contact depending on the id. Model: function updateContact() { $data = array( 'title' => $this->input->post('title'), 'first_name' => $this->input->post('first_name'), 'surname' => $this->input->post('surname'), 'phone_number' => $this->input->post...
ajh_8
1

votes
1

answer

observable doesn't update custom bind

Please refer to the codes attached. DummyText is observable and a custom bind defined in ko.bindingHandlers.dummytext. However, this.DummyText('dummy_text_' + this.firstName()); only calls update: function (element, valueAccessor,.... once, so that is only updated once. Text is created as a referen...
Giant Jupiter
1

votes
2

answer

Bulk update + SQL + self join

I would like to update a column in Table with reference to other column(s) in same table. Ex: As in figure below - I would like to update effective endate with min date whichever is greater than effective Start Date of currrent record. How can this be acheived in T-SQL. Can this be done with single...
Sreedhar
1

votes
2

answer

Update panel in Tab Container

I have a tab container with 5 tabs, each tab contains an update panel. When the user initially opens the form, they can only see the first Tab, the others are set to visible=false. Once they have completed the first form, the hit save which sends a partial postback to save the data to the DB. Once t...
Sam Cogan
1

votes
1

answer

can not update label text

I'm trying to get a simple GUI running that simply changes a labels text every few seconds. I'm new to using tkinter and don't understand how every thing works but from what I've gathered online the after() method SHOULD be calling the function I wrote to change the label text but it's not working?...
Anon
1

votes
1

answer

Using JScrollBar to update Components

public class FaceMain extends JFrame { CreateFace p1 = new CreateFace(); private ControlPanel panel; public FaceMain(ControlPanel value) { panel = value; JFrame main = new JFrame(); main.setTitle('Face Frame'); main.setSize(new Dimension(600, 600)); main.setLocationRelativeTo(null); main.setDefaultC...
Sam
1

votes
3

answer

SQL Update considering Null values

I am trying to update notes in a table to archive some files. I've generated the SQL script and am having a problem because of the accounts which have a Null value in the notes. I would like my note update to take place whether there is a Note or a Null in the current note field. Below is my SQL st...
Jen C
1

votes
1

answer

Firefox extension automatic update feature

I am following the tutorial at http://www.borngeek.com/firefox/automatic-firefox-extension-updates/ to make my FF extension can be updated automatically to users, but I stuck at the last part 'Hosting an Update Manifest' as I am using Tomcat serve and I have no ideas how to set up the .htaccess (Is...
user200340
1

votes
1

answer

Variables created outside the Update()

Let's imagine I have a creature that moves: bool pathFound = false; void Update() { if(!pathFound) { //Find a destination point pathFound = true; } //Move creature to point if(Creature reached the point) { pathFound = false; } } So that the movement depends on the variable created outside the functi...
Storm
1

votes
1

answer

Android: update arrays.xml from code

Does anybody know if I can update arrays.xml from the code?
Nick
1

votes
1

answer

Regarding MarkLogic memory update issue

I am creating a document and updating it in memory. But it is not updating the document i.e. not deleting ‘file-text’ element from the created document. Below is the code. Can you please let me know what I am missing here. xquery version '1.0-ml'; declare namespace html = 'http://www.w3.org/199...
Sukesh
1

votes
3

answer

SQL - Transaction update 2 tables

I have a form that requires a user to validate their email address, the link is sent to the user as http://app.myurl.org/h/activate.php?email=useremail%40gmail.com&key=80fddb7fa21dd2e2639ae5ec82b9d511&api=8a2d01d7411ec2488307744ddf070a4d The user is directed to the activate page. I am trying to get...
Kray
1

votes
3

answer

Background worker and chart update

I am using a a background worker to read data values from a device and display in a chart.mI use BeginInvoke and update the values in the chart. The problem is that the values are getting updated in the chart with at least 2 - 3 seconds delay and is not real time. The speed of update in the chart al...
Vishnu
1

votes
1

answer

UIPageViewController update number of pages

Hey guys I was looking to see if anyone knew how to update the number of pages in a UIPageViewController A UIPageViewController has the method - (NSInteger)presentationCountForPageViewController:(UIPageViewController *)pageViewController { return count; } but that is called right at the beginning a...
Fatal Dizz
1

votes
1

answer

Processing apostrophe in an update

I have a situation where I have to manually normalize some data. The problem is the data has an actual single quote in it. I was hoping I have some options other than data entry... One of my fields has data that I want to update. it has this date > Women's Health ServicesOBGYN3 I want to update it t...
Bit Coins420
1

votes
2

answer

MYSQL update with nested subquery

I have 3 tables in this format: Table Child: id|parent_id|grandparent_id 1 1 null 2 2 null 3 3 null Table Parent: id|grandparent_id 1 1 2 1 3 2 Table GrandParent: id 1 2 I need to run a query that updates grandparent_id column...
Hirad Roshandel
1

votes
2

answer

Update Chat Every second php

hello here i have i script but this dont work i caant update chat every second can you help me to update chat every second from database (pleasee no uppate div only text) index.php $(document).ready(function(){ setTimeout( function() {updateChat();}, 1000); function updateChat() { $.get('read.php',...
Simple Name
1

votes
1

answer

Kubernetes changing rolling update logic

Currently kubernetes rolling update creates a new pod to a terminated pod and add it to the service. At the moment of rolling update there could be two types of pods registered (old ones and new ones) for a service. However I need to enforce the consistency. For example when a rolling update request...
Dimuthu