Solved

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

Posted on 2004-08-30
2
1,247 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 119

Accepted Solution

by:
Rey Obrero earned 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now