Search update

60548 results
1

votes
1

answer

CakePHP - Update Dropdown list

I know you guys may have already answered loads of questions like this but I really need some help in my situation. I couldn't find any answer that suits me. I have 2 dropdown lists in a form (form id MapInitForm) : Zone : a list of my zones (id : zoneSelect), already populated Territory : a list of...
Zhob
1

votes
2

answer

Windows Service Database Update

I have a windows service that polls an Oracle database at a given interval and, based on some criteria, updates several fields. To do this it opens a cursor and iterates through the rows to update. protected override void OnStart(string[] args) { TimerCallback timerDelegate = new TimerCallbac...
Paul Michaels
1

votes
4

answer

Day Change Update Problem

C# - Winforms - SQL Server i am building an application which displays some data on the screen of the current day which it gets from the database... the application is like a desktop widget so the data is always visible on the desktop the scheme i implemented is when user commits some change to...
Moon
1

votes
1

answer

Update Blues: install.packages(“XXX”)

So I recently (1 hour ago) updated to a 64-bit version of R and tried installing some of my trusty packages in the fresh install (Windows seperates 64/32 bit programs now in two program folders). Is there a work around for this? Warning message: In getDependencies(pkgs, dependencies, available, li...
Brandon Bertelsen
1

votes
1

answer

grid view update

I had grid view which bind sql data source and added field to update data in grid view but it did not do any update and no error appeared and I did not know where the error SQL Stored Procedures: ALTER proc [dbo].[GetNewswithType] As Begin Select News.Id,News.Type_Id, News.Header,News.HText,News.D...
Myworld
1

votes
6

answer

JQuery MySql update

im trying to adapt this little snippet: $('#checkbox_id').change(function(){ /* CODE HERE */ }); I have a series of checkboxes that are dynamically generated and their id's are always like 'hug3443' were 'hug' is the column in the DB and '3443' is the unique id for each row. My objective would be th...
Jay
1

votes
3

answer

update using JPA

I m using glassfish v2 and persistence in a web application. I m calling persistence codes using a normal java class file inside a web Application I can select easily using this code: - @PersistenceUnit public EntityManagerFactory emf; EntityManager em; public List fname (String id) { String fname =...
Pradyut Bhattacharya
1

votes
1

answer

SQL Update Syntax “,” Error

I have an update query which is returning an error, this is the code: self.cur.execute('UPDATE Trainers SET Name=?, DOB=?, Gender=?',(Name, DOB, Gender)) This is the error: sqlite3.OperationalError: near ',': syntax error
Daniel Patrick
1

votes
0

answer

Constantly update function's parameters

I need some help adjusting a function to be constantly updating (
Marc Karam
1

votes
1

answer

Jazz scm, update sources

How to update sources using jazz scm. I used this command: lscm load -r 'https://rtcserver.com' workspace And it downloaded whole repository into current directory. Unfortunately I don't know how to update sources when there is new code checked-in. I tried to use accept command but it doesn't work f...
J33nn
1

votes
0

answer

update $PATH from python

I want to update path from python script i-e add /tmp in $PATH. Reason is I am using aws lambda and it looks for aws-iam-authenticator binary. Now this binary has to be in $PATH otherwise it throws error: [Errno 2] No such file or directory: 'aws-iam-authenticator': 'aws-iam-authenticator' Since onl...
Ahsan Naseem
1

votes
1

answer

using an update trigger

I have been trying to use an update trigger which checks for the title_id in the primary table. This is what i did: ALTER TRIGGER [dbo].[EX6] on [dbo].[sales] INSTEAD OF UPDATE NOT FOR REPLICATION AS BEGIN IF EXISTS(SELECT S.title_id FROM inserted S INNER JOIN Titles T On T.title_id = S.title_id)...
user838359
1

votes
2

answer

Update function in PostgreSQL

I have a question regarding an update function I created... CREATE OR REPLACE FUNCTION rm_category_update(icompany bpchar, iraw_mat_cat_code bpchar, iraw_mat_cat_desc bpchar) RETURNS character AS $BODY$ DECLARE loc_result CHAR(50); BEGIN UPDATE rm_category SET raw_mat_cat_code = iraw_mat_cat_...
1

votes
1

answer

Cannot update entity

I'm trying to update an entity with a particular mapping : @Entity @Table(name = 'obs_structure2') @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = 'id') public class Structure implements Serializable{ private String id; private String tag; private String descrip...
Grechka Vassili
1

votes
1

answer

CodeIgniter - Update Database Record

I've done the coding of Update Database record in Codeigniter. Everything works fine but When I click the Save button database records won't update. Each time it's showing the old database records. I want to update the database records but what's wrong with this. I don't understand the missing thing...
Mehreen
1

votes
0

answer

OTRS update CustomerUser table

I'm having trouble updating a CustomerUser in OTRS 5. I'm using command-line Perl scripts and modules. This is what I have tried: #!/usr/bin/perl use strict; use warnings; use lib '/opt/otrs/Kernel/System/CustomerUser/DB'; use File::Basename; use FindBin qw($RealBin); use lib dirname( $RealBin ); us...
pm1391
1

votes
2

answer

hyperledger composer network update

Is anyone have an idea why composer network update is not listed to available commands for composer network? is it already deprecated? If yes, what is the substitute command for it? Thanks in advance. composer network Composer network command Commands: composer network download [options] Downloads...
Jeson
1

votes
1

answer

react update npm package

I have a react project and I want to update this outdated package npm outdated Package Current Wanted Latest Location native-base 2.3.1 2.4.3 2.4.3 react 16.0.0-alpha.12 16.3.2 16.3.2 expo...
lucacatr
1

votes
0

answer

Update record in Sails

i want to update a record of my model in DB update: async function (req, res, next) { await Place.update({'id':1}) .set({ title: req.param('title'), }) .fetch() .then(function place_updated(updated_place){ res.json({'status':true, 'result':updated_place}); }) .catch(function(err) { if (err) { retu...
mas cm
1

votes
1

answer

AngularJS textarea doesn't update

I have this directive to be able to prevent characters of the textarea. restrict: 'E', scope:{ contacts : '=' }, template:'', link: function(scope, element, attr, ngModel){ scope.$watch('contacts', function(newValue, oldValue){ var cut = newValue; if(newValue.length>0) var cut = newValue[newValue.le...
marcel
1

votes
1

answer

Clarification - Using Update TSQL

I have a stored procedure that looks like the following, below. What happens is that it fails on me when I run. I have narrowed it down where when I am attempting to update the the AGENT STATE syntax in e.g. WHEN PropertyDefinitionID = @passStatePropertyDefID THEN @passState -- Agent State ALTER p...
Charles Bernardes
1

votes
1

answer

SQL Update in Yii

Given the following UPDATE query in my controller $connection = yii::app()->db; $sql = 'UPDATE list SET Status = 'R' WHERE '.$_POST['ListId'].'='.$_POST['RListId']; $command=$connection->createCommand($sql); $command->execute(); This is changing every record to Status = 'R' not just the one with the...
enfield
1

votes
1

answer

Update NetBeans manually

I'm using NetBeans 8.2, I would like to update the plugins, but the firewall at work won't let me, they cannot seem to figure it out at work, so I was wondering how I can update it manually. I found this link : http://wiki.netbeans.org/FaqDownloadingUCModule But I cannot select my version there, the...
PhDJ
1

votes
1

answer

How to update symfony?

It looks like it is a stupid question, but i could not figure how to update symfony to 1.3. When i follow the tutorial to update my project, one of the step says 'Upgrade symfony to 1.3' which is actually what i am following the tuto for... Well i guess there is a difference between updating the pro...
Julien
1

votes
1

answer

Update SQlite ID

What I need is to squentioal my ID after delete entry So my Id start as that ( 1 . 2 .3 ) If I deleted row 2 .. it will be like that ( 1 . 3 ) and what I need is to be ( 1 .2 ) I know the ID is primary key so it can not be changed. But I have 2 ideas but I don't know how to implement them First...
karim_mis
1

votes
1

answer

Angular2 update Directive Input

I have an Angular2 Directive which sets the maxDate of my DatePicker like this. @Directive({ selector: '[maxDate]' }) export class MaxDateDirective { private domElement: any; @Input() set maxDate(max: any) { if (max) { $(this.domElement).data('DateTimePicker').maxDate(max); } } constructor(private e...
MarBVI
1

votes
1

answer

Formula property update

good day everyone i have some trouble with formula property, update and nhibernate suppose, i have next model: public class Model { public virtual Guid Id { get; set; } public virtual string Name { get; set; } public virtual State CurrentState { get; protected set; } public virtual ICollection Histo...
1

votes
1

answer

Update with conditional Mongodb

I'm updating a value inside an array. But, I want that the update validates that the value cannot be less than zero. { _id: ObjectId(), items: [ { _id: ObjectId(), stock: 5 } ] } In this case, if I want to decrease stock in -6. I need that the query raise an exception or something similar. I was try...
Jimmy A. León
1

votes
2

answer

Update y axis title

For the following d3 graph, I need to update the y axis title. Presently it is Temperature, ºF, but I would like to set it to Temperature, ºC in the second call. .axis--x path { display: none; } .line { fill: none; stroke: steelblue; stroke-width: 1.5px; } Click me var svg = d3.select('s...
Johnny Bigut
1

votes
1

answer

update cart using ajax

I want to update the cart item using ajax with a module.I override a controller and product add to cart from view page works fine.can annyone tell me that how to update the cart item without reloading of page. my config.xml is 0.1.0 standard Module_Ajax ajax ajax.xml Module_Ajax core_setup core_wri...
Rishu Singh
1

votes
1

answer

update database on click

hi i am trying to update a value within my database (PostgreSQL) when a user clicks a certain link, though what i have is working, i dont think its best practice. if anyone can show how i could better achieve this would be great view %ul.button-group.round.even-3 %li= link_to ''.html_safe, accept_a...
1

votes
2

answer

Jenkins Auto update

I have a question, Im trying to commit updates that im doing on my database to a Github, I am using redgate to setup the repository and commit the changes. Anyway I am trying to connect Github repo to Jenkins, so whenever I commit change. So the trigger is update one the repo, what I want is to ge...
NFAL
1

votes
1

answer

Update table periodically

I have access to a mysql database, but I can only read from it. I need a copy of one of the tables in a local DB, and I need it to update every 2 hours. What is the best/most efficient way of copying/updating periodically a table? Should I make a plain php script that fetches and updates the data (...
Sebastian Breit
1

votes
1

answer

Parse.com update Role error

I'm getting {'code':101,'error':'object not found for update'} when calling save on my role after adding a user to it, all on Cloud Code. Sample code: var role_query = new Parse.Query('_Role') role_query.equalTo('name', 'USER') role_query.first().then(function(role) { role.getUsers().add(user) role....
Tomas Romero
1

votes
1

answer

Update panel implementation?

I was looking around the web for some information about, how the update panel is implemented in asp.net ? Was looking for how the caching of the update panel script which is served through axd and the query string generation for it. Yeah, I can go through the scripts but I think it will definitely...
Biswanath
1

votes
1

answer

Gremlin update existing property

How do I update an existing property of a node in a graph using Gremlin? The following method creates two properties 'timestamp' with 2 different values, instead of updating the existing property 'timestamp': ContentGraph.g.addV('Filter').property('timestamp', new Date()); ContentGraph.g.V().hasLabe...
Auricopter
1

votes
2

answer

Update child selects

I am new to React and I am trying to make a simple dynamic form with 3 selects. My problem is that the options of child selects should be filled based on option selected in parent select. Here is my code: var MySelect = React.createClass({ getInitialState: function() { return { value: 'select' } },...
Jack
1

votes
2

answer

Graphql Schema update rollback

We are moving some of our API's to graphql and would like to know to handle the rollback of the deployed package (Schema)and the best practice to the same. To be more specific let's say we have a Schema S with 3 fields and then we added 4th field 'A' . Now for some reason we cannot go forward with...
Sarfaraz Khan
1

votes
2

answer

Jquery update all browsers

I have created a private chat system everything works fine but i have a problem the chat boxes are not visible by default so once a user clicks on a name to chat i am using jquery to show that chatbo. what i want is if i send a msg to the other person it should automatically change the chat box stat...
Henry
1

votes
1

answer

Update Python path

Enthought is installed on my second HD at /media/linux/applications/epd, which was not auto-mounted. I ran: sudo mkdir /media/linux sudo chown -R kevin: /media/linux and edited /etc/fstab to point /media/linux to sdb2: UUID='d18ded1f-3d74-420d-ab95-51c52f5169b4' /media/linux ext4 defaults,users,aut...
Kevin