Christopher Jeris
cjeris at fas.harvard.edu
Mon Jul 23 13:39:19 CDT 2007
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jwcolby wrote: > You don't say how you are calling the form's method. You have to specify > the form object, then the method so... > > Forms("MyForm").InitializeFromBuffer SomeParam > > Alternatively: > > Dim frm as form > set frm=forms("MyForm") > frm.InitializeFromBuffer SomeParam > > Remember that a form's code is a class and you have to get a pointer to that > class in order to call a method of the class. I constructed a toy example based on your suggestion, and it seems like the actual problem was related to what you're describing: some things were declared Friend that should have been Public. Thanks for your input! peace, Chris Jeris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGpPXX5ICCNV0oGWARAoEpAJwOlQk6et82vflCKRlw4k/n1WxnjwCfZReN ixeEOhj3eGG7NxpHuqJqO8A= =poCW -----END PGP SIGNATURE-----