Welcome! Log In Create A New Profile

Advanced

Problem with mysql field type smallInt

Posted by vicheka.pcs.crosspost 
vicheka.pcs.crosspost
Problem with mysql field type smallInt
April 30, 2009 11:35AM
Hi everybody,
currently, I developed a website on webdev I use default webdev server apache 1.x and choose the website webdev dynamic and for database i use mysql and connection from webdev to mysql server I use webdev natif access and now my problem is that i read the id field of table ABC and its datatype is smallint so when HReadFirst(ABC,id) and i use info(id) it gives me the wrong result because when I check the actual value in mysql server the id is "8" but when in webdev it gives me like "4578899513" something like that so i think the pb is because the datatype of the field id is smallint and thus my guestion is "how can we convert from smallint to int via webdev wlanguage"????
Please help me

Best regards,
Vicheka

Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: