MS Access "#Name?" in unbound field on SOME machines

Posted by alkorya on Stack Overflow See other posts from Stack Overflow or by alkorya
Published on 2013-06-27T22:18:32Z Indexed on 2013/06/27 22:21 UTC
Read the original article Hit count: 227

Filed under:
|
|

I have a datasheet form bound to table. I added 2 unbound fields and set their Control Source properties to user defined VBA functions: 1. ConcatRelated (http://allenbrowne.com/func-concat.html) 2. Custom function that returns a string:

Public Function GetLowestSatatus(LookupField As String, JSAID As Integer) As String
    On Error Resume Next
    GetLowestSatatus = DLookup(LookupField, "JsaStatuses", "ID=" & DMin("StatusID", "Tasks", "JSAID =" & JSAID))
End Function

It works fine on my and some other machines but there are machines I got "#Name?" in these 2 unbound fields. All machines configured identically.

Any ideas? Thank you!

© Stack Overflow or respective owner

Related posts about access-vba

Related posts about field