The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

I have a select statement such as "select count(*) from table_name"

On the iOS simulator if I use resultset->GetIntWithType(x, UL_TYPE_S_LONG); I get the correct value. However, on the device I get a vary large number greater than MaxInt. If I change it to use resultSet->GetInt(x); it works.

I assume this is a bug? Do any of the GetIntWithType function methods work?

12.0.1.3853

asked 21 Mar '13, 13:23

J%20Chapman's gravatar image

J Chapman
3413612
accept rate: 66%

edited 21 Mar '13, 13:39


I did some more research and it looks like the problem was not with GetIntWithType but when I used it in Mono. If I change my property to an int instead of a long everything is fine.

permanent link

answered 21 Mar '13, 14:40

J%20Chapman's gravatar image

J Chapman
3413612
accept rate: 66%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×145

question asked: 21 Mar '13, 13:23

question was seen: 402 times

last updated: 21 Mar '13, 14:40