Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Weird rowstoload count with sql..

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2007, 04:49 PM
Junior Member
 
Join Date: May 2007
Posts: 37
Default Weird rowstoload count with sql..

Refer to dzt's project (at dict.zip). He has mentioned this at code's comment. But i just want to make this sure.

code:
.....
cmd.CommandText = "select * from yyyy"
cmd.ExecuteTable("table1", RowsToLoad)
.....

The row which is showed always rowstoload-1. So if I set rowstoload = 2, just 1 row will be showed up (plus header). Set 1 and none of row is displayed (just the header).

So, the header is counted as row too or is it b4ppc's bug? (or maybe sql's bug?) Or that's a normal behaviour? Because that's make a little bit confusing...

Thanks Erel, again...
Reply With Quote
  #2 (permalink)  
Old 06-05-2007, 05:59 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,712
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It's a bug in the SQL library.
It will be fix in the next update.
Reply With Quote
  #3 (permalink)  
Old 06-05-2007, 06:18 PM
Junior Member
 
Join Date: May 2007
Posts: 37
Default

That explained the problem.

Thanks Erel.

PS: B4ppc is a good software with AWESOME customer support that I've ever met. Already purchased many software but nothing compared to Erel. Incredibly fast reply and straight to the point answer. Often ask to myself, have you ever log out from b4ppc's forum and take a sleep, Erel?
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 07:08 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,712
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Thanks belotrei
And don't worry, my wife says that I sleep enough
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to count sql row... belotrei Questions (Windows Mobile) 4 10-08-2009 08:47 PM
error count days between dates mike2ppc Questions (Windows Mobile) 1 10-23-2008 09:44 PM
Get row count in SQL? N1c0_ds Questions (Windows Mobile) 1 10-23-2008 06:48 AM
Weird compile error after upgrading from v5 to v6.3. ClarkVent Questions (Windows Mobile) 1 07-27-2008 12:03 AM


All times are GMT. The time now is 03:34 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0