FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
embedded query in table control
embedded query in table control
Débuté par Ravi, 02 oct. 2018 19:25 - 1 réponse
Connectez-vous…
Ravi
#1
Posté le 02 octobre 2018 - 19:25
Hi
I am using a table control to display selected records from a database. The database is used to record visitor entries from different buildings. Each station will see only those records that pertain to the particular building. I am trying to use an embedded query in the table control content section. The building is stored in a global variable gsBuildingQual. The command becomes like this:
SELECT
visitors.VisitorsID AS VisitorsID,
visitors.vis_date AS vis_date,
visitors.vis_title AS vis_title,
visitors.vis_lname AS vis_lname,
visitors.vis_fname AS vis_fname,
visitors.vis_idno AS vis_idno,
visitors.vis_company AS vis_company,
visitors.vis_telno AS vis_telno,
visitors.vis_floor AS vis_floor,
visitors.vis_purpose AS vis_purpose,
visitors.vis_remarks AS vis_remarks,
visitors.vis_timein AS vis_timein,
visitors.vis_timeout AS vis_timeout,
visitors.vis_building AS vis_building
FROM
visitors
WHERE
visitors.vis_building = 'gsbuildingqual'
It is not working. Tried as param also {gsbuildingqual} .
Please help. Thanks
Signaler
0
0
Jose Antonio Garrido
#2
Posté le 09 octobre 2018 - 10:53
You should simplify the problem.
The first thing you should test it's if the query does works. In the query editor itself.
If it doesn't work then you should simplify it, until it does.
Or maybe it does the query work, but table isn't showing their content? Please tell us...
Regards,
José Antonio.
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
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