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
I need to change all the 'null's in a query to a blank (empty string) with sql server
What is the easiest way to get bullets & other symbols to align in Microsoft Word? I copy and paste items into Word documents that contain bullets, and this causes the bullets to lose their alignment
Issue with performance of a SQL query
Where or between on row_number
How do I store the result of a select query into a variable
hstbar.xla can not be found After Excel 2007 was installed
Access VBA Expert needed - bookmarks amongst 2 recordsets, etc
Show / Hide command button?
MS Excel: is there a way to highlight the row you've clicked in
Fan races computer will not Boot