User Profile
Collapse
-
hi all, the problem solved with output the computed barcode to xml file and bind it to crystal report. -
Bar code printing with page break after each bar code
i'd like to print bar codes with page break after each bar code, below is my current codes.
...Code:Protected Sub cmdGenerate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdGenerate.Click Dim connActive As New SqlConnection(Session("db_conn_str")) Dim arParam(1) As SqlParameter arParam(0) = New SqlParameter("@param_type", Me.txtType.Text) -
thx for ur reply guys, I solved the problem by joining all those tables, and query as below
Code:SELECT 'location_name' = CASE WHEN t.task_is_trunk = 1 THEN dbo.tblbranch.branch_name ELSE dbo.tblCSLocation.location_id END
Leave a comment:
-
if else in select Statement
Hi guys, I am new here. I need to put the below if else condition in select statement, is it possible?
if task_is_trunk = 1
(select branch_name from dbo.tblBranch where task_location_g uid = dbo.tblBranch.b ranch_guid) as location_name
else
(select location_id from dbo.tblCSLocati on where location_guid = dbo.tblCSTask.t ask_location_gu id) as location_name
Thanks!
No activity results to display
Show More
Leave a comment: