Forums

Mysql max integer value

MacHeist Forums » Deals Around the Web » Mysql max integer value

adamlevine

Urchin

1 posts

Mysql max integer value

Hi!

Here is part of my code:
(it's on desktop app, button action)

dim rs as RecordSet
dim i, fim as integer

rs=app.g_db.SQLSelect("select max(id) id from zendesk")
fim=rs.field("id").IntegerValue+1
here is the "debug of fim"

fim = -14163
and, of course, this is the "select max(id) id from zendesk" result from my database…
id= 51372

… any idea what's going on here??

April 6, 2018 5:19 am
MacHeist Forums » Deals Around the Web » Mysql max integer value

Become an agent



Keep me posted on more free offers and deals on great Mac software (We'll never sell your email, spam is evil)


As a MacHeist agent you'll be privy to special missions like these, tons of awesome free software, and the best software deals around. What do you want to hear about?

 

Login to MacHeist



As a MacHeist agent you'll be privy to special missions like these, tons of awesome free software, and the best software deals around. What do you want to hear about?