View Single Post
Old 04-06-2025, 03:41 PM   #1472
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 946
Karma: 1004846
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
I created an action chain to collect some data.
Haha, I'm still mulling over the school library project. I have this, and it copies the data to the column, but I get this error: User: 2112 | Loan: March 29, 2025 | Return: BAD DATE

Code:
program:
user = field('#user');
loan = format_date(field('#loandate'), 'dd MMM yyyy');

dev = field('#return');
if dev == '' then
return = 'no date'
else
return = format_date(dev, 'dd MMM yyyy')
fi;

'User: ' & user & ' | Loan: ' & loan & ' | Return: ' & return
User field: Text
loandate: date
return: date
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	83
Size:	122.5 KB
ID:	214906  
dunhill is offline   Reply With Quote