CharlesWhiteman
Registered User.
- Local time
- Today, 23:16
- Joined
- Feb 26, 2007
- Messages
- 421
I'm using the following critical piece of code but on the deployed version which uses Access Runtime (Access 2007) the application halts.
Any advise on why or alternative method to achieve what the code does? Thanks.
Any advise on why or alternative method to achieve what the code does? Thanks.
Code:
Private Sub cmdUpdateIPAddress_Click()
DoCmd.SetWarnings False
DoCmd.RunSQL "DELETE * FROM TblRadAcctLocal;"
DoCmd.OpenQuery "QryUpdateRadAcctTORadAcctLocal"
Me.CurrentIPAddress = DLookup("FramedIPAddress", "QryRadAcctCurrentIPAddress", "PrimaryDataID = Forms.FrmPrimaryData.PrimaryDataID")
Me.txtCurrentIPAddress.Requery
DoCmd.SetWarnings True
'Current IP Address Test