Topic: Print a selected record in a tablegrid
Hello everyone, thank you because you are reading my request and I am sure you will help me.
In my project I have a table called "Dipendenti" with various fields. I inserted a button to print only one record of a tablegrid. I looked at the example project found on the phone book site and tried the "SQL Report". There is no link to any other table in this table.
The code I wrote in the SQL report is this:
SELECT
Dipendenti.CAP,Dipendenti.Città,
Dipendenti.Cognome,
Dipendenti.DataNascita,Dipendenti.e-mail,
Dipendenti.Indirizzo,Dipendenti.InternoTelefono,
Dipendenti.Nome,Dipendenti.NumeroTelefono,
Dipendenti.Settore,Dipendenti.TitoloStudio,
FROM Dipendenti
WHERE Dipendenti.id = $id
Other try:
SELECT
Dipendenti.CAP,Dipendenti.Città,
Dipendenti.Cognome,
Dipendenti.DataNascita,Dipendenti.e-mail,
Dipendenti.Indirizzo,Dipendenti.InternoTelefono,
Dipendenti.Nome,Dipendenti.NumeroTelefono,
Dipendenti.Settore,Dipendenti.TitoloStudio,
Dipendenti.id
FROM Dipendenti
WHERE Dipendenti.id = $Dipendenti
Will you kindly help me understand where it is that I am wrong? Thank you very much.