|
|
|
|
- Accessing a database found on the Mobile Device (Pocket PC)
cdbOpen (Function) In french: cdbOuvre Opens a database (".CDB" file) on the Mobile Device (Pocket PC) connected to the current computer. Remark: There is no need to open the standard databases found on the Mobile Device (tasks, contacts, ...). 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 |
// Open "MyDatabase" ResOpen = cdbOpen("MyDatabase", "\MyFiles\MyDatabase.cdb") // Has a problem occurred? IF ResOpen = False THEN Error(ErrorInfo())
Syntax
<Result> = cdbOpen(<Database> , <.CDBÂ file>)
<Result>: Boolean - True if the function was successful,
- False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Database>: Character string (with quotes) Name of the database to open. <.CDB file>: Character string (with quotes) Name and full path of the ".CDB" file corresponding to the database that must be opened on the Mobile Device. Remarks Accessing a database found on the 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|