Click here to Skip to main content
15,888,113 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 22:50
Sandeep_S22-Jan-07 22:50 
GeneralRe: Threading issue Pin
Christian Graus22-Jan-07 23:00
protectorChristian Graus22-Jan-07 23:00 
GeneralRe: Threading issue Pin
Sandeep_S22-Jan-07 23:05
Sandeep_S22-Jan-07 23:05 
QuestionDisply page no / page total on DataReport VB6 !!! Pin
kindman_nb22-Jan-07 16:44
kindman_nb22-Jan-07 16:44 
AnswerRe: Disply page no / page total on DataReport VB6 !!! Pin
kindman_nb22-Jan-07 17:05
kindman_nb22-Jan-07 17:05 
QuestionProblem with Crystal Report Viewer! Pin
Deepasubramanian22-Jan-07 15:47
Deepasubramanian22-Jan-07 15:47 
AnswerRe: Problem with Crystal Report Viewer! Pin
shreekar22-Jan-07 17:52
shreekar22-Jan-07 17:52 
GeneralRe: Problem with Crystal Report Viewer! Pin
Deepasubramanian22-Jan-07 21:16
Deepasubramanian22-Jan-07 21:16 
Hi,

For Datagrid Display!
private void ugdDeliveryOrderListLoad(string vCustNo)
{
StringBuilder stbSQLStatement1 = new StringBuilder();
stbSQLStatement1.Append(" select dbo.MARTblInvoice.[InvoiceNo] As [Delivery Note No] ");
stbSQLStatement1.Append(", dbo.MARTblInvoice.CustNo ");
stbSQLStatement1.Append(", dbo.MARTblInvoice.SoldToCustName ");
stbSQLStatement1.Append(", dbo.MARTblInvoice.DeliverToCustName ");
stbSQLStatement1.Append(", dbo.MARTblInvoice.IssuedDate ");
stbSQLStatement1.Append(" from dbo.MARTblInvoice left outer join dbo.MARTblCustomer ");
stbSQLStatement1.Append(" on dbo.MARTblInvoice.CustNo = dbo.MARTblCustomer.CustNo ");
//stbSQLStatement1.Append(" where dbo.MARTblInvoice.[InvoiceNo] = "+ ugDeliveryOrderLlist.ActiveRow["Delivery Note No"] + " ");
stbSQLStatement1.Append(" Where dbo.MARTblInvoice.IsCreateDeliveryOrder = 1 ");
stbSQLStatement1.Append(" and dbo.MARTblInvoice.InvoiceNo not like 'D%' ");
stbSQLStatement1.Append(" and dbo.MARTblInvoice.CustNo like '"+vCustNo+ "%' ");
stbSQLStatement1.Append(" and dbo.MARTblInvoice.DOPrintCounter <= 2 ");
stbSQLStatement1.Append(" and dbo.MARTblInvoice.InvoiceNo in ");
stbSQLStatement1.Append(" ((Select InvoiceNo From MARTblInvoiceDetailProduct) ");
stbSQLStatement1.Append(" UNION ALL ");
stbSQLStatement1.Append(" (Select InvoiceNo From MARTblInvoiceDetailNonProduct)) ");
stbSQLStatement1.Append(" and dbo.MARTblCustomer.GroupKeyID like '"+ GroupKeyID +"%' ");
stbSQLStatement1.Append(" order by [Delivery Note No] Desc ");

DataSet dtsResult1 = new DataSet();
dtsResult1 = QueryData(stbSQLStatement1.ToString());

ugDeliveryOrderLlist.DataSource = dtsResult1;

if(dtsResult1.Tables[0].Rows.Count == 0)
{
MessageBox.Show("No Results Found. ","DuPont MARS",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
}
ugDeliveryOrderLlist.DataBind();
}



On selecting the record,

Grid_AfterSelectChange event
pnlReport.Visible = true;
DisplayReport();
utmDataMaintenance.Tools["Print"].SharedProps.Enabled = true;

I'm using crv(Crystal Report Viewer)Is that the reason,Everytime when I scroll on the generated report,report is being generated again for other invoice no.

What might be the workaround for this?

Thank you,

Regards,

Deepa.
QuestionDetermine what App called your vb.net dll Pin
Csorba222-Jan-07 10:39
Csorba222-Jan-07 10:39 
AnswerRe: Determine what App called your vb.net dll Pin
nlarson1123-Jan-07 3:21
nlarson1123-Jan-07 3:21 
GeneralRe: Determine what App called your vb.net dll Pin
Csorba223-Jan-07 9:22
Csorba223-Jan-07 9:22 
QuestionGet Calling application from my vb.net dll Pin
Csorba222-Jan-07 10:37
Csorba222-Jan-07 10:37 
AnswerRe: Get Calling application from my vb.net dll Pin
Dave Kreskowiak22-Jan-07 10:44
mveDave Kreskowiak22-Jan-07 10:44 
QuestionDisable Right-Click selecting in ListView - VS2005 Pin
Dnkuser22-Jan-07 7:57
Dnkuser22-Jan-07 7:57 
AnswerRe: Disable Right-Click selecting in ListView - VS2005 Pin
Christian Graus22-Jan-07 9:34
protectorChristian Graus22-Jan-07 9:34 
GeneralRe: Disable Right-Click selecting in ListView - VS2005 Pin
Dnkuser23-Jan-07 1:44
Dnkuser23-Jan-07 1:44 
AnswerRe: Disable Right-Click selecting in ListView - VS2005 Pin
TwoFaced22-Jan-07 21:19
TwoFaced22-Jan-07 21:19 
GeneralRe: Disable Right-Click selecting in ListView - VS2005 Pin
Dnkuser23-Jan-07 2:21
Dnkuser23-Jan-07 2:21 
GeneralRe: Disable Right-Click selecting in ListView - VS2005 Pin
TwoFaced23-Jan-07 7:13
TwoFaced23-Jan-07 7:13 
GeneralRe: Disable Right-Click selecting in ListView - VS2005 Pin
Dnkuser23-Jan-07 7:37
Dnkuser23-Jan-07 7:37 
GeneralRe: Disable Right-Click selecting in ListView - VS2005 Pin
TwoFaced23-Jan-07 13:30
TwoFaced23-Jan-07 13:30 
QuestionPort Scanner Pin
rfrank535622-Jan-07 7:45
rfrank535622-Jan-07 7:45 
AnswerRe: Port Scanner Pin
Dave Kreskowiak22-Jan-07 10:15
mveDave Kreskowiak22-Jan-07 10:15 
QuestionMDI Form Trouble! Pin
China-Gary22-Jan-07 6:48
China-Gary22-Jan-07 6:48 
AnswerRe: MDI Form Trouble! Pin
KevinMac22-Jan-07 8:22
KevinMac22-Jan-07 8:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.