Can't edit field in grid

BubikolRamios's profile image BubikolRamios posted 11 years ago in General Permalink
select term,locate(' ',term) ,locate(' ',term,locate(' ',term)+1), 
LEFT(term,locate(' ',term,locate(' ',term)+1)),
RIGHT(term,length(term)- locate(' ',term,locate(' ',term)+1))
from table
where term regexp('[0-9]')


This is select from one table, and 'term' is a column.
When I try to edit that column in grid -->

[Window Title]
Error
[Main Instruction]
Grid editing error
[Content]
Column #1 has an undefined origin: locate(' ',term)
[OK]


Does not look logical.
BubikolRamios's profile image BubikolRamios posted 11 years ago Permalink
'That' column menas first column in resultset, that is, 'term' column.
BubikolRamios's profile image BubikolRamios posted 11 years ago Permalink
+ The same message (on try edit) on all columns in result grid !
I think logical for all, except for first ...
ansgar's profile image ansgar posted 11 years ago Permalink
This is a safety feature in HeidiSQL - it blocks editing if you have calculated fields in the result.
BubikolRamios's profile image BubikolRamios posted 11 years ago Permalink
How would that represent safety risk ?
I think block of editing calculated fields would be sufficient, as there is no reason to edit them anyway.

Please login to leave a reply, or register at first.