FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Export unique database entries
Export unique database entries
Débuté par scott daughtry, 18 fév. 2024 04:50 - 1 réponse
Connectez-vous…
scott daughtry
#1
Posté le 18 février 2024 - 04:50
How can I export a list of unique database field values to a text file?
For example, the animal field contains in the database:
Alligator
Alligator
Cat
Dog
Dog
Penguin
Zebra
Zebra
I created a button on my listbox window to export the database to a .CSV file and use HexportCSV() to export the data, but it contained every database record. I created a Unique key in the Analysis for the desired field, but all that accomplished was displaying a popup error message whenever Hadd() tried to add the record if the index already possessed the animal value (e.g. Zebra).
Signaler
0
0
meikl
#2
Membre enregistré
124 messages
Posté le 19 février 2024 - 10:20
Please explain more
What do you want to export?
If you want to export a subset of your table use a "Select * from YourTable where [Your FilterCondition]"-Query and export your query result ...
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
WEBDEV (précédentes versions)
WINDEV Mobile (précédentes versions)
Etats & Requêtes
Hors-sujet
Outils
WINDEV 26
WINDEV 2024
WINDEV 2024
WINDEV 2024
WINDEV 25
WEBDEV 2024
WEBDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte