I've had better results with: set char 1 to -1 of the text of ... > On Aug 11, 2016, at 11:28 AM, Dr. Hawkins <doch...@gmail.com> wrote: > > This code has been around a while; it's part of the maintenance routines. > But now it's glitching. > > tgTg holds the long id of a field > > Inside a conditional, the last line of the code > > set the txtFnt of tgTg to "ArialMt" > ck tgTg & cr & the long name of tgTg > set the textFont of the text of tgTg to empty > > > is giving the error > > button "mkArialMt": execution error at line 8 (Chunk: error in object > expression) near "sofa_dpadr_", char 30 > > > Maybe it just hasn't hit a field with the condition in a while, but isn't > this the correct way to clear the text of a field? > > sofa_dpadr_ is indeed the name of the field in question, and it has text in > it. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode