Download Pocket PC Application Builder User Manual

Transcript
sScreen.cDateTime
vDataTime
vDataTime
sScreen.eDataTime
Fig. 73
Overwrite
Name
Device Table
DesktopFile
Direction
58
The name of action
A specified table located on PDA, which is involved in data exchange
a database located on the host computer
In this field you may choose the data transfer direction: PDA to host computer
or host computer to PDA.
If the target table already exists, you may choose Yes in the Overwrite field to
overwrite the existing table. If you choose No, there will appear an error in the
CopyTable action gives us a possibility to exchange data between readers and the host
computer. The result of this action is that all records are copied from the specified database table
to the host Microsoft access database or from the database on the host computer to PDA. If the
specified table exists, the method of performing this action depends on the Overwrite property.
In order to work with this action it is necessary to launch the data synchronization application on
the host computer. Also there must be a connection established with PDA using ActiveSync
software.
In the properties table there are several fields:
CopyTable Action
We get different date/time format when pressing the button, depending on symbols we have
specified in the input field.
Fig. 72
In the OnExit field choose sScreen.eDataTime. Now go back to the button and name it bButton,
having specified Press in the Button field, while in the OnPress field choose oOperation. Go to
project properties and in the OnStart field set sScreen.eDataTime. In the Platform field choose
the device type and click Generate.
Open the Data&Time application on your PDA and click the Press button. Time and date will be
displayed in the following format. Click it again. The seconds’ value has changed (the last
number). Delete data from the input field and type ³W´ in it. Time will be displayed in standard
format
Operation : =
AssignTo
:
Operand1
:
Operation : =
AssignTo
:
Operand1
: