Just getting started on AppSheet and landed a...

Just getting started on AppSheet and landed a issue that should have an answer.

I have a simple form where I want to capture the pay period (that has ENUM values for each month - Jan, Feb, โ€ฆ Dec).

Now I want the field to have a default value corresponding to the current month.

So if the form is entered on 5/1/2018, the payPeriod field should default to โ€œMayโ€.

When the entry is made on 4/30/2018, the payPeriod field should default to โ€œAprโ€.

I tried using TEXT(MONTH(), โ€œMmmโ€) which is the Google Spreadsheet function.

Didnt work in AppSheet.

I tried using SWITCH(MONTH(), โ€œJanโ€, โ€œFebโ€,โ€ฆ โ€œDecโ€) that didnt work

Any suggestions?

0 6 373
6 REPLIES 6
Top Labels in this Space