Código Delphi [-]FDConnection1.GetLastAutoGenValue('Gen_aTable')
FDConnection1.GetLastAutoGenValue('Gen_aTable')