As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
I have a SQL server table that has a date field in it called LOADDATE. In the description of the column in SQL Server it says LOADDATE (date, not null)
When I have a DEFINE using the DOWK(LOADDATE, 'A4') I get blanks returned. When I just report out the LOADDATE field I get 2016/08/29 When I substitute &YYMD in DOWK(&YYMD, 'A4') then MON is returned as it should be. When I report out &YYMD by itself I get the date in the 2016/08/29 format.
So why if the two fields have the same format does the DOWK(LOADDATE, 'A4') not work?
Thanks TrudyThis message has been edited. Last edited by: Trudy,
The PRINT LOADDATE/WT did give me the day of the week but I want to filter on that value so I was looking more for a DEFINE way of getting to the day of week. Sorry I should have made that clearer in the original post.