The Program object provides methods and functions to interface directly with Nios4.
clienttype = program.type()
if clienttype == 1 then
output.print("Client windows")
else
output.print("Other client")
end
Returns the current client type.
0 nobody
1 windows
2 android
3 ios
4 web
5 mac
Create a new dataform object. The dataform object allows you to create a selection form consisting of input fields that allow the user to type or select values.
Creates a new dataview object. The dataview object is a data editing form. It is necessary to indicate the name of the table and any gguid of the row to be loaded. To create a new tab just give a null string ("") as gguid.
Create a new fileinfo object. The object allows to extrapolate information and to manipulate a file.
Updates all sections by forcing the program to reload data from the database. If null string ("") is passed, the program will update all sections.
A list of local users of the currently open database is returned.
A list of cloud users who have access to the currently open database is returned.
A list of the names of the databases currently connected to the client is returned.
A list of the paths to the databases currently connected to the Windows client is returned. The databases taken into consideration are only the paths of the databases in Access format.
Allows you to retrieve the name of the current user.
Allows you to retrieve the ID of the current user.
Returns a value indicating whether the user is the database administrator.
Creates an xmldocument object to be able to manage and create an XML file.
Creates an xmldocument object by loading from an XML file. If a null string ("") is given for the path, the program asks (if the client is Windows) to select the file from a loading window.
Displays a warning message on the program status bar.
Displays a confirmation message on the program status bar.
Displays an error message on the program status bar.
Returns the latitude and longitude of an address. The function can only be used on mobile devices.
Returns the address based on a longitude and latitude.
Returns the current GPS point. The function can only be used on mobile devices.