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

Thread: Data Environment and Data Report

  1. #1
    Join Date
    Jul 2002
    Posts
    1

    Data Environment and Data Report

    Hi! I am using a Data Environment to fill a Data Report with the fields I need. When I choose a field in a combo box to activate the SQL query connected to the command (with that field as the main field) the data in the data report is updated when using the text controls. But when trying to do the following:

    dsrTest.rscmdReceipt_Details.Fields!(any field)

    in the program code, the fields remain the same as for the first item chosen in the combo box. (i.e. when I change the , e.g. car number to get the new fields through code, they remain the same as for the first car number. But through the text controls in the Data Report they change. I cannot understand why they change through the Data Report, and not through code)

    Thanks very much

  2. #2
    Join Date
    Jul 2002
    Location
    Israel
    Posts
    51
    Hi,
    I saw youre post and I ask from you help.
    Howdid you fell the Data Report object ?
    I have a "mdb" file and I want to set data from a table in the Data Report.
    Sorry I can't help you back about your problem
    Regards,
    Richard

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)