[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Adding a case sensitive field to a dynamic temp-table

Status
Not open for further replies.
S

Stefan Drissen

Guest
And an updated snippet that shows what a case-sensitive compare should have resulted in: define temp-table tt field cc as char case-sensitive . create tt. tt.cc = "Hi". message tt.cc = "Hi" compare( tt.cc, "=", "Hi", "case-sensitive" ). message tt.cc = "hi" compare( tt.cc, "=", "hi", "case-sensitive" ). def var ht as handle no-undo. def var hb as handle no-undo. create temp-table ht. ht:add-like-field( "cc", "tt.cc" ). ht:temp-table-prepare( "tt" ). hb = ht:default-buffer-handle. hb:buffer-create(). hb::cc = "Hi". message hb::cc = "Hi" compare( hb::cc, "=", "Hi", "case-sensitive" ). message hb::cc = "hi" compare( hb::cc, "=", "hi", "case-sensitive" ). yes yes no no yes yes yes no !!!

Continue reading...
 
Status
Not open for further replies.
Top