A Alex_197 Well-Known Member Licensed User Longtime User Jan 30, 2024 #1 Hi all. Have you ever seen this SQLight exception B4X: ExecNonQuery error: not an error This is a code where it's happens B4X: Dim MySQL As String MySQL="delete FROM tblUnscheduledShifts " MySQL= MySQL & "where id in ( " MySQL= MySQL & "Select us.ID " MySQL= MySQL & "FROM tblUnscheduledShifts As US " MySQL= MySQL & "left JOIN tblPlacementSchedule As PS " MySQL= MySQL & "on ps.PlacementLocalID=us.PlacementLocalID " MySQL= MySQL & "And ps.JobDate=us.JobDate " MySQL= MySQL & "where ps.id Is Null " MySQL= MySQL & "AND ps.SentFinish Is NOT Null" MySQL= MySQL & ") " Main.SQL1.ExecNonQuery(MySQL) I can't understand what is wrong here? This is only one user has this error. If I run this query against user's database in DB Browser it's doesn't show any errors.
Hi all. Have you ever seen this SQLight exception B4X: ExecNonQuery error: not an error This is a code where it's happens B4X: Dim MySQL As String MySQL="delete FROM tblUnscheduledShifts " MySQL= MySQL & "where id in ( " MySQL= MySQL & "Select us.ID " MySQL= MySQL & "FROM tblUnscheduledShifts As US " MySQL= MySQL & "left JOIN tblPlacementSchedule As PS " MySQL= MySQL & "on ps.PlacementLocalID=us.PlacementLocalID " MySQL= MySQL & "And ps.JobDate=us.JobDate " MySQL= MySQL & "where ps.id Is Null " MySQL= MySQL & "AND ps.SentFinish Is NOT Null" MySQL= MySQL & ") " Main.SQL1.ExecNonQuery(MySQL) I can't understand what is wrong here? This is only one user has this error. If I run this query against user's database in DB Browser it's doesn't show any errors.
Erel B4X founder Staff member Licensed User Longtime User Jan 30, 2024 #2 1. [B4X] Smart String Literal - Alex_197 said: This is only one user has this error. If I run this query against user's database in DB Browser it's doesn't show any errors. Click to expand... 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't? Upvote 0
1. [B4X] Smart String Literal - Alex_197 said: This is only one user has this error. If I run this query against user's database in DB Browser it's doesn't show any errors. Click to expand... 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't?
A Alex_197 Well-Known Member Licensed User Longtime User Jan 30, 2024 #3 Erel said: 1. [B4X] Smart String Literal - 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't? Click to expand... Erel said: 1. [B4X] Smart String Literal - 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't? Click to expand... Looks like this. About 20 users have this app installed on their iPhone and only 2 so far report this issue. I'm receiving emails whwn it happens. I don't even understand this exception message. Upvote 0
Erel said: 1. [B4X] Smart String Literal - 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't? Click to expand... Erel said: 1. [B4X] Smart String Literal - 2. Not sure that I understand. Does this query (in B4i) sometimes work and sometimes doesn't? Click to expand... Looks like this. About 20 users have this app installed on their iPhone and only 2 so far report this issue. I'm receiving emails whwn it happens. I don't even understand this exception message.
Computersmith64 Well-Known Member Licensed User Longtime User Jan 30, 2024 #4 Try getting rid of the trailing space in: Code: MySQL= MySQL & ") " I've seen reports of this "not an error" error coming up randomly for queries that have trailing spaces &/or lines. For the 2 who report the issue, does it happen consistently or is it intermittent? - Colin. Upvote 0
Try getting rid of the trailing space in: Code: MySQL= MySQL & ") " I've seen reports of this "not an error" error coming up randomly for queries that have trailing spaces &/or lines. For the 2 who report the issue, does it happen consistently or is it intermittent? - Colin.
A Alex_197 Well-Known Member Licensed User Longtime User Jan 30, 2024 #5 Computersmith64 said: Try getting rid of the trailing space in: Code: MySQL= MySQL & ") " I've seen reports of this "not an error" error coming up randomly for queries that have trailing spaces &/or lines. For the 2 who report the issue, does it happen consistently or is it intermittent? - Colin. Click to expand... It's just happened, for the last 2 days. Upvote 0
Computersmith64 said: Try getting rid of the trailing space in: Code: MySQL= MySQL & ") " I've seen reports of this "not an error" error coming up randomly for queries that have trailing spaces &/or lines. For the 2 who report the issue, does it happen consistently or is it intermittent? - Colin. Click to expand... It's just happened, for the last 2 days.
aeric Expert Licensed User Longtime User Jan 31, 2024 #6 If I am not remember wrongly, this may due to Null data. Upvote 0