Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

The expression you entered has a field, control, or property name that Microsoft access can’t find

Posted on 2004-08-30
2
Medium Priority
?
1,319 Views
Last Modified: 2010-05-18
I have the following statement; When I open the db I get the following error:

"The expression you entered has a field, control, or property name that Microsoft access can’t find"

I can't seem to find what is wrong with it?

Any help is much appreciate



Private Sub Form_Current()
 
If Not IsNull(Me.DatSowd) Then
Me.WkGoal = DLookup("WkGoal", "tblSS", "ISNo='" & Me.ISNo & "' And DatSowd=#" & Me.DatSowd & "#")
End If
 
End Sub
0
Comment
Question by:perennial
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 11930522
try
Debug>Compile and see  which will be highlighted on error
0
 
LVL 1

Author Comment

by:perennial
ID: 11930551
I see my mistakes, Thanks Capricorn1.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question