CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    vb-Database-Master/Detail

    I want to use Master-Detail form in my application.My detail form will have columns (for e.g QTY * PRICE as Extended Price )
    which are not database-columns(,instead calculated-column);at the same time i want to enter the records directly in the detail form
    displaying multiple records.Is it possible to use datagrid for this purpose?. Or is any other controls or techniques avilabe for the same purpose.
    Thank U.


  2. #2
    Guest

    Re: vb-Database-Master/Detail

    Create a dynamic recordset:

    Set rsDetail = New ADODB.Recordset
    With rsDetail
    .AddNew
    'Insert Your Equivalent Database Fields
    'For the computed or aggregated fields
    .fields.append "TotAmt",adCurrency
    End With

    Set DataGrid1.DataSource=rsDetail




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured