Pb syntaxe SQL
jeremie
-
jeremie -
jeremie -
bon ben voila g un pb de syntaxe voila le programme me genere une erreur (access95) sur mon for et je sait po pourquioi si qu il pouvait m'aider ca serrer super
SELECT stand2.dates, stand2.heure, stand2.variable, stand2.groupe, stand2.opérateur, stand2.nom, stand2.libellé_alarme
FROM stand2
GROUP BY stand2.dates, stand2.heure, stand2.variable, stand2.groupe, stand2.opérateur, stand2.nom, stand2.libellé_alarme
HAVING (((stand2.groupe)=[Formulaires]![Formulaire2]![bat2])) AND (stand2.libellé_alarme)=Pos1= Instr(Expr, " ")
For i=len(expr) to 1 step -1
if mid(Expr,i,1) = " " then Pos2=i
next i
Etage = mid(Expr, pos1, pos2-pos1)
SELECT stand2.dates, stand2.heure, stand2.variable, stand2.groupe, stand2.opérateur, stand2.nom, stand2.libellé_alarme
FROM stand2
GROUP BY stand2.dates, stand2.heure, stand2.variable, stand2.groupe, stand2.opérateur, stand2.nom, stand2.libellé_alarme
HAVING (((stand2.groupe)=[Formulaires]![Formulaire2]![bat2])) AND (stand2.libellé_alarme)=Pos1= Instr(Expr, " ")
For i=len(expr) to 1 step -1
if mid(Expr,i,1) = " " then Pos2=i
next i
Etage = mid(Expr, pos1, pos2-pos1)
A voir également:
- Pb syntaxe SQL
- Logiciel sql - Télécharger - Bases de données
- Migration base access vers sql server - Télécharger - Gestion de données
- Razor sql - Télécharger - Bases de données
- Requête sql pix - Forum Python
- Blob sql ✓ - Forum Webmastering
3 réponses
jeremie
ben alors jdoit le mettre ou ds un modules??