Help me with easy sentence

I need to write an IF statement.

I have a string value in the field.
For example "HELLO"

for instance IF in the field is "HE" or if it begins with "H" then do something. >

Comments

  • edited 9:20AM
    Which language do You speak
    I use query
    procedure TForm3.RzEdit6Change(Sender: TObject);
    begin
    dm.ADOQserv.SQL.Clear;
    dm.ADOQserv.close;
    dm.ADOQserv.sql.Text := 'SELECT * FROM service WHERE design LIKE  '+quotedStr(RzEdit6.Text+'%');
    dm.ADOQserv.Prepared;
    dm.ADOQserv.open;
    end;
    
    and this query is linked with dbgrid so the Use will see the result in dbgrid

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.