Android Question Insert into

Peekay

Active Member
Licensed User
Longtime User
I have this query in my config.properties file :

sql.Menu7_Insert=INSERT INTO sitemessages (senderandroidid, receiverandroidid, message, thisdatetime,) VALUES(?,?,?,?) ;

The parameters (defined as 'dim params(4) as string' and error are as per picture:

What can be the problem?

Thanks
PK
 

Attachments

  • rdc error.jpg
    102.8 KB · Views: 122

Peekay

Active Member
Licensed User
Longtime User
The params are defined in the code as they are without apostrophes, like params(3)=txtEdit.text

PK
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Sorry, I did not notice.
So... is it working without the comma? How are defined the fields in the mysql database? Not in B4A
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…