Viewing 15 posts - 61 through 75 (of 139 total)
try something like:
create procedure sproc(@param1 varchar(10)) as
begin
delete from table1 where var1 = @param1
select var1, var2 from table1 --or any other table
end
January 12, 2007 at 9:53 am
I'm sure this would work. You need something which is unique to each project. Globals!ReportFolder is just such a thing. As long as each project is associated with a different...
January 12, 2007 at 8:40 am
I think I understand now! You produce a new project for each customer (from the base project) and then tweak the individual reports as they require.
Depending on how you name...
January 12, 2007 at 6:14 am
If you don't want to dabble at the SQL Server end, the only thing I've done similar to what you're trying to do is to pick up the user account...
January 12, 2007 at 4:10 am
any report can be based on a stored procedure. As long as it outputs the required rows at the end, it can do anything else based on your data before...
January 12, 2007 at 3:49 am
there are a lot of things to take into account if you access data from custom code within a report and the error's probably due to your permissions being different when...
January 12, 2007 at 1:42 am
Can't you put the logic in an SQL Server function which is called by your views or sprocs? It depends on where the customer account number is available of course.
January 12, 2007 at 1:37 am
I wrote an article about this area of RS a few months ago.
http://www.sqlservercentral.com/columnists/jspink/areporttodisplayandedituserrights.asp
There is a lot of scope to work interactively, though as the previous post says you're...
January 11, 2007 at 3:07 am
it takes about 50 seconds to run which isn't too bad.
what I meant was that I can prioritise one table over another id tey both have entries for the same...
December 8, 2006 at 8:08 am
Thanks, I think this is the way to do it. I can also add in a code for the tables and so prioritise those in a certain order.
I'll have to...
December 8, 2006 at 1:50 am
sorry, it IS a common field. I didn't originally think it was key, but in fact it is what makes the problem so tricky.
I'm sure this can be done using...
December 7, 2006 at 9:30 am
... but I need to have the communication_id of the earliest transaction for each customer!
December 7, 2006 at 9:13 am
Yes, that certainly works. Thanks.
I now have to find the earliest communication_id for each customer: each table has a customer_id field. Will your code work with suitable modification? i.e....
December 7, 2006 at 6:23 am
Sorry, this should have been entitled: 'Picking earliest transaction ...', but then it's still early in the day in London...
December 7, 2006 at 1:36 am
you could run a report which returns a list of files from a given folder, then put a hyperlink on each row of the report which will take that path...
December 7, 2006 at 1:22 am
Viewing 15 posts - 61 through 75 (of 139 total)