Microsoft
Software
Hardware
Network
Question : Compile Error: Object Required
I am getting a Compile Error: Object Required when I try to set a variable that I have defined with the following statement: Dim Payment_ID As Integer. I get the error on the following line of code: Set Payment_ID = Payment!Payment_ID.
Please tell me how to set this variable without the compile error. Also, the value I am trying to use to set Payment_IDis an autonumber field on a table row that has just been created with AddNew. How do I refer to that field value?
Thanks very much for your help.
Answer : Compile Error: Object Required
TYPO ...
"and do use Set" >>> and Don't use Set
mx
Random Solutions
Word 07 - How do I remove the margins completely so that a tilte spreads across an entire A4 page?
Power Quest Drive Image command line
Set Axis value in Chart
Excel saves temp files rather than excel files
Excel / VBA: Code must check if there is any Cell in some filtered rows highligthed in RED...If so code must not run.
Urgent System.UnauthorizedAccessE<wbr />xception
Creation of an SCCM Report for Computers By Model
msxml3.dll is not able to be registered
DoCmd.FindNext doesn't go to next find
Cannot activate trial Windows Home Server with OEM License?