In Access 2010, I try to use custom VBA functions in a computed column. I get an expression that cannot be used in a calculated column.
Here are my steps:
Write the following code:
Public Function TestFunc() As String TestFunc = "test" End Function
According to this guide , user-defined functions are not allowed in computed column expressions. The corresponding quote is in the "Reading" section:
Remember that computed fields cannot call user-defined functions, only built-in functions. In addition, you must provide all the parameters for the methods you call, even if the parameters are optional.
Source: https://habr.com/ru/post/1383160/More articles:Leaving a data array (Font) in FLASH - PROGMEM in AVR GCC - stringshowing image from sd card with idle web browsing - androidHow to compile a kernel module with a new source - linuxSencha Touch 2 and phonegap - how to launch the application - cordovaHow to create a 3D array in matlab? - multidimensional-arrayExploring geodata and map services - pythonpython multiprocessing lock problem - pythonHow to convert double to string, how can I round it to N decimal places in C #? - c #Javascript regex validates password string (avoiding punctuation) - javascriptHow to list fields in a specific node type? - phpAll Articles