VB6 Data Report

Report does not show latest update on database via bound controls

Page 1 of 1

2 Replies - 9334 Views - Last Post: 23 September 2006 - 10:26 PM Rate Topic: ***** 1 Votes

#1 mar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 1
  • Joined: 20-September 06

VB6 Data Report

Posted 20 September 2006 - 12:48 AM

Hi, I am Mar.

I am trying to print a report right after inputting some new data, but the report does not show the latest data I entered. On the first entry it is ok, but on the succeeding entries, it does not work unless I exit the program and run it again.

Under a button command click snippet, it goes like this:

Private Sub cmdPrint_Click()

Data1.Recordset.Edit
Data1.Recordset.Update

DataReport1.Show

End Sub


Thanks a lot.

Is This A Good Question/Topic? 1

Replies To: VB6 Data Report

#2 Louisda16th  Icon User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: VB6 Data Report

Posted 20 September 2006 - 10:58 PM

Ive had exactly the same prob. hope sm1 answers it :)
I posted the same question here.
The only way I cud get outta this prob was to use adodc and make the report on a normal form. then there is a way 2 print stuff. Check Here for more on printing in VB. :)
Was This Post Helpful? 0
  • +
  • -

#3 Louisda16th  Icon User is offline

  • dream.in.assembly.code
  • member icon

Reputation: 15
  • View blog
  • Posts: 1,967
  • Joined: 03-August 06

Re: VB6 Data Report

Posted 23 September 2006 - 10:26 PM

Hasn't any1 got a solution to this problem :(

This post has been edited by Louisda16th: 23 September 2006 - 10:27 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1