Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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?

asked 21 Mar '13, 13:23

J%20Chapman's gravatar image

J Chapman
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
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 21 Mar '13, 13:23

question was seen: 910 times

last updated: 21 Mar '13, 14:40