Solved Function is not available in expressions in table-level validation expression. (1 Viewer)

TecknoFreak

Member
Local time
Yesterday, 20:38
Joined
Dec 21, 2021
Messages
57
Hello everyone,
"I'm sorry if this is the wrong section to make this thread".

I have a problem where I made a linked .accde file for me to share with my team but they cant open it. They get a popup like attached below.
I honestly have no clue of that this mean or what I need to share here to get the help I need. If you guys can tell me how to or what to look for then I can share the code as requested.

Thanks soooo much guys for any help you can provide in advance
 

Attachments

  • F9FE94E6.PNG
    F9FE94E6.PNG
    186.1 KB · Views: 85

TecknoFreak

Member
Local time
Yesterday, 20:38
Joined
Dec 21, 2021
Messages
57
Just want to add I dont have that problem on my machine but everyone else does
 

Gasman

Enthusiastic Amateur
Local time
Today, 04:38
Joined
Sep 21, 2011
Messages
14,336
So what table level validation are you using?
I have no idea as to why it might work for you and not them, unless it is a reference issue?
 

TecknoFreak

Member
Local time
Yesterday, 20:38
Joined
Dec 21, 2021
Messages
57
So what table level validation are you using?
I have no idea as to why it might work for you and not them, unless it is a reference issue?
I'm not even sure what table level validation this is. o_O
How do I check that?

Is super Weird. I have restarted and done everything possible to see why I cant generate the same error they all get on their side. I open it is perfect, they open it and they all get that error
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 20:38
Joined
Oct 29, 2018
Messages
21,485
Can you post a copy of the accde file?
 

Isaac

Lifelong Learner
Local time
Yesterday, 20:38
Joined
Mar 14, 2017
Messages
8,778
You need to troubleshoot this issue on your end. Open each object in design view starting with the final one the user sees and trace backwards-- the source of each item. We don't have anywhere near enough information besides just guessing until we get lucky.
 

isladogs

MVP / VIP
Local time
Today, 04:38
Joined
Jan 14, 2017
Messages
18,246
Is everyone else using Access runtime version (apart from you)?
 

CJ_London

Super Moderator
Staff member
Local time
Today, 04:38
Joined
Feb 19, 2013
Messages
16,627
Is this a screenshot of the users machine showing the error message or just something that 'looks like'. Your screenshot clearly has opened the app but you are saying they can't open it? Or do you mean it opens and then errors?

try looking in the BE at your table design, looking for validation rules on fields. Starting with the table displayed at the bottom of your screenshot since the first column is displaying #error. Looks like this might be a navigation type form since the same error is displayed at the top as well

and are your users looking at the correct BE?

if they are using a full version of access, try opening your .accdb on their machine - you might get a clearer error message or perhaps the code will stop at the offending line if it is a coding issue.
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 22:38
Joined
Feb 28, 2001
Messages
27,209
Generally, that message suggests that you tried to do something that is either a user-defined function or an intrinsic function that implies looking "outside" of the table or to another record or another field in the same table. The ONLY functions you can use in field validations are those intrinsic functions that look at the field itself. Here is an article on field validation from Allen Browne, one of the guys we all tend to recognize as one very tech-savvy individual.


This might help you see what you did that was outside of the normal boundaries.

Here is another hint: If you do data validations in the field definition you are limited because the validations might have to be performed by the SQL engine, which is in another context. If you do data validations in an input form, the sky is the limit because form-based event code can use Domain Aggregate and Domain Lookup functions easily.
 

TecknoFreak

Member
Local time
Yesterday, 20:38
Joined
Dec 21, 2021
Messages
57
Thank you all for your input and tips. I was able to figured it out. The problem was caused by having an Acrobat library selected that others didnt had on their machine.
 

Users who are viewing this thread

Top Bottom