rgrandall
asked on
How to use ... useHTTPS.Value in Access and Status.Text
I am working with a Credit Card company to process transaction through my MSAccess database. The program pseudo code is for VB6. I am looking for MSAccess VB equivalent; if there is any.
One of the components is....
Dim bHttps as Boolean
bHttps = useHttps.Value
When I run the code I get this error...
Error Number: 424
Error Description: Object Required
Another problem actually shows when I run the debug ...
after this code ...
iRetVal = HTTPS.SendRequest (then there is a line of information)
If iRetVal = 0 then
errorResp = Err.LastDllError()
errorString = "SetupRequest Error: " & errorResp & vbCrLf
Status.Text = Status.Text & errorResp & vbCrLf & vbCrLf
the debug error happens on the Status.Text ... error is ...
Compile error: Method or data member not found.
Any help would be greatly appreciated.
Robert
One of the components is....
Dim bHttps as Boolean
bHttps = useHttps.Value
When I run the code I get this error...
Error Number: 424
Error Description: Object Required
Another problem actually shows when I run the debug ...
after this code ...
iRetVal = HTTPS.SendRequest (then there is a line of information)
If iRetVal = 0 then
errorResp = Err.LastDllError()
errorString = "SetupRequest Error: " & errorResp & vbCrLf
Status.Text = Status.Text & errorResp & vbCrLf & vbCrLf
the debug error happens on the Status.Text ... error is ...
Compile error: Method or data member not found.
Any help would be greatly appreciated.
Robert
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
With limited data given the answer provides me with what's happening. I am still not sure what it is looking for or what the .Value is looking for, but I am sent that back to the tech at the CC processing.
Thank you!
Thank you!
apparently you are referring to an object that hasn't been instantiated/declared. needs an instance of a type; possibly http object?
are the requisite libraries listed in the references?