H
H. Martins
Hope I can explain what I think my problem is.
Testing an application under Access 2007, it asks me for the value of
a couple functions.
These functions are called from a Query attached to a Form's TextBox
and from a Query attached to a DropDownBox.
Looks like it doesn't find the functions. 2003 does find but nor 2007.
The functions are located in the Form's own code.
Thanks
Henry
==========================
Criteria: Like ([fnGetDI])
Which is:
Function fnGetDI() As String
If IsNull(txtbxBIBusca.Value) Then
fnGetDI = "*"
Else
fnGetDI = Trim(txtbxBIBusca.Value) & "*"
End If
End Function
==============================
Criteria: [forms].[TurmasConstituicaoDe].[fnGetNAlunoAccao]
Static Function fnGetNAlunoAccao() As Long
' função que devolve o índice de registo à query
If IsNull(constlintNSerieAlunoAccaoKMaster) Then
fnGetNAlunoAccao = 0
Else
fnGetNAlunoAccao = lstbxAlunos.Column
(constlintNSerieAlunoAccaoKMaster)
End If
End Function
Testing an application under Access 2007, it asks me for the value of
a couple functions.
These functions are called from a Query attached to a Form's TextBox
and from a Query attached to a DropDownBox.
Looks like it doesn't find the functions. 2003 does find but nor 2007.
The functions are located in the Form's own code.
Thanks
Henry
==========================
Criteria: Like ([fnGetDI])
Which is:
Function fnGetDI() As String
If IsNull(txtbxBIBusca.Value) Then
fnGetDI = "*"
Else
fnGetDI = Trim(txtbxBIBusca.Value) & "*"
End If
End Function
==============================
Criteria: [forms].[TurmasConstituicaoDe].[fnGetNAlunoAccao]
Static Function fnGetNAlunoAccao() As Long
' função que devolve o índice de registo à query
If IsNull(constlintNSerieAlunoAccaoKMaster) Then
fnGetNAlunoAccao = 0
Else
fnGetNAlunoAccao = lstbxAlunos.Column
(constlintNSerieAlunoAccaoKMaster)
End If
End Function