Hello friends,
I know my title is looking so complex, actually i could not find right words. Anyway :
in my query i built a mathematics operation :
Result MTB: [T1_alle_Details_pro_Änderung]![FET]+([T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel PET]-[T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel FET])
if i explain with equation => X = A+(B-C) so simple.
this is working very well.
I want to use this "Result MTB" in IIF statement and the problem is beginning here
like this :
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> Result MTB;"Nicht erreicht";"Ohne Eskalation erreicht")
but its not working. (i tried all combinations with parenthesis or without)
2. try
i wrote new query name is "result" for mathematics operation and created a relationship and wrote at this time
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> [result]![Result MTB];"Nicht erreicht";"Ohne Eskalation erreicht")
And i got error message : its wrong or too complex....
at least i tried this one :
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> ([T1_alle_Details_pro_Änderung]![FET]+([T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel PET]-[T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel FET]));"Nicht erreicht";"Ohne Eskalation erreicht"))
of course that one did not work too...
How can i do that correctly. Hope so you can help me asap.
Thank you very much.
I know my title is looking so complex, actually i could not find right words. Anyway :
in my query i built a mathematics operation :
Result MTB: [T1_alle_Details_pro_Änderung]![FET]+([T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel PET]-[T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel FET])
if i explain with equation => X = A+(B-C) so simple.
this is working very well.
I want to use this "Result MTB" in IIF statement and the problem is beginning here
like this :
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> Result MTB;"Nicht erreicht";"Ohne Eskalation erreicht")
but its not working. (i tried all combinations with parenthesis or without)
2. try
i wrote new query name is "result" for mathematics operation and created a relationship and wrote at this time
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> [result]![Result MTB];"Nicht erreicht";"Ohne Eskalation erreicht")
And i got error message : its wrong or too complex....
at least i tried this one :
PET MTB: IIf([T1_alle_Details_pro_Änderung]![PET]> ([T1_alle_Details_pro_Änderung]![FET]+([T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel PET]-[T81_ursprüngliche Termine Datensaetze identifizieren]![ursprünglicher Ziel FET]));"Nicht erreicht";"Ohne Eskalation erreicht"))
of course that one did not work too...
How can i do that correctly. Hope so you can help me asap.
Thank you very much.