I do not have crystal in front of me right now, but you would use something like this in your selection criteria (sorry for any typos/errors):
If YOURPARAMETER = '21' then locationtype in ('1','2','3','4')
else locationtype = YOURPARAMETER
I think the 'refresh' would be done on the end receiving the data, not on the SQL server. The SQL server would just provide the data via SSRS.
something like this
https://stackoverflow.com/questions/19807665/auto-refresh-for-every-5-mins
or this...
You should not have to make any changes come February.
The month will not be 01 so the year will be year of the current date.
It looks like the Report select formula you already have should almost work without any need for my previous post.
If
({PR_EmployeeTaxHistory.CalendarMonth} = "01"...
I think something like this should get you just the year or the year-1 which you could then use in selection criteria.
I would use variables, but depending on your case use they might not be necessary.
{@YearChange}
whileprintingrecords;
numbervar qtrsel;
If...
I think this may help.
For your Categories in the parameter, use the word 'Null'.
Then in your select/formulas if the word 'Null' is selected perform the null check.
Something similar to below but with your actual criteria/database
Create a parameter
--{?Param} values = Yard, Stock, Upper...
I think i would use the below (typed from memory and untested today)
RecStartDate := dateserial(year(currentdate),month(currentdate)-3,1);
RecEndDate := dateserial(year(currentdate),month(currentdate),1)-1;
i have started using OpenElement http://www.openelement.com/ for website design, and while not as simple as Blue Griffin http://bluegriffon.org/, OpenElement does have better features for managing related pages
If sorting by event number then by date and doing a datediff using previous or next will not work, then I would try adding the table a second time and joining the table on the event number field.
It would still require some formula logic to be written but seems quite possible.
If you just want to remove the characters, I would probably use 'Replace' in a pair of formulas.
{@ReplaceLeft}
Replace({EstDescription.Description},"(","");
{@ReplaceRight}
Replace({@ReplaceLeft},")","");
disregard the above....i reread the question and see that you want to remove the text...
I think you could use a stringvar without the array...something like this...manually create a delimited list:
Whileprintingrecords;
Shared Stringvar AllLotNo;
If (PreviousIsNull({F4111.ILLOTN}) or {F4111.ILLOTN} <> previous({F4111.ILLOTN})) then
AllLotNo := ''
else AlLLotNo := AllLotNo & ", " &...
i think you can adapt Hilfy's answer in this post to meet your needs.
http://www.tek-tips.com/viewthread.cfm?qid=1770377
to copy/paste with my thought........
Create a formula that will store the dates to an array - something like this:
WhilePrintingRecords;
Shared DateVar Array shipDates...
you will want to insert a group on the ticket number (the '{Table.TicketNo}' in Pete's reply is a placeholder which you will replace with the actual table/field names)
Place your detail info in the group header and suppress the details section.
It should show the first 'set' of info in the...
i am not sure i fully understand what you are trying to accomplish, but you may be able to place each value in it's own subsection and then use a formula (something like: "({Max of Command.STATUS_DECS_1})=TRUE" ) in the section expert to suppress the null value rows.
i would try this (and it should work if the fields are in separate tables, as i expect they will be):
insert a group on the patient
create a summary of the allergy codes field (use a Count)
create a sumamry of the allergies field (again, use a Count)
in the section expert, suppress the...
i am probably not giving this the necessary amount of thought, but just off the top of my head, try the below instead of "DateAdd("d",-14,CurrentDate)"
(Date ({CallLog.RecvdDate}) in [DateAdd("d",-14,CurrentDate) to currentdate])
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.