|
|
|
|
- Accessing a database found on Mobile Device (Pocket PC)
cdbListFile (Function) In french: cdbListeFichier Returns the list of data files found in a CEDB database. Caution: From Windows Mobile 5, the access to a standard database (tasks, contacts, appointments, ...) can no longer be performed from a Windows application (and therefore from a standard WINDEV application). | | | | | Accessible from the PC | Accessible from the simulator | Accessible from the Mobile Device (Pocket PC) | CDB database | Yes | Yes | Yes | Standard database | No | No | Yes |
// Find out the list of files found in "MyDatabase" ResFile = cdbListFile("MyDatabase") // Add the list of files in a List Box control ListAdd(LIST_FileList, ResFile)
Syntax
<Result> = cdbListFile(<Database>)
<Result>: Character string - List of files found in the specified database. The file names are separated by CR characters (Carriage Return).
- Empty string ("") if an error occurred. To find out the error details, use ErrorInfo.
<Database>: Character string (with quotes) - Name of database that was opened by cdbOpen,
- Empty string ("") to list the standard databases found on the Mobile Device (tasks, contacts, ...).
Remarks Accessing a database found on Mobile Device (Pocket PC) The table below presents the actions that must be performed to access a database found on Mobile Device: | | | | Database | Standard database (tasks, contacts, appointments, ...) | WINDEV application | - Establish a connection between the current computer and the Mobile Device (ceConnect).
- Open the database to use (cdbOpen).
| Establish a connection between the current computer and the Mobile Device (ceConnect). | WINDEV Mobile application | Open the database to use (cdbOpen). | No specific action is required. | Reminder: From Windows Mobile 5, the access to a standard database (tasks, contacts, appointments, ...) can no longer be performed from a Windows application (and therefore from a standard WINDEV application).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|