1 (edited by blackpearl8534 2020-08-16 06:57:02)

Topic: SQL Condition

how to apply a condition if connection is not connected then show message

Post's attachments

Attachment icon untitled.JPG 84.19 kb, 104 downloads since 2020-08-16 

Re: SQL Condition

did you try the try except?

try
    db_settings:=...
    Conn.Open...

    {query to get}
    res.Open...
except
    // your message here
end;
brian