Delphi Compiler Directive to Evaluate Arguments in Reverse

前端 未结 4 887
我寻月下人不归
我寻月下人不归 2021-01-13 11:41

I was really impressed with this delphi two liner using the IFThen function from Math.pas. However, it evaluates the DB.ReturnFieldI first, which is unfortunate because I n

4条回答
  •  执笔经年
    2021-01-13 11:47

    Can't you change your query to have only one result so avoid to do the 'First' command ? Just like :

    SELECT TOP 1 awesomedata1 from awesometable 
    

    In Access...

提交回复
热议问题