I am using dataenvironment for generating datareport using the following code
DataEnvironment1.Connection1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\htm.mdb;Persist Security Info=False;Jet OLEDB:Database Password=pushhtm"
it is working well. I am using a form to input a record and use a print button with above code to print that record on a page. First I enter a record then click on print the inputted recrd is appear on the datarecord. But when I use
it prints directly but not the current inputted record it print the record which i inputted first time. What is the problem can anyone solve my problem