Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jahr des Datums ändern

Empfohlene Antworten

hi

problem hab eine Access DB welche in einer Tabelle das Feld Datum in folgender Form #DD-MM-JJ# hat. jetzt möchte ich die Jahreszahl aller Datensätze von 2002 auf 2003 setzen der Tag und das Monat des jeweiligen Tupels soll aber gleich bleiben?

wie mach ich das?

Update <Tabellenname> Set Datum = #...#???

kann mir jeman helfen?

cu didii

hi,

kann man in access nicht einfach datum+365 rechnen?

(wäre keine lösung, wenn es auch für schaltjahre gültig sein muss.)

hth

Hi,

es gibt bei Access eine Funktion die heißt DateAdd.

Die wird folgender Maßen benutzt DateAdd(Interval,Zahl,Datum)

Als Interval musst du dann yyyy übergeben. Das ist das Kürzel für Jahr.

Zahl 1 weil du ja ein Jahr drauf addieren willst und bei Datum das Feld deiner Tabelle.

Das ganze müsste auch in der Update Abfrage funktionieren

Hi!

Oder mit DateSerial(Year(Date) + 1, Month(Date),Day(Date)). So kannst Du auch den Monat oder den Tag noch ändern.

Gruß

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.