Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

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.

Show Dates for Week

Featured Replies

  • Newbies

I'm a newbie and I think I need another table for dates, and a script for this, but I don't know where to begin.

My database has related tables for employees and sections.

I've created a columular "schedule" report that lists the employee name, report to work time, and days of the week across the page. I need to have the date for each day of the week show under the day of the week. Our week begins on Saturday.

The report also needs to show Fiscal Year, Pay Period (1 - 26), and Week number (whether week 01 or 02 of pay period); this would be in the heading of the report.

How do I set up a table that determines the dates based on our pay period and week number? How do I set it up so that if I input Pay Period 14; Week 02; it will place the correct date for the day of the week on the report?

Thanks, your assistance is appreciated.

Pam

How do I set it up so that if I input Pay Period 14; Week 02; it will place the correct date for the day of the week on the report?

Is it the 07/10/2010 ?

If yes, try ( result date )???

Let([

first = Date ( 1 ; 1 ; Year ( Get ( CurrentDate ) ) ) ;

saturday = first - DayOfWeek ( first ) + 7

];

7 * ( 2 * ( Pay Period - 1 ) + ( Week - 1 ) ) + saturday

)

See also:

http://fmforums.com/forum/showtopic.php?tid/193214/post/281167/#281167

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.