I have never used a TMyQuery for posting data (only reading).
But for a specific case I will have to.
The SQL I use for displaying datas is like this :
Code: Select all
SELECT 
  Movies.id_movie,
  Movies.movie_titre as Titre,
  Movies.movie_realisateurs as Realisateurs,
  Movies.movie_acteurs as Acteurs,
  Movies.movie_annee as Annee,
  Movies.movie_pays as Pays,
  Movies.movie_duree as Duree,
  Movies.movie_genre as Genre,
  Movies.film_dvd,
  Movies.film_bluray,
  Movies.film_vhs,
  Movies.film_adav,
  Movies.film_supp16,
  Movies.film_supp35,
  Movies.film_ba,
  Movies.film_photos,
  Movies.film_presse,
  Movies.film_pub_divers,
  Movies.film_muet,
  Movies.film_nb,
  Affiches.affiche_photo
FROM
  Affiches
  INNER JOIN Movies ON (Affiches.id_movie = Movies.id_movie)
ORDER by Movies.movie_titreI would like to switch to edit mode and modify the Movies fields (only) and post my modifications.Same thing with deletion of records and appending of new records.
Probably by using SQLinsert, SQLDelete, SQLUpdate but how ?
Thanks for your help.