Discussion:
frage zu =Wenn(isError
(zu alt für eine Antwort)
René Schmidt
2004-08-02 14:33:59 UTC
Permalink
Hallo NG

Access 2000
Hauptformular mit 2 Unterformularen

Folgende Formel (FAQ 2.16) zeigt trotzdem #Fehler an... (Textfeld
[SummeGesamt] im Hauptformular)

=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF Ausgabe].[Formular]![txtASumme]))

Sobald ein Wert ausgewählt ist wird korrekt berechnet.

Was mache ich falsch?

Vielen Dank für Hilfe
René Schmidt
Mark Doerbandt
2004-08-02 14:39:00 UTC
Permalink
Hallo, Rene,
Post by René Schmidt
=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]))
Sobald ein Wert ausgewaehlt ist wird korrekt berechnet.
"berechnet" laesst darauf schliessen, dass statt ;""; ;0; korrekt
waere...

Gruss - Mark
--
Informationen fuer Neulinge in den Access-Newsgroups unter
http://www.doerbandt.de/Access/Newbie.htm

Bitte keine eMails auf Newsgroup-Beiträge senden.
René Schmidt
2004-08-02 15:42:40 UTC
Permalink
Hallo Mark
Danke fürs antworten.
Habs probiert, es wird immer noch #Fehler angezeigt...

Gruß
René
Post by Mark Doerbandt
Hallo, Rene,
Post by René Schmidt
=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]))
Sobald ein Wert ausgewaehlt ist wird korrekt berechnet.
"berechnet" laesst darauf schliessen, dass statt ;""; ;0; korrekt
waere...
Gruss - Mark
--
Informationen fuer Neulinge in den Access-Newsgroups unter
http://www.doerbandt.de/Access/Newbie.htm
Bitte keine eMails auf Newsgroup-Beiträge senden.
Mark Doerbandt
2004-08-02 15:46:23 UTC
Permalink
Hallo, Rene,
Post by René Schmidt
=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]))
Probiere doch mal

=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]);0;
[UF Einnahmen].[Formular]![txtESumme])-
Wenn(IsError([UF Ausgabe].[Formular]![txtASumme]);0;
[UF Ausgabe].[Formular]![txtASumme])

Gruss - Mark
--
Informationen fuer Neulinge in den Access-Newsgroups unter
http://www.doerbandt.de/Access/Newbie.htm

Bitte keine eMails auf Newsgroup-Beiträge senden.
Peter Doering
2004-08-02 16:15:07 UTC
Permalink
Hallo,
Post by René Schmidt
Folgende Formel (FAQ 2.16) zeigt trotzdem #Fehler an... (Textfeld
[SummeGesamt] im Hauptformular)
=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF Ausgabe].[Formular]![txtASumme]))
Sobald ein Wert ausgewählt ist wird korrekt berechnet.
Probier mal mit anderem Bezug:

=Wenn(IsError([Forms]![HauptFormular]![UF Einnahmen]![txtESumme]
-[Forms]![HauptFormular]![UF Ausgabe]![txtASumme]);"";
([Forms]![HauptFormular]![UF Einnahmen]![txtESumme]
-[Forms]![HauptFormular]![UF Ausgabe]![txtASumme]))

Gruss - Peter
--
Ich beantworte keine Fragen per Email.
Mitglied im http://www.dbdev.org
FAQ: http://www.donkarl.com
René Schmidt
2004-08-02 18:29:02 UTC
Permalink
Hallo Peter
Danke fürs antworten
es kommt auch wieder #Fehler
Marks Lösung bringt "Falsche Anzahl von Argumenten"

Grüße
René
Post by Mark Doerbandt
Hallo,
Post by René Schmidt
Folgende Formel (FAQ 2.16) zeigt trotzdem #Fehler an... (Textfeld
[SummeGesamt] im Hauptformular)
=Wenn(IsError([UF Einnahmen].[Formular]![txtESumme]-[UF
Ausgabe].[Formular]![txtASumme]);"";([UF
Einnahmen].[Formular]![txtESumme]-[UF Ausgabe].[Formular]![txtASumme]))
Sobald ein Wert ausgewählt ist wird korrekt berechnet.
=Wenn(IsError([Forms]![HauptFormular]![UF Einnahmen]![txtESumme]
-[Forms]![HauptFormular]![UF Ausgabe]![txtASumme]);"";
([Forms]![HauptFormular]![UF Einnahmen]![txtESumme]
-[Forms]![HauptFormular]![UF Ausgabe]![txtASumme]))
Gruss - Peter
--
Ich beantworte keine Fragen per Email.
Mitglied im http://www.dbdev.org
FAQ: http://www.donkarl.com
Loading...