Hi All,
I have a report which gets ‘Budget Numbers’ from a columns called ‘Budget_01_MTD’ & ‘Budget_31_MTD’. I have to provide with a prompt , if a user picks ‘01’ he has to see the ‘01’ like wise the ‘31’.
How do I do this.
Thanks
DB
bdkhyd (BOB member since 2002-08-21)
MarkP
July 9, 2004, 3:45pm
2
Try:
CASE WHEN @Prompt('Please enter code','A',{'01','31'},,) = '01' then budget_01_mtd ELSE budget_31_mtd END
Regards,
Mark
Check this link too.
Hey everyone–
I’m trying to use this wonderful dynamic table trick, and my SQL is generating a syntax error.
My table is named = DATA(@PROMPT(‘PLEASE ENTER MONTH & YEAR (CCYYMM)’,‘A’,))
As you can see, when I use the COUNT function, it drops the final paren off the end…but it’s referenced fine under FROM. What am I doing wrong???
SELECT
USER.LOOKUP_MONTHS.month,
USER.LOOKUP_EOM_DELQ.delq,
count(USER.Data(@prompt('Please Enter Month Year (YYYYMM)','N',,,).CHD_ACCOUNT_NUMBER)
FROM
USE…
mkumar (BOB member since 2002-08-26)
Hey Mark,
Thanks for the inputs, I did set it up like an object that did work.
Thanks,
DB
bdkhyd (BOB member since 2002-08-21)