Hi folks
I have been struggling with an update_recordset statement. It comes down to this:
update_recordset MyTable setting MyField = joinedTableX.Name " " joinedTableY.Name
*join the tables*
SQL ignores the space.
I have tried a numerous variations (possibly all of the variations lol) and it seems that it only ignores the last space in the string constant.
update_recordset MyTable setting
MyField = joinedTableX.Name " - " joinedTableY.Name
If we take an example where joinedTableX.Name = "HelloX" and joinedTableY.Name = "HelloY". Then the result for the first piece of code (content of MyTable.MyField) will be "HelloXHelloY". And the second piece of code will produce "HelloX -HelloY". Note the missing second space.
I have achieved the solution using a while select. But I would like to understand why this happens so that I can implement my solution using a set based operation.
Thanks for your attention.