After years of wondering what to do, I decided to move from 32 bit to 64.
Now, I'm trying to migrate my databases to 64 bit version of Access.
Following Microsoft documents and several sample databases here, I added the following to my code:
Now In VBE, the section of Declare left for 32 bit version, shows as red.
But when I compile the code, no error comes out.
Is it what it should be?
Doesn't codes in Red mean some kind of Error?
Now, I'm trying to migrate my databases to 64 bit version of Access.
Following Microsoft documents and several sample databases here, I added the following to my code:
Code:
'###########################################
#If VBA7 Then[COLOR="YellowGreen"] 'Add PtrSafe - required for 64-bit Office (VBA7)[/COLOR]
#ElseIf Win64 Then [COLOR="YellowGreen"]'need datatype LongPtr[/COLOR]
#Else [COLOR="YellowGreen"]'32-bit Office[/COLOR]
#End If
'###########################################
Now In VBE, the section of Declare left for 32 bit version, shows as red.
But when I compile the code, no error comes out.
Is it what it should be?
Doesn't codes in Red mean some kind of Error?
Attachments
Last edited: