Robert
Robert

Reputation: 239

MS Access ACCDE will not compile, syntax error

I am brand new to ms access, and I am having a syntax error that is preventing me from compiling my db into an executable accde. I'm sure it's something simple I'm looking over.

Code:

Upvotes: 0

Views: 38

Answers (1)

S. MacKenzie
S. MacKenzie

Reputation: 335

On your first red line, put a space then underscore at the end.

If IsNull(Me.OrderDeliveryDate) Or _
IsNull(Me.OrderDeliveryDate) Then

Or, just use

If IsNull(Me.OrderDeliveryDate) Then

because the second condition is redundant.

Upvotes: 2

Related Questions