Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6099793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:18:49+00:00 2026-05-23T13:18:49+00:00

So I got SQLite database working for my app. It loads text values from

  • 0

So I got SQLite database working for my app. It loads text values from database, copies it to the array and displays it in Table View.

The first time I got it going i had the values Tuesday, Thursday, Saturday displaying. Then I modified the database using SQLite Manager add-on for firefox (I also used it to create it) by adding new values. However, the new values are not displaying, and even if I delete values like Saturday, the same old “Tuesday, Thursday, Saturday” keeps reappearing. I’m baffled.

Notes:

  • I tried restarting Xcode and even the computer lol.
  • When I modify database in SQLite Manager, the update time on database file is refreshed in Xcode.
  • My database management, just like in the tutorial, happens in AppDelegate.
  • In appdelegate: (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions I have this code at beginning

    routines = nil; // Reset array
    database = nil; // not opened yet
    selStmt = nil; // no compiled statement yet
    updStmt = nil; // no compiled statement yet
    

I’m following this tutorial and modifying it on my needs:
http://technologyservants.com/index.php?option=com_content&view=article&id=46:shopping-list-an-iphone-sqlite-tutorial

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:18:50+00:00Added an answer on May 23, 2026 at 1:18 pm

    You’re probably copying the database from the app bundle into the documents directory if it doesn’t already exist in the documents directory.

    The next time you run your app (with a new db) you check that the db exists in the user’s documents directory and then you’re probably not copying it again. You’re not comparing the versions of the db, you’re just checking that a db with that name exists.

    If you’re in development still, an easy solution is to just clear reset the content and settings of the simulator, which will cause your app to copy the db again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a flex/air app I've been working on, it uses a local sqlite
I'm trying to insert values on Android SQLite Database. The question is, I'm trying
I've got a C++ program that uses SQLite. I want to store the SQL
Got myself in a bit of a pickle here ... working on a CMS
Got a problem with ADOMD.NET 8.0, SQL2008 and our app. It isn't giving us
I've got an iPhone app I'm developing and when the app launches I open
I've been reading through this tutorial for using a SQLite database within an iPhone
I changed a dataset based approach to my sqlite database to one using the
I've got a database with three tables: Books (with book details, PK is CopyID),
I'm using a SQLite database to store information on players and their teams using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.