Wrox Programmer Forums
|
BOOK: Professional iPhone and iPad Application Development
This is the forum to discuss the Wrox book Professional iPhone and iPad Application Development by Gene Backlin; ISBN: 978-0-470-87819-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 28th, 2011, 07:48 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2: Displaying the Catalog

When running this step I get 'Problem with the database'

sqlResult is 1

However, am able to run the sql successfully in SQLite Manager.

How do I track down the problem with excuting the sql?
'
 
Old May 29th, 2011, 11:09 AM
Wrox Author
 
Join Date: Oct 2010
Posts: 61
Thanks: 0
Thanked 9 Times in 7 Posts
Default

Quote:
Originally Posted by spcalia View Post
When running this step I get 'Problem with the database'

sqlResult is 1

However, am able to run the sql successfully in SQLite Manager.

How do I track down the problem with excuting the sql?
'
I believe you are referring to this book, as my Chapter 2 is on Alerts, Action Sheets and Modal Views:

http://p2p.wrox.com/book-professiona...ogramming-603/

However since you stopped by. If I were you, I would try to do a build - clean on your project and in the simulator delete the app by click and hold till the icons start to wiggle and an (X) appears. Click on the (X) to remove the app, quit the simulator and re-run from Xcode again.

What version of Xcode do you have installed and what SDK ?
 
Old May 29th, 2011, 05:27 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did a clean build and deleted the app in the simulator, but get the same result.

console output is:

2011-05-29 14:24:00.817 Catalog[3025:207] Opening Database
2011-05-29 14:24:00.820 Catalog[3025:207] Problem with the database:
2011-05-29 14:24:00.820 Catalog[3025:207] sqlResult is 1

I am using ios 4.3 iPhone simulator. What should I be using?
 
Old May 29th, 2011, 10:39 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default working now

re-did the chapter from scratch.

Drilled the basics in my head.

Displaying properly now.

Yeh!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 Image not displaying jfraymondpa BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 March 12th, 2011 06:24 PM
Chapter 8 problem displaying sidebar shilohcoder BOOK: Beginning ASP.NET 4 : in C# and VB 6 February 19th, 2011 07:50 PM
Chapter 4:Displaying the reviews p.126-128 drgnhiker BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 6 November 6th, 2010 04:04 AM
Chapter 12 Displaying and Updating Data bpl BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 November 25th, 2009 02:32 PM
Chapter 17 - Displaying the dialog box davidd31415 BOOK: Beginning Visual C++ 6 1 September 24th, 2006 04:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.