I have two reports that I'd like to merge into one two page report. The problem is that I want the 1st page to print in portait and the 2nd page to print landscape. I'm using .NET's crystal designer. Is there a way to accomplish this?
Use this:
Syntax was wrong in the post above for create table
create table #tempMaxDate (MaxDate datetime)
SET @query_max = "select max(date) from " + @link_server +".database1.dbo.table1"
INSERT INTO #tempMaxDate
exec(@query_max)
SELECT @maxfound = MaxDate
FROM...
What are you trying to do? You have @m as Max(date) that's not declared and you have MaxDate without '@' in front of it. Kinda confusing. Or maybe I'm on crack lol
Take a look at this...
I'm trying to run an application using xp_cmdshell that takes an input parameter.. looks like this:
"myapp.exe 32" where 32 is the id of some record in a table. meaning that i only want the program to process one record.
when i run myapp.exe without the parameter it runs through...
I originally tried doing this using xp_cmdshell but, it kept hanging so I tried this (which i found via search) and it worked:
CREATE PROCEDURE dbo.sp_cmdshell(@cmd varchar(255), @Wait int = 0) AS
--Create WScript.Shell object
DECLARE @result int, @OLEResult int, @RunResult int
DECLARE...
i tried that and it just hangs. i've been researching how to accomplish this using WMI but, I can't find any .NET references and have not gotten a response from my post in the VB.NET forum yet. Thanks for all the help :)
I need to run application on a remote machine. I have this code in VB 6 but, can't seem to get it working in VB.NET (windows 2000 network).
Dim strComputer As String
Dim objWMIService As Object
Dim errReturn As Long
Dim intProcessID As Long
strComputer = "dev2"...
I thought about that first but, the procedure just hangs. I've screwing with VB .NET and WMI but, can't seem to get it working that way either. I'm having trouble finding anything on WMI and VB .NET for this.
I'm in need of a way to kick off application (A) from a desktop application (B) and have application (A) run ON the server it resides and not the machine application (B) is running on. Both Apps are VB .NET applications running on windows 2000 servers. Application (A) requires no user...
I have a subreport where I need to select the top three records from a table "select top 3 * from tblMyReport". Is there an easy way to do this? It currently show all the records.
I'm a crystal beginner and am under the gun. Any help would be greatly appreciated.
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.