Author Topic: Quick trend question  (Read 629 times)

Douglas

  • Newbie
  • *
  • Posts: 5
    • View Profile
Quick trend question
« on: January 02, 2018, 08:22:15 PM »
I’ve built a program with 2 trend charts on separate forms. I want the data to log as soon as I start my program. Right now I must open both forms then from that point on it trends. But if I forget to do that it dosent trend. I’m sure it’s a simple code addition but I’m a real noob at this.
Thanks in advance

Godra

  • Hero Member
  • *****
  • Posts: 1436
    • View Profile
Re: Quick trend question
« Reply #1 on: January 02, 2018, 08:44:56 PM »
You can possibly try this code (double click the MainForm to get there):

Code: [Select]
    Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Page2.Show() 'Use your 2nd form name instead
    End Sub

Douglas

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Quick trend question
« Reply #2 on: January 02, 2018, 09:42:58 PM »
That did the trick. Thanks much.