Expects type string

I am trying to build an old REALBasic project using Xojo

I’m getting the following error:

This item does not exist
changeRecords = db_myDB.SQLSelect(SqlStatement)

db_myDB is declared as mySQLCommunityServer

If your compiler tells you that a certain method expects a parameter of type string and you have

var MyVariable as integer

you must transfer

MyVariable.ToText[/code] instead of [code]MyVariable

Looks like the OP deleted the post, shame as if it helps others it is valuable

[quote=496123:@Michael Eckert]If your compiler tells you that a certain method expects a parameter of type string and you have

var MyVariable as integer

you must transfer

MyVariable.ToText[/code] instead of [code]MyVariable
MyVariable.ToString

would be better.