stLinkCriteria stupidity (1 Viewer)

Geoff Codd

Registered User.
Local time
Today, 06:39
Joined
Mar 6, 2002
Messages
190
Hi there,

I am being a complete dumbass, I have a form which I would like to open using the following criteria

SAP_entity = Me![SAP_entity] - Number
Type = "Revenue" - Text Field
source = "ZZZ" - Text Field

One day I'll manage to get my head around this syntax problems

Thanks in advance
Geoff
 

Mile-O

Back once again...
Local time
Today, 06:39
Joined
Dec 10, 2002
Messages
11,316
Code:
stLinkCriteria = "[SAP_entity] = " & Me.[SAP_entity] & " AND [Type] = ""Revenue"" AND [Source] = ""ZZZ"""
 

Geoff Codd

Registered User.
Local time
Today, 06:39
Joined
Mar 6, 2002
Messages
190
Thank you, I forgot to put double quotes around the text values

Thanks
Geoff
 

Users who are viewing this thread

Top Bottom