S
scottmech
Guest
I am just learning, but hopefully one of you can save me some time and keep my boss from killing me.
i am trying to use a class module to get information that i will use in several different forms. i plan to use this in a multi-user enviroment. my problem is that if ONE of the fields in the table is null, i get error 94 and can;t load form. i plan on only loading form to specific record, but want to get this to work first.
' from "frmCustomer"
Private Sub Form_Load()
Set mobjCustomers = New Customer
With mobjCustomers
.whatever
Me.txtCustomerID = .CustomerID
Me.txtCompanyName = .CompanyName
~~~~~~~~~~~~
End With
' from class module "Customer"
Public Sub whatever()
With mrst
mstrCustomerID = !CustomerID
~~~~~~~~~~~~
what do i do to allow for to load in a situation where ONE field is null?
please help, this is really pissing me off.
Thanks,
Scott Mech
i am trying to use a class module to get information that i will use in several different forms. i plan to use this in a multi-user enviroment. my problem is that if ONE of the fields in the table is null, i get error 94 and can;t load form. i plan on only loading form to specific record, but want to get this to work first.
' from "frmCustomer"
Private Sub Form_Load()
Set mobjCustomers = New Customer
With mobjCustomers
.whatever
Me.txtCustomerID = .CustomerID
Me.txtCompanyName = .CompanyName
~~~~~~~~~~~~
End With
' from class module "Customer"
Public Sub whatever()
With mrst
mstrCustomerID = !CustomerID
~~~~~~~~~~~~
what do i do to allow for to load in a situation where ONE field is null?
please help, this is really pissing me off.
Thanks,
Scott Mech