$fieldValue:=$fieldPtr-> \r
$fieldValue:=Remplacer chaine ($fieldValue; $fieldDelimiter; " ")\r
$fieldValue:=Remplacer chaine ($fieldValue; $recordDelimiter; " ")\r
+ $fieldValue:=Remplacer chaine ($fieldValue; Caractere(13); " ")\r
Fin de cas \r
\r
Si ($fieldNumber#$numberOfFields) \r
\r
`Export des relations des formations\r
\r
+$tab:=Caractere(9)\r
+$fin:=Caractere(10)\r
+$ret:=Caractere(13)\r
+\r
$doc:=Creer document("c:\export_crem\Formation.txt";"TXT")\r
Si (ok=1)\r
- $tab:=Caractere(9)\r
- $fin:=Caractere(10)\r
$texte:="Cote_Phono"+$tab+"Instr_Scientif"+$tab+"Instr_Vernacul"+$tab+"Interprète"+$tab+"Total_Instrum"+$fin\r
ENVOYER PAQUET($doc;Mac vers Windows($texte))\r
TOUT SELECTIONNER([Phono])\r
$cote:=[Phono]Cote_Phono\r
$cote:=Remplacer chaine($cote; $tab; " ")\r
$cote:=Remplacer chaine($cote; $fin; " ")\r
+ $cote:=Remplacer chaine($cote; $ret; " ")\r
TOUS LES SOUS ENREGISTREMENTS([Phono]Formation)\r
Boucle ($j;1;Sous enregistrements trouves([Phono]Formation)\r
$instr_scientif:=Remplacer chaine([Phono]Formation'Instr_Scientif; $tab; " ")\r
$instr_scientif:=Remplacer chaine($instr_scientif; $fin; " ")\r
+ $instr_scientif:=Remplacer chaine($instr_scientif; $ret; " ")\r
$instr_vernacul:=Remplacer chaine([Phono]Formation'Instr_Vernacul; $tab; " ")\r
$instr_vernacul:=Remplacer chaine($instr_vernacul; $fin; " ")\r
+ $instr_vernacul:=Remplacer chaine($instr_vernacul; $ret; " ")\r
$interprete:=Remplacer chaine([Phono]Formation'Interprète; $tab; " ")\r
$interprete:=Remplacer chaine($interprete; $fin; " ")\r
+ $interprete:=Remplacer chaine($interprete; $ret; " ")\r
$total:=Remplacer chaine([Phono]Formation'Total_Instrum; $tab; " ")\r
$total:=Remplacer chaine($total; $fin; " ")\r
+ $total:=Remplacer chaine($total; $ret; " ")\r
$texte:=$cote+$tab+$instr_scientif+$tab+$instr_vernacul+$tab+$interprete+$tab+$total+$fin\r
ENVOYER PAQUET($doc;Mac vers Windows($texte))\r
SOUS ENREGISTREMENT SUIVANT([Phono]Formation)\r
\r
$doc:=Creer document("c:\export_crem\Fonction_Usage.txt";"TXT")\r
Si (ok=1)\r
- $tab:=Caractere(9)\r
- $fin:=Caractere(10)\r
$texte:="Cote_Phono"+$tab+"Mot_Clef"+$fin\r
ENVOYER PAQUET($doc;Mac vers Windows($texte))\r
TOUT SELECTIONNER([Phono])\r
$cote:=[Phono]Cote_Phono\r
$cote:=Remplacer chaine($cote; $tab; " ")\r
$cote:=Remplacer chaine($cote; $fin; " ")\r
+ $cote:=Remplacer chaine($cote; $ret; " ")\r
TOUS LES SOUS ENREGISTREMENTS([Phono]Fonction_Usage)\r
Boucle ($j;1;Sous enregistrements trouves([Phono]Fonction_Usage)\r
$mot_clef:=Remplacer chaine([Phono]Fonction_Usage'Mot_Clef; $tab; " ")\r
$mot_clef:=Remplacer chaine($mot_clef; $fin; " ")\r
+ $mot_clef:=Remplacer chaine($mot_clef; $ret; " ")\r
$texte:=$cote+$tab+$mot_clef+$fin\r
ENVOYER PAQUET($doc;Mac vers Windows($texte))\r
SOUS ENREGISTREMENT SUIVANT([Phono]Fonction_Usage)\r