Einzelnen Beitrag anzeigen

Klaus01
Online

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: How to pass a computed date variable to a where sql command

  Alt 7. Jun 2020, 09:01
Hi

the colon ":" is the introducing character of a sql Parameter , in your case the parameter name is dt
You need to set this sql parameter.

qry.Params.ParamByName('dt').Value := < your date time value>

Best regards
Klaus
Klaus

Geändert von Klaus01 ( 7. Jun 2020 um 10:37 Uhr)
  Mit Zitat antworten Zitat