I want do something like :
<begin of a function>
  char ligne[200] = "INSERT INTO compte VALUES(";
  strcat(ligne,compte);
  strcat(ligne,",\'");
  strcat(ligne,Nom_Compte);
  strcat(ligne,"\');")
< compte, Nom_Compte are *char[15] >
  res = PQexec(connexion,"BEGIN");
  PQclear(res);
  res = PQexec(connexion,"COPY compte FROM stdin");
  PQclear(res);
  PQputline(connexion,ligne);
  PQputline(connexion,"\\.\n");
  res = PQendcopy(connexion);
  PQclear(res);
   res = PQexec(connexion,"END");
   PQclear(res);
< end of function >
Question : What it's false ?
Any help accept.
Thank's
--
+++++++++++++
Bruno LEVEQUE
    CNAM
+++++++++++++