| From: mike | E-mail: mduncalf@hotmail.com | 1 |
Date: Monday, August 20, 2001 at 16:58:38
Subject: Form Loading
Comments:
I'm trying to use the following code so that when my form loads in my project the text boxes are updated with information from my database. As far as I can tell, this code is the same as for 3 other forms in my project, which all load perfectly fine, but whatever code I use for this form I get an error. What's wrong?
|
Option Explicit Private Sub cmdClose_Click() Form1.Show 'show
form 1 Private Sub updateFields() Private Sub Form_Load() |
| From: Jonathan Grotell | E-mail: grotelljd@bernstein.com | 2 |
Date: Wednesday, September 12, 2001 at 14:27:22
Subject: RE: Form Loading
Comments:
I've seen this before where certain controls are not initialized at the Form_Load event. In this case, I would move this code to the Form_Activate() method, and put a flag in the form so that this code will not fire every time the form is activated (viewed).
This forum is no longer taking new messages or replies since 01 November 2002. The above material is for reference purposes only.
The new Visual Basic 6.0 forum can be found here.