dr.cornwallis

Access 2010 Formular Name im Textfeld ersetzen oder ausblenden

Liebe Gemeinde,

ich habe eine Kreuztabelle, als Spaltenüberschrift werden die jährlichen KW's benutzt.
Bei manchen KW's sind noch keine Datensätze vorhanden, diese Textfelder werden dann autom. mit #Name gefüllt...

Kann man "#Name" irgendwie ausblenden bzw. durch "0" ersetzen, hätte es schon mit einer bedingten Formatierung versucht(Schriftfarbe weiß), leider funktioniert das nicht.


Danke für eure Hilfe!

Gruß

Dr.
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 314039

Url: https://administrator.de/forum/access-2010-formular-name-im-textfeld-ersetzen-oder-ausblenden-314039.html

Ausgedruckt am: 04.06.2025 um 14:06 Uhr

129813
Lösung 129813 31.08.2016 aktualisiert um 21:00:10 Uhr
Goto Top
Hi Dr. Cornflakes
diese Textfelder werden dann autom. mit #Name gefüllt.
Then you should optimize your query if this is the case. Use an if-clause to test the returned values, before they are written to the table.

Regards
Dr.Cornwallis
Dr.Cornwallis 01.09.2016 um 09:23:28 Uhr
Goto Top
I think that there is no Chance to replace the "#Name entry, but i think that this is not the biggest Problem. It makes no difference if the textfield are empty or filled with "#Name"

I got another question face-smile:

How can i filter all Fridays from my Date Values (from the whole year) in a query?


Thank you!


Greets

Dr.
Dr.Cornwallis
Dr.Cornwallis 01.09.2016 um 09:26:47 Uhr
Goto Top
I got it, ill add the Weekdays to my Table/query and then ill filter it face-smile.
129813
129813 01.09.2016 aktualisiert um 09:47:39 Uhr
Goto Top
Zitat von @Dr.Cornwallis:

I got it, ill add the Weekdays to my Table/query and then ill filter it face-smile.
No, that's not needed, we have the weekday function to get the weekday from a date field face-smile
https://www.techonthenet.com/access/functions/date/weekday.php

You should learn SQL my friend ....
Dr.Cornwallis
Dr.Cornwallis 01.09.2016 um 09:50:48 Uhr
Goto Top
Zitat von @129813:

Zitat von @Dr.Cornwallis:

I got it, ill add the Weekdays to my Table/query and then ill filter it face-smile.
No, that's not needed, we have the weekday function to get the weekday from a date field face-smile
https://www.techonthenet.com/access/functions/date/weekday.php

You should learn SQL my friend ....


Ill do, im learning from u face-smile. Im doing all this stuff (vba, Access, SQL) for 3 Months now, starting with 0 experience.
But your answers helps me a lot

Thank you again!

Greets
129813
129813 01.09.2016 aktualisiert um 10:17:48 Uhr
Goto Top
Thank you again!
No problem, but
ll do, im learning from u
face-sad you should better read a book before or learn from documentation, this will make it stay longer in mind ...
Biber
Biber 01.09.2016 um 12:53:07 Uhr
Goto Top
[OT]
Moin Dr. Cornwallis,

ich bin mit dem Verlauf dieses Threads nicht sonderlich glücklich.

Der Eröffnungsthread fragt nach einer Möglichkeit, NULL-Werte in einer Query mit COALESCE()/Nz() als Numerisch-0-Wert anzuzeigen.

Darauf kam eine Antwort von highload - close, but no cigar - und aber auch gleich deine Rückmeldung "ja nee, is' aber auch nicht so wichtig, ich will jetzt lieber was mit Wochentagen machen..

Dort kam zwar der kompentente Verweis auf die WeekDay()-Function- die hättest du allerdings auch schon aus vorangegangenen Threads kennen können.

Aber egal, diese richtige Lösung findet hier im Forum keiner und zur eigentlichen Frage im Titel wird auch keiner etwas finden.

Deshalb klopp ich den Beitrag mal weg, bevor sich noch andere darüber ärgern.

Bitte vermeide derartige Threadverläufe in Zukunft.

Danke
Biber

back-to-top### Papierkorb ###

[/OT]
Dr.Cornwallis
Dr.Cornwallis 01.09.2016 um 14:51:39 Uhr
Goto Top
sorry Dude