View Single Post
Old 08-11-2011, 12:06 PM   #14
Noodles
Adjusting to the Life
 
Noodles's Avatar
 
Join Date: Oct 2008
Posts: 412
Trading: (2)
HUpmann
Noodles is on a distinguished road
Default Re: Anyone here a Microsoft Access pro? [Plea for help]

Quote:
Originally Posted by Apoco View Post
I graduated with a double major in accounting and finance. I did this because I know I don't have the patience for programming

PS - I ran into another 424 error.

If the DLookup returns "No" then there is no error. If the DLookup returns "Yes" then I receive a '424' error.
Posted via Mobile Device
First question, is Yes a global variable in your application?

What datatype is [Other]? Bit, string/text, integer?

Same question with [Hanlding] and [Production]? What datatype are they?

VB and all it's variant is not too clear between take this value and assign to this variable VS is this value equals to this value?

In your case,

Dlookup() = Yes

Access is trying to interpret the above statement and making a guess that you actually want to assign the result of DLookup to the variable Yes (this is a variable, correct? That's why it's telling you to make a switcherroo to Yes = Dlookup().

With regards application security, you should always have some sort of a security in your application, regardless of who will be using them.

If you need help, feel free to send me a message.
Noodles is offline   Reply With Quote