aussieolie
Australian
- Local time
- Today, 06:44
- Joined
- Apr 3, 2002
- Messages
- 47
***URGENT*** DIM DB Problem
Can anybody tell me what to do about DIM DB:
This is the code that will not run:
---CODE---
Private Sub CustomerOrderNum_AfterUpdate()
On Error GoTo CustomerOrderNum_AfterUpdate_Err
Const NO_CURRENT_REC_ERR = 3021
Dim ds As Recordset
** Dim DB As Database***
Set DB = DBEngine(0)(0)
Dim strPO As String
---END OF CODE---
I really need to get this working, I dont understand how MS DAO affects this, any suggestions greatly appreciated.
Regards,
Olie
Can anybody tell me what to do about DIM DB:
This is the code that will not run:
---CODE---
Private Sub CustomerOrderNum_AfterUpdate()
On Error GoTo CustomerOrderNum_AfterUpdate_Err
Const NO_CURRENT_REC_ERR = 3021
Dim ds As Recordset
** Dim DB As Database***
Set DB = DBEngine(0)(0)
Dim strPO As String
---END OF CODE---
I really need to get this working, I dont understand how MS DAO affects this, any suggestions greatly appreciated.
Regards,
Olie