den2005
Mar 29th, 2006, 03:33 AM
Hi everybody,
First problem, I like to display start date and end date selected on the crystal report. How would I do that, declare what type of field, and how would I transfer the value from code to the crystal report?
Second problem, supplying to display selected company and address, address is coming from another table of another database and another server.
Third problem first part, using subreport to display the details of the summary mentioned in first and second problem. The sql statement would look like this, "Select a.Client, b.DateCreated, c.Data2, c.Data3, c.Data4, c.Data5, b.Amount From table1 a inner join table2 b on a.DocId = b.DocId inner join table3 c on a.DocID = c.DocID where a.CoGuid = ?"
a.CoGuid column would be supplied from datavalue of selected company dropdroplist control.
Is there anyone can help me? Thanks.
******* Problem RESOLVED ******
den2005
First problem, I like to display start date and end date selected on the crystal report. How would I do that, declare what type of field, and how would I transfer the value from code to the crystal report?
Second problem, supplying to display selected company and address, address is coming from another table of another database and another server.
Third problem first part, using subreport to display the details of the summary mentioned in first and second problem. The sql statement would look like this, "Select a.Client, b.DateCreated, c.Data2, c.Data3, c.Data4, c.Data5, b.Amount From table1 a inner join table2 b on a.DocId = b.DocId inner join table3 c on a.DocID = c.DocID where a.CoGuid = ?"
a.CoGuid column would be supplied from datavalue of selected company dropdroplist control.
Is there anyone can help me? Thanks.
******* Problem RESOLVED ******
den2005