Search update

60548 results
1

votes
1

answer

PHP / Facebook-Api: Update Friendlist

I'm using the official PHP-Facebook-Api and I know how to get the friendlist of a user. It is basically like so: $facebook = new Facebook(array( 'appId' => 'xxxxxxxx', 'secret' => 'xxxxxxx', 'cookie' => true, )); // $session is only != null, when you have the session-cookie, that is set by facebook,...
Pascal Klein
1

votes
1

answer

Update MySQL through objective-c

I'm making a 'post text' app and trying to update my database with name and body field. The obj-c code looks like this: - (IBAction)post:(id)sender { NSLog(@'%@', name); NSLog(@'%@', body); // create string contains url address for php file, the file name is post.php, it receives parameter :name NS...
tracifycray
1

votes
3

answer

vba filter update in function

For some reason the filter doesn't apply as I cannot see any changes. The function seems to enter the correct values, but only if I manually click OK in the 'custom filter' it updates the screen. So I guess I'm missing an update filter option or something. Code: Function filter(weekstart As Date, w...
Tino
1

votes
1

answer

Cannot get data to update

Newbie Q: I have existing data painting to the Edit screen.. but cannot get it to update. I can create and list(in other code), but doing something wrong on the update. I believe I am doing something wrong in the controller.. Save button actions back to Edit screen with no changes. Controller Co...
Bob Cichon
1

votes
1

answer

gridview pageindex in update panel

I have a gridview inside an updatepanel ,on first click the page index is changing but later clicks the page indexes are not changing. but the events are triggering when click. this is how i bind data. protected void gvPurchaseDetails_PageIndexChanging(object sender, GridViewPageEventArgs e) { gvPur...
Rinshad Hameed
1

votes
1

answer

Async task can't update GUI

My basic question is how do you update the GUI with AsyncTask. I am setting a String in onPostExecute that the GUI thread references. Using logging, I can see the String getting set in the onPostExecute method, but it never gets set on my GUI under my onClickListener to update the GUI. Any help i...
user1213942
1

votes
5

answer

php mysql bulk records update?

I'm trying to update multiple mysql records, with this code: Update multiple rows in mysql Id Name Lastname Email
user1208865
1

votes
1

answer

Update database directly from XAML

I have a WPF app that is currently driven completely from XAML. All fields, datagrids everything are bound from XAML using ObjectDataProviders objects. I have a DataAccessLayer (DAL) imported into the project. The calls to retrieve data using the ODPs are being used to display the data are all wo...
Matt
1

votes
1

answer

Using update queries with objectdb

The following code: EntityManagerFactory emf = Persistence.createEntityManagerFactory('test.odb'); EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); Point p = new Point(0, 0); em.persist(p); em.getTransaction().commit(); em.getTransaction().begin(); Query query = em.createQu...
user161904
1

votes
2

answer

Sql Update with Join statement

I have two tables : first one stores main informations and the second stores some extra informations. I need to update the first table with the help of some data stored at second table. My SELECT statement is working SELECT news.news_id, news.title, news.cat_id, news.sub_cat_id, news_extra.dat...
pikk
1

votes
1

answer

Update array of document embedded

A question if I want to update all documents embedded in a document, how could I do? because when you run the following command .update({'sites':{$elemMatch:{'status':true}}},{$set:{'sites.$.status': false}},{multi:true}) only the first found embedded document is updated documents example: { '_id':...
1

votes
1

answer

ViewPager - Update fragment from activity

I have a ViewPager with 3 fragments. One fragment downloads data ​from a website and displays it in TextViews. Now when the user clicks in the menu of the MainActivity on the item 'refresh', the fragment should redownloads the data and displays it. I tried to create a function refresh in the fragm...
1

votes
2

answer

Cannot update the UNIQUE column

I have a categories table like this for my forum: CREATE TABLE categories ( category_id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(60) NOT NULL, PRIMARY KEY (category_id), UNIQUE (name) ) ENGINE = MYISAM; As you can see, I set up the name column as UNIQUE because I intended to allow use...
Eric_ph
1

votes
1

answer

Update listbox in c# sql

Currently I created a wizard with a listbox. The listbox has a next and previous button. The listbox has thousands of items but the next and previous will show them 30 items at a time. I am not using AJAX so the page reloads each time the button is being clicked. I don't want the page to reload eve...
Nitrodbz
1

votes
1

answer

Android Google API direction update

I am using Google API in my app. Everything works perfectly. I just want to know how to update directions while moving. For now I have button 'Actualize direction', but I want to do it dynamically. For example I want to update it (maybe offline if it is possible?) after changing my actual location....
Dewv
1

votes
1

answer

CVS Update Equivalent in Git

I am new to git.So please forgive for basic question. I have couple of checkouts of repos: Folder1 is on Server1 and Folder2 is on Server2. Folder2 only 'git pull' changes. This fetches all files which is checked-in from Folder1. I want to update only specific file something like 'cvs update filenam...
MANISH ZOPE
1

votes
1

answer

update eclipse java to EE

I'm working with a version of eclipse. I want to update my version. I have 'Eclipse IDE for Java Developers', but I need somes things on 'Eclipse IDE for Java EE Developers' (EE version). Mostly I want the web part. So did theres a way inside the software for updating to EE? tank you (I'm using wind...
forX
1

votes
1

answer

MySQL Update DATETIME to DATE

I have a large table with a DATETIME column and for index reasons I want to add a column which just contains a DATE type. It seems that MySQL is not able to use an index by the following expression GROUP BY DATE(datetime) therefore I want to add another column with a second index. For updating I use...
sisu
1

votes
1

answer

Django update a model form

I have a modelform: class UserPreferencesForm(ModelForm): ''' Form for storing user preferences. ''' class Meta: model = UserPreferences exclude = ('user') the model: class UserPreferences(models.Model): ''' Model for user project preferences. ''' user = models.OneToOneField(User) ... and in the vie...
Darwin Tech
1

votes
1

answer

Codeigniter update database fields error

here is my code i want to update the database field but facing error.i print the query data posting is correct but why ID=0 i have capital id in db table but why please answer me what is issue i want to update via ajax. 1UPDATE form SET st_name = 'hello', st_class = 'update', st_address = 'SystemCo...
Sundas Subhani
1

votes
1

answer

HTML dropdown to update table

What I'm trying to do might be impossible, but I've come to the conclusion that I'm chasing my tail a bit. I've created the following php to populate a dropdown with a list of performances: echo ''; $link = mysql_connect('localhost', 'setlist', 'music'); $query = mysql_query('SHOW DATABASES'); whi...
Loren Zimmer
1

votes
6

answer

Update datetime fields date only

Years ago a conversion from MSSQL 6.5 to MSSQL 2000 has been done and they realized just this week that the conversion failed to convert some datetime columns. It is now my task to fix that and I've been scratching my head on how I could preserve some pieces of information I know is accurate. Here i...
Mario
1

votes
1

answer

update statement breaking the database

I am trying to figure out what's wrong here, but really not sure. I have a site with users, when a user edits details, it seems to override all other records with those details. This doesn't happen always but sometimes (of course the result is chaos!). Here is the code of update public function upd...
sys_debug
1

votes
1

answer

NSFetchedResultsController Not Responding to update

I have a NSFetchedResultsController in one of my UITableView and it manages the display of data. The main entity has a number or relationships and when the data in either of those relationships updates, the tableview updates. My problem is this: If I change data in a relationship like this, everythi...
CoreCode
1

votes
3

answer

sql server update from select

Following the answer from this post, I have something like this: update MyTable set column1 = otherTable.SomeColumn, column2 = otherTable.SomeOtherColumn from MyTable inner join (select *some complex query here*) as otherTable on MyTable.key_field = otherTable.key_field; However, I keep getting this...
1

votes
0

answer

Dynamically update / 'refresh' javascript function

I'm quite new to JavaScript and have come up on a problem which probably shows my naivety :( Here's a simplified version: I have an array and a function which automatically creates a new for each array element to display its contents on the page. I also have a button which calls a function to add a...
Will
1

votes
1

answer

Update query keeps throwing errors

UPDATE qryMembersBorrows SET [qryMembersBorrows].[DaysOver] = SUM([qryMembersBorrows].[DateReturned] - [qryMembersBorrows].[DateDue]), qryMembersBorrows.OverdueFine = SUM([qryMembersBorrows].[DaysOver] * 0.93); This code keeps throwing an error: Your query does not include the specified expression...
Alan Dong
1

votes
2

answer

Webpage update notification in android

I have made a webapp for my android phone where I can check the sales at my store when I'm not there. I would like to have notifications on my phone whenever a sale is made. What is the best way of doing this? Any existing android apps that I can configure to check a php-script every 2 minutes or so...
OMGKurtNilsen
1

votes
2

answer

Update a Windows Mobile Driver

We have a custom NDIS protocol and miniport drivers for Windows Mobile 6.5. We'd like to allow the user to uninstall these drivers cleanly, however uninstall currently gives the error: ' was not completely removed. Do you want to remove it from the list of installed programs?' This is probably ha...
Tom Hennen
1

votes
1

answer

Gridview Data Update by textbox

When am trying to update Datagridview with a textbox value it shows empty value in textbox my code is this.wt's wrong in this. bnddata() has dataset assign to gridview protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { GridView1.EditIndex = e.NewEditIndex; bnddata(); } pro...
Raghu
1

votes
2

answer

AJAX UPDATE + PHP + IE = Fail?

Following from this thread: Another IE jQuery AJAX/post problem (please read the thread to understand this one) Now i've got an solution for the thread above.. But, the ok.php (the site it updates each 10 seconds, with AJAX script) Doesn't show in IE if the response contain HTML code. With this I me...
Karem
1

votes
1

answer

ADO.NET tableadapter add/update/delete

I'm using the table adapter in C# where visual studio generates the code for you. I have inserts and updates working just fine using the following code. However when trying to delete using the .update it gives me the following error. Update requires a valid DeleteCommand when passed DataRow collecti...
Chris Muench
1

votes
1

answer

Update mapping table in Linq

I have a table Customers with a CustomerId field, and a table of Publications with a PublicationId field. Finally, I have a mapping table CustomersPublications that records which publications a customer can access - it has two fields: CustomerId field PublicationId. For a given customer, I want to u...
Gary McGill
1

votes
1

answer

Update using AJAX and JQuery

I'm trying to do a simple update, but can't figure out somthing. I have a table that i get from a DB with an Edit button that when i press change to a Save button so i can save with Ajax the record that the user just edit. I'm doing the first part just fine, have one function that do all the jquery...
Erez
1

votes
2

answer

JQuery Sort And Update Database

I'm trying to present the user with a list of links (properties: Title, url, visible, order). The list will display based upon their order. The user will be able to drag these into the order they want, which will update the records in the database. The user could also click a button that will sor...
splatto
1

votes
1

answer

Entity Framework - Detached Update issue

Ok, I am attempting to use this custom extension to perform an entity update. Right now it should update all properties and then all of its related ends (references). The problem is even though the entity with changes does have a related end with an entity key that is valid and correct (verified in...
Michael M.
1

votes
3

answer

Update input value on click

I have input : And div : Add to input Description 99,00 Question: How to increase input value by price in every click? Now I increase only number of clicks. Fiddle.
broc
1

votes
1

answer

Update existing record in CakePHP

I want to create the following in CakePHP: Starting page: User enters a loginname which pre exists in the DB. Table name loginname. Once the user has entered the right loginname, the user continues to the registration form, where the user can add personal data to the existing record. When the user s...
user2314339
1

votes
1

answer

Conditional update statement in PSQL

I'm trying to do a conditional update on my website. Whenever a user clicks a certain link, a global counter variable in the database increments itself. The complication is that when the counter number exceeds the number of websites I have on record, I want the counter to go back to 1. I have an upd...
GreenGodot
1

votes
1

answer

pypyodbc update number type field

I have used the script below to successfully update fields in an Access .mdb database that are text fields. I am trying to update a number type field but am getting errors. import csv, pypyodbc conn=pypyodbc.connect('Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=c:/MDBTest/MyReducedMdb.mdb;...
user3579106