Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
mat
Vincent wrote:
Bonjour,
J'ai recupéré une requete d'access ( qui fonctionne bien sous access) :
select * from tab_archi where lft < (select lft from tab_archi where nom = val1) and rgt > (select rgt from tab_archi where nom = val1) order by lft
...
Bonjour,
pour utiliser un même fichier à plusieurs reprises, il faut donner des Alias. Et pour les rubriques, il faut indiquer à quel fichier elle se réfère. J'essayerais quelque chose comme
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
Salutations Mat
Vincent wrote:
Bonjour,
J'ai recupéré une requete d'access ( qui fonctionne bien sous access) :
select * from tab_archi
where lft < (select lft from tab_archi where nom = val1) and rgt > (select
rgt from tab_archi where nom = val1)
order by lft
...
Bonjour,
pour utiliser un même fichier à plusieurs reprises, il faut donner des
Alias. Et pour les rubriques, il faut indiquer à quel fichier elle se
réfère. J'essayerais quelque chose comme
select * from tab_archi
where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and
rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1)
order by lft
J'ai recupéré une requete d'access ( qui fonctionne bien sous access) :
select * from tab_archi where lft < (select lft from tab_archi where nom = val1) and rgt > (select rgt from tab_archi where nom = val1) order by lft
...
Bonjour,
pour utiliser un même fichier à plusieurs reprises, il faut donner des Alias. Et pour les rubriques, il faut indiquer à quel fichier elle se réfère. J'essayerais quelque chose comme
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
Salutations Mat
mat
mat wrote:
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where TA1.nom = val1) and tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom = val1) order by tab_archi.lft
mat wrote:
select * from tab_archi
where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and
rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1)
order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi
where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where
TA1.nom = val1) and
tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom = val1)
order by tab_archi.lft
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where TA1.nom = val1) and tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom = val1) order by tab_archi.lft
Vincent
Merci pour ton aide, Elas rien n'y fait. WD ne supporte pas ce fonctionnement. Je vais devoir faire une bidouille dommage
Vincent
"mat" a écrit dans le message de news:
mat wrote:
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where TA1.nom = val1) and tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom = val1) order by tab_archi.lft
Merci pour ton aide,
Elas rien n'y fait. WD ne supporte pas ce fonctionnement.
Je vais devoir faire une bidouille dommage
Vincent
"mat" <mnobs@windasso.org> a écrit dans le message de news:
4j5pfpF6ded1U2@individual.net...
mat wrote:
select * from tab_archi
where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and
rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1)
order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi
where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where TA1.nom
= val1) and
tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom =
val1)
order by tab_archi.lft
Merci pour ton aide, Elas rien n'y fait. WD ne supporte pas ce fonctionnement. Je vais devoir faire une bidouille dommage
Vincent
"mat" a écrit dans le message de news:
mat wrote:
select * from tab_archi where lft < (select TA1.lft from tab_archi AS TA1 where nom = val1) and rgt > (select TA2.rgt from tab_archi AS TA2 where nom = val1) order by lft
évidemment, faudrait mettre les noms de fichier partout...
select * from tab_archi where tab_archi.lft < (select TA1.lft from tab_archi AS TA1 where TA1.nom = val1) and tab_archi.rgt > (select TA2.rgt from tab_archi AS TA2 where TA2.nom = val1) order by tab_archi.lft