Professional Documents
Culture Documents
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 1
CONTENTS
1 INTRODUCTION .................................................................................................................................. 10
1.1
FEATURES ................................................................................................................................... 10
2 INSTALLATION .................................................................................................................................... 12
2.1
3.2
USER MANAGER.......................................................................................................................... 16
3.1.1
3.1.2
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.3
3.4
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 2
3.4.1
3.4.1.1
3.4.1.2
3.4.2
3.4.2.1
Label ........................................................................................................................ 49
3.4.2.2
3.4.2.3
QR Code/Bar Code.................................................................................................. 52
3.4.2.4
3.4.2.5
3.4.2.6
3.4.2.7
URL .......................................................................................................................... 54
3.4.2.8
3.4.2.9
3.4.2.10
3.4.2.11
3.4.2.12
3.4.2.13
Button ....................................................................................................................... 64
3.4.2.14
3.4.2.15
3.4.2.16
Formula .................................................................................................................... 75
3.4.2.17
Container.................................................................................................................. 77
3.4.2.18
3.4.2.19
Location.................................................................................................................... 82
3.4.2.20
Grid .......................................................................................................................... 83
3.4.2.21
Graph ....................................................................................................................... 86
3.4.2.22
3.4.2.23
3.4.2.24
3.4.2.25
Delete ....................................................................................................................... 87
3.4.2.26
SubForm .................................................................................................................. 87
3.4.3.2
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 3
3.5
3.4.3.3
3.4.3.4
Manage spacing between controls uniformly relative to each other on a form ...... 93
3.4.3.5
3.4.3.6
Aspect Ratio............................................................................................................. 94
3.4.3.7
MACROS ...................................................................................................................................... 94
3.5.1 Components of a Macro ............................................................................................................... 94
3.5.2
3.5.3
3.5.4
Commands ..................................................................................................................................... 99
3.5.5
Expressions.................................................................................................................................. 105
3.5.6
3.5.6.1
3.5.6.2
3.5.6.3
3.5.6.4
3.5.6.5
3.5.6.6
Month(date)............................................................................................................ 107
3.5.6.7
3.5.6.8
3.5.6.9
3.5.6.10
3.5.6.11
3.5.6.12
3.5.6.13
3.5.6.14
3.5.6.15
3.5.6.16
3.5.6.17
3.5.6.18
3.5.6.19
3.5.6.20
3.5.6.21
3.5.7
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 4
3.5.7.1
3.5.7.2
3.5.7.3
3.5.7.4
3.5.7.5
3.5.7.6
3.5.7.7
3.5.7.8
3.5.7.9
3.5.7.10
3.5.7.11
3.5.7.12
3.5.7.13
Ucase(text)............................................................................................................. 113
3.6.2.1
3.6.2.2
3.6.2.3
3.6.2.4
3.6.2.5
3.6.3
3.6.3.1
3.6.4
3.6.5
3.6.6
3.6.7
3.8
4.1
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 6
LIST OF FIGURES
Figure 1: Installation Start ....................................................................................................................... 12
Figure 2: User ID for Enterprise Edition ................................................................................................. 13
Figure 3: Installation Path ....................................................................................................................... 14
Figure 4: Finish Setup ............................................................................................................................. 15
Figure 5: User Manager .......................................................................................................................... 17
Figure 6: Add devices ............................................................................................................................. 18
Figure 7: Select Device Model/Resolution ............................................................................................. 19
Figure 8: Create user groups .................................................................................................................. 20
Figure 9: Profile Manager ....................................................................................................................... 24
Figure 10: Database Selection ............................................................................................................... 25
Figure 11: File Based Database Selection ............................................................................................. 26
Figure 12: Excel Selection ...................................................................................................................... 27
Figure 13: DSN Database Selection ...................................................................................................... 28
Figure 14: Device User Selection for Profile .......................................................................................... 29
Figure 15: File based Table Selection .................................................................................................... 30
Figure 16: DSN Table Selection ............................................................................................................. 31
Figure 17: Apply Filter ............................................................................................................................. 33
Figure 18: Apply Sort .............................................................................................................................. 34
Figure 19: Arrange Columns .................................................................................................................. 35
Figure 20: Select DSN of Stored Procedure .......................................................................................... 36
Figure 21: Selection of Stored Procedure .............................................................................................. 37
Figure 22: Enter Parameter Values for Stored Procedure ..................................................................... 38
Figure 23: Set Sync Permissions of User for Profile .............................................................................. 39
Figure 24: Add/Remove user for particular profile ................................................................................. 40
Figure 25: User Permissions .................................................................................................................. 42
Figure 26: User Permissions .................................................................................................................. 43
Figure 27: Form Manager ....................................................................................................................... 44
Figure 28: Select Profile for designing the Form .................................................................................... 45
Figure 29: User Selection for Form ........................................................................................................ 47
Figure 30: Textbox Control Properties ................................................................................................... 51
Figure 31: Checkbox Control Properties ................................................................................................ 56
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 7
Figure 32: Combo Box Control Properties with Source Type: Valued List ............................................ 58
Figure 33: Combo Box Control Properties with Source Type: Another Profile ...................................... 59
Figure 34: Single selection List Box control ........................................................................................... 62
Figure 35: ListBox Control Properties with Source Type: Another Profile ............................................. 63
Figure 36: Multiple View Columns for ListBox........................................................................................ 63
Figure 37: Lookup Condition for List Box control ................................................................................... 64
Figure 38: Select "Help File" for form ..................................................................................................... 71
Figure 39: Select Help file type............................................................................................................... 72
Figure 40: Select Help File according to file type ................................................................................... 72
Figure 41: Set "Action" property to Help................................................................................................. 72
Figure 42: Sync action button ................................................................................................................. 73
Figure 43: Date Time .............................................................................................................................. 74
Figure 44: Radio Button .......................................................................................................................... 75
Figure 45: Formula.................................................................................................................................. 76
Figure 46: Image ..................................................................................................................................... 77
Figure 47: Signature ............................................................................................................................... 78
Figure 48: For attaching device side image ........................................................................................... 79
Figure 49: Logo Manager ....................................................................................................................... 80
Figure 50: Select logo and assign users ................................................................................................ 81
Figure 51: For setting logo across forms ................................................................................................ 81
Figure 52: Location Control (Longitude/Latitude) ................................................................................... 82
Figure 53: Grid Control Field Selection on Main Form Grid ................................................................... 84
Figure 54: Grid Control Field Selection .................................................................................................. 85
Figure 55: Bar and Pie Chart X, Y axis column Selection ..................................................................... 86
Figure 56: Profile selection for Subform ................................................................................................. 89
Figure 57: Create relation between Main form and subform ................................................................. 90
Figure 58: Setting Relationship type between main and subform. ........................................................ 91
Figure 59: Macros Property in Form and Tab Properties Control ..................................................... 95
Figure 60: Macro Builder ...................................................................................................................... 96
Figure 61: Enter Name for Macro ........................................................................................................... 97
Figure 62: Add command in New Macro ................................................................................................ 98
Figure 63: Use Global Variables in Assign command of expression ................................................... 106
Figure 64: Conditional branches and Loops. ....................................................................................... 116
Figure 65: Form Event Property ........................................................................................................... 117
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 8
Figure 66: Set macros for Form Level Event. ...................................................................................... 118
Figure 67: Control Event Property ........................................................................................................ 118
Figure 68: Set macros for Control Level Event. ................................................................................... 119
Figure 69: Set macros for Radio or Combo box or Checkbox Event .................................................. 119
Figure 70: Set macros for button Event................................................................................................ 120
Figure 71: Radio Group Event Property ............................................................................................... 120
Figure 72: Set macros for Radio Event ................................................................................................ 121
Figure 73: Report Manager................................................................................................................... 123
Figure 74: Preferences ......................................................................................................................... 125
Figure 75: Synchronization Settings..................................................................................................... 129
Figure 76: Create Global Variable ........................................................................................................ 135
Figure 77: Setting concurrent connection settings dialog .................................................................... 136
Figure 78: Setting application logo ....................................................................................................... 136
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 9
1 INTRODUCTION
Being away from your office does not mean not having the access to your backend data. Consider
the scenario when you and your team want to carry a copy of the data on iPhone/ iPad/ Android/
Windows Phone 8/ Windows RT devices. Now it is possible with the Cellica Database Anywhere
(Enterprise Edition).
Enterprise Cellica Database allows you and your team to be more productive by allowing you to view
and update the database contents on your iPhone, iPad, Android Phone, Windows Phone8/RT
devices. Enterprise Cellica Database allows to sync with Microsoft Access, FileMaker Pro, Microsoft
Excel, and any ODBC Compliant database like Oracle, SQL Server, etc. The software package
consists of two components: the Enterprise Cellica Database Server that runs on Microsoft Windows
based PC and Client that run on the iPhone/iPad/Android/Windows devices. You will use the Server
software to add iPhone, iPad, Android, Windows devices to the server; create the database profiles
(make the list of database) for those devices and data will synchronize to those iPhone, iPad,
Android, Windows devices. Client software on devices will receive these profiles and data
respectively; now device users can view and update the database on their devices.
1.1 Features
Synchronize data wirelessly with iPhone/iPad/Android (Phone/Tablet)/ Windows Phone
8/RT devices (Using Internet).
View and update data on iPhone/iPad/ Android (Phone/Tablet)/ Windows Phone
8/RT which will reflect to Server database immediately.
Apply SQL Select queries, Filters; Sort the fields and Synchronize data according to it.
Supported Databases: Microsoft Access, Access 2007, Microsoft Excel, Excel 2007, Oracle,
SQL Server, DB2, MySQL, PostgreSQL, FoxPro, dBase, R:BASE and any ODBC Compliant Data
base
Supports Unicode language database such as Japanese, Chinese, Korean, Russian etc.
Design form on desktop with Label, Text Field, Buttons, Checkbox, Combo box, Page control
Supports Sub forms, Design a master/detail form, or a parent/child form using sub form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 10
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 11
2 INSTALLATION
2.1
Desktop Installation
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 12
After checking internet connection on your PC, software asks for User ID, here enter User ID which is
provided by Cellica.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 13
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 14
After successful installation of the software on Personal Computer, installation location path will have
Cellica Database Anywhere Enterprise Edition folder, which contains server Files, and Device
Installation Files folder. Desktop Files contains ECellicaDBAnywhereAdmin.exe and other files
required for this software and short cut for ECellicaDBAnywhereAdmin.exe and User Guide is
available on your server.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 15
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 16
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 17
Use Add New User button to Add new device to User Manager.
For iPhone/iPad, Device ID is UDID of iPhone.
For Android Phone, Device ID is IMEI/MEID/MAC ADDRESS of Android Phone/Tablet.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 18
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 19
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 20
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 21
Select the Profiles that you want to Synchronize for selected user.
For already existing User, you can remove Profile for that user by deselecting it.
b. Assign Forms:
Similarly you can add/remove existing Forms for selected user by selecting it or deselecting it.
For adding Forms to new user, Forms should be already present with same Device Type and
Resolution.
c. Assign Reports:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 22
You can also add/remove existing Reports for selected user by selecting it or deselecting it.
For adding Reports to new user, Reports should be already present with same Device Type.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 23
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 24
Select the database, which you want to sync with devices. Administrator can select File based as well
as DSN based database. Apply Filter/ Sort/ Select Field for selected tables.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 25
Click on Browse button to select file of type: MS Access, MS Excel, FoxPro, dBase, or click on
Browse button. You will get the screen as follows.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 26
1. Select Files of type such as Microsoft Access Database (*.mdb, *.accdb), Excel Files (*.xls,
*.xlsx, *.xlsm), or FoxPro/dbase Database (*.dbf) files and then select File name of your
choice, for example NWIND.mdb, and click Open.
2. When you select an Excel file using Browse button, you will get a dialog prompt as:
Here, when you select "View As Excel Worksheet", contents will be shown similar to that of
Excel Worksheet. Whereas, when you select "View first row as field header, it will be treated
as a database. In this case, customized SQL queries will work on your Spreadsheet.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 27
3.2.2
Click on popup provided to select database via Database Source (DSN) such as Oracle, MySQL, and
SQL Server. You will see list of available Database Source Name.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 28
3.2.3
When you will press Next button you will get the list of users available in User Manager. Just enable
the checkmark to select the particular device users for syncing that profile.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 29
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 30
You can manage DSN via ODBC Data Source Manager in Windows Control Panel.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 31
3.2.5
Changes in desktop database are found using Cellicas Change Detection Logic. If your database
supports Triggers, then you can speedup Change Detection process by selecting Trigger Base for
Change Detection of database.
3.2.7
Applying Filters
In the above dialog box, click on "Filters button, you will see the following filter dialog:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 32
Apply Sort
In New Profile: Build Query dialog (Fig. 11), click on the "Sort button, you will get the following sort
order Dialog.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 33
Here you can alter the order of column of your database, which you want to view on your device.
Select the fields in the order in which you want those to appear on your device. Use Clear All button
to uncheck all the selected fields. Use Undo Select button to undo last selection.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 34
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 35
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 36
If your stored Procedure will have parameter values, then Parameter values dialog will appear.
Select Particular Parameter and click on Value field for that parameter. Enter specific value you want.
Use OK button to finish it.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 37
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 38
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 39
Edit Profile button, you will get following dialog. Enable checkmark for particular user to add that user
to current profile and remove checkmark to remove particular user from currently selected profile.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 40
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 41
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 42
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 43
In Form Manager, you can create the form on the profiles, which are created in Profile
Manager.
3.4.1
Use Add Form button to create Forms for all the device users. You will get following windows on
clicking Add Form button.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 44
Example:
Here click on the Design New Form button to design form for the selec
ted profile for the iPad users selected for that profile.
Please check Design Form section in this document, to see how to design the form for iPhone
and iPad users.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 45
button, you will get following dialog which will display the list of
users available for the selected profile and for that particular device.
Select the users for whom you want to create form.
Also after selection of user, you have to select the option to import already created form design or you
can design your own custom form for all the selected users.
You can design the custom form in Portrait as well as in Landscape mode. Select the mode you want.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 46
For Android, On
The resolution of device for which you want to design the form. After selection of device resolution,
Click on Design New Form button and you will get above dialog for user selection and option for
form designing.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 47
After clicking on
which will show blank canvas of iPad/iPhone/Android to design form for iPad or iPhone or Android?
Add controls to canvas from Control Pallet according to your requirement. You can add controls to
canvas by two ways either select the control in Control pallet and drag it to canvas or select the
particular control and then click on canvas.
See the Form Controls section in this manual for properties of each control provided.
See Tab Properties section for Form properties.
Here Design Form button will show canvas area iPad.
Here Design Form button will show canvas area for Android.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 48
Form Properties:
Visible:
Set this property to False, If you do not want to show the form in form list on Form tab of
device application.
Macros:
Create the macros to be used on the form.
Event:
Assign the macros on form events.
Help File:
Assign help file to the form describing in brief about how this form works or other useful
information about the form or controls on form.
3.4.2
Form Controls
Following section will explain controls available for form. To design form, you have to drag the control
as per your requirement and set the properties for each control.
Following description of each control assumes that you are on the Form Design page.
3.4.2.1 Label
You use labels on a form to display descriptive text such as titles, captions, or brief instructions.
Labels don't display values from fields or expressions; they're always unbound and they don't change
as you move from record to record.
Use following procedure to create a stand-alone label (a label that isn't attached to another control).
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 49
2. On the form, click where you want to place the label, and then type the text for the label in Caption
property in Label Control Properties.
You can resize the label after you enter all the text.
Other Label Control Properties:
[X, Y]:
Set the location of control by entering the value of X/Y co-ordinate.
[Width, Height]:
Use this to set the width and height of the control.
Horizontal Align:
You can align the text to Left, Right and Center.
Vertical Align:
You can align the text vertically to Top, Bottom and Center.
ForeColor:
This property allows user to change the text color of label.
Font Name:
Set font name for label, this property shows the list of font names supported by iPad
application.
Font Size:
Here select the font size as per your requirement.
3.4.2.2 Text Box
Use text boxes on a form to display data from a record source. This type of text box is called a bound
text box because it's bound to data in a field.
User can also use Text box for getting DeviceID of his device and save the record with his
DevideID. For this user needs to set content type to DeviceID
Use following procedure to create a Text box.
2. On the form, click where you want to place the Text Box
3. In Text Box Control Properties, click the Data Column.
4. Select the field, which you want to bind with this text field.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 50
When you will drag the Textbox control on form, software maps it (Data Column) to None, .
Please Change it according to your required column.
Control ID:
You can use it in Formula control.
[X, Y]:
Set the location of control by entering the value of X/Y co-ordinate.
[Width,Height]:
Use this to set the width and height of the control.
Content Type:
-
DeviceID - User can get UDID of device by setting this property to DeviceID. On new
record, user will get UDID in this control.
QRCode Set this for reading Barcode/QRCode values directly in textbox using inbuilt
camera for read them.
UUID- Set this for entering UUID values in your database column.( Universally unique
identifier)
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 51
Default value:
Set default value for this text box when user will add new record.
Read Only:
If you want this Text Box non editable then set it to True.
ForeColor:
Set text color for this Text Box.
Font Name:
Set Font for this Text Box.
Font Size:
Set font size here for the text in the Text Box.
Horizontal Align:
You can align the text to Left, Right and Center.
Vertical Align:
You can align the text vertically to Top, Bottom and Center.
Trim:
You can trim spaces added before or after entered text in TextBox.
3.4.2.3 QR Code/Bar Code
Use text box on the form to get QR Code/Bar Code data. Drag Text Box control on form and set
Content Type to QRCode. Now on iPad, you need to tap on this control to scan the QR Code and
transfer the scanned value in to this Text box control.
You can search QR Code data in your database. On Find dialog, you will get Scan QR Code
button, This will allow you to scan QR Code data and after scanning QR code, you can search it
in your database.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 52
You can use NFC scan to make entry while Add/Update records on Forms. To use NFC data choose
Content Type property to NFC. Now when you scan NFC tags and data will be populated in this
Textbox.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 53
Sometimes you want to fetch some data from other profiles depending on the NFC tag just scanned.
To implement this set Content Type of Textbox to NFC Lookup. You need to map from which
profile you want to fetch data and the fields on forms to populate with data.
Here we set Customers as Lookup profile whose SHOP23 column data will be matched with
scanned NFC Tag.
Once matched, we want ID values from Customers Profile in TextBox1 on Form.
3.4.2.7 URL
You can view pdf/images stored on webserver, Local Network PC and SD card ( for android)
For more information:
http://www.cellica.com/KB/How_to_view_images_Pdf_on_Webserver_LocalNetworkPC_SDC
ard_in_Cellica_Database.pdf
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 54
2. on the form, click where you want to place the Check Box
3. In Check Box Control Properties, click the Data Column.
4. Select the field which you want to bind with this Check Box field.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 55
Data Column:
Select the column of your database which you want to bind with this control.
Caption:
Give caption to checkbox control.
Default Value:
Set default value(checked or unchecked) for this control when you will add new record.
Unchecked:
User can set value for which check mark control shows unchecked.
Checked:
Here set value for which check mark control shows checked.
Disabled:
If you do not want to change the value of this control then set this property to True.
ForeColor:
Change text color of this control.
Font Name:
Change the Font of text of this control.
Font size:
Change the font size.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 56
Another important feature of this combo box is that it works like quick navigator. Example. If user
has two tables Artists and Albums. Then map Artists name from Artists Table to combo box on main
form. Now add subform with Grid control. Create relation between main form and sub form on Artist
id.
Now when user will select any Artist name in Combo box, he will get Album list in Grid Control on
subform.
Use following procedure to create a Combo box.
2. On the form, click where you want to place the Combo Box
3. In Combo Box Control Properties, click the Data Column.
4. Select the field which you want to bind with this Combo Box field.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 57
Figure 32: Combo Box Control Properties with Source Type: Valued List
Control ID:
You can use this Control ID in formula control.
Data Column:
Select the data column, which you want to bind with this control.
Source Type:
Valued List: For using predefined values in combo box.
Another Profile: For using lookup column from another profile.
Items:
Add/Remove values for combo box with Source type set as Valued List
Default Value:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 58
Here select default value, which will be used as default when you will add new record.
Visible:
If you want to hide this control, you can do it by using this property.
ForeColor:
Set text color of this control.
Font Name:
Set the Font of text of this control.
Font size:
Set the font size.
Navigation:
If set to true, ComboBox can be used for quick search in the mapped column values through
profile records in navigation mode (not in Add/Update Record mode).
View Column is another option provided here which allows user to select the column whose data he
wants to view in combo box.
Figure 33: Combo Box Control Properties with Source Type: Another Profile
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 59
Lookup ComboBox with Content Type set to Another Profile will show values from Column in
Another Profile. IF you want refine this list of values by specifying some required condition at
Runtime you can use Lookup Condition property.
You can use Fixed Value, a Control value ( Control ID) or Data Column Value at runtime to filter
the required list in ComboBox.
3.4.2.12 List Box
The List Box control allows you to display a list of items that support single or multiple selections.
Data Column:
Select the data column, which you want to bind with this control.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 60
Selection:
Single: For allowing selecting single value in List Box control.
Multiple: For allowing selecting more than one value in List Box control.
Items:
Add/Remove values for Valued List type List Box
Default Value:
Here select default value, which will be used as default when you will add new record.
Delimiter Type:
Specify delimiter in case of Multiple Selection type List Box control.
A delimiter is a sequence of one or more characters used to specify the boundary between separate,
independent regions in plain text or other data streams.
3.4.2.12.1 SINGLE SELECTION LIST BOX
When you select a value in a Single Selection List box control, if the List Box is bound, selected
value is inserted into the mapped data column of profile.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 61
In case of Multiple Selection List Box control, the selected values are combined in to one string
separated by Delimiter character set by Delimiter Type property of List Box control.
For Example:
Item 1;item2;item4 ( if these 3 values are selected and delimiter character is set to ;)
3.4.2.12.3 LIST BOX BASED ON ANOTHER PROFILE ( LOOKUP)
List box can have values from column of another profile. This column can be any column of profiles
available in profile manager. Select Source Type as Another Profile. Now in Lookup Profile
property, select the profile whose column you want to map to List box.
After selecting profile, select the Lookup Column, column which you want to map to List box.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 62
Figure 35: ListBox Control Properties with Source Type: Another Profile
View Column is another option provided here which allows user to select the column whose data he
wants to view in List box. User can select multiple view columns to view in List Box.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 63
You can use Fixed Value, a Control value ( Control ID) or Data Column Value at runtime to filter
the required list in List Box.
3.4.2.13 Button
You use a command button on a form to start an action or a set of actions. For example, you can
create a command button that opens another form. You can create over 10 different types of
command buttons.
Use following procedure to create a Button control.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 64
3.4.2.13.5 NEW
Set this Action to create new record.
3.4.2.13.6 EDIT
Set this Action to edit a record.
3.4.2.13.7 DELETE
Set this Action to delete a record.
3.4.2.13.8 FIND
Set this Action to implement functionality of a searching a record.
You can use Option property of Find action button to set various search mode.
A. Default:
Initially Option property is set to Default, this will open default search option screens where you
can enter search string on device.
B. Barcode Scan:
With Barcode Scan option, application will start to scan barcode immediately after tapping on find
button on device.
C. Advance Search:
This property allows searching following options:
1) Search Date
a) = (Equal to) Records with same date in selected field(s).
b) (Not equal to) Records which are not having same date in selected field(s).
c) Between Records which have date values between two specified dates in selected field(s).
d) Not Between Records which do not have date values between two specified dates in selected
field(s).
2) Search Number
a) = (Equal to) Records with same number in selected field(s).
b) (Not Equal to) Records which are not having same number in selected field(s).
c) (Less than) - Records which have value less than number in selected field(s).
d) (Less than or equal to) Records which have value less than or equal to number in selected
field(s).
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 65
e) (Greater than) Records which have value greater than number in selected field(s).
f) (Greater than or equal to) Records which have value greater than or equal to number in selected
field(s).
g) Between Records which have value between two specified numbers in selected field(s).
h) Not Between Records which do not have value between two specified numbers in selected field.
3.4.2.13.9 CUSTOM( SOHO/ENTERPRISE EDITION)
This button comes without any Predefined Action. You can program Action for this button using
Macros Programming.
3.4.2.13.10
GO TO FORM
2. Now in right side, Button control properties, select the Action Go to Form.
3. Now select the form on which you want to jump.
After clicking
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 66
Select Form Name to be open on this button. Use Add Button and you will get following dialog that
will allow you to specify relationship between these two forms.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 67
Select Form Name to be open on this button. If you want to close Parent Form after the Jumped
form get opened, set the Close Form option to True/Checked. After setting it true, on device when
you will tap on Back button the focus does not goes back to Parent Form.
Setting it False/Unchecked will ensure the parent form to be opened on back button from Jumped
Form.
Use Add Button and you will get following dialog that ask you to select Source Field, Select Form,
Destination Field.
You can specify more than one relationship between both forms. Add multiple relationships and
select joining operator.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 68
You can add more than one Form for one Go to Form button. If you map more than one form to this
button, then on device, when you will use this button, you will get a dialog that will ask you to choose
the form on which you want to jump.
Source Field: It is the field (column name) of profile on which you are currently designing the form.
When you will jump on destination form, data will be searched on destination form according to this
field data and will be displayed on jumped form (Destination Form).
Operator: Joining operator (OR/AND) for multiple conditions (relationships) between source and
destination form.
Destination Field:
Destination Field is the field on which data will be search in the destination form and import data for
that record and displayed in destination form.
3.4.2.13.11
GO TO RECORD
Set this Action to implement Go To Record functionality. When user will click on this Button, he will
get a dialog on iPad, which will ask record number where user wants to jump.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 69
3.4.2.13.12
SEND EMAIL
You need to map data column in Button Control Property, On device side, Tapping on this button
will open Email application and Value from mapped data column will be appeared in To of Email
application.
3.4.2.13.13
GO TO URL
You need to map data column in Button Control Property. On device side, Tapping on this button
will open the URL from mapped data column in Browser of the device.
3.4.2.13.14
GO TO MAP
You need to map Latitude_Field and Longitude_Field to particular data columns which have
Longitude and Latitude data. When user will tap on this button, Google map will show the particular
spot on the map corresponding to longitude and latitude column data.
3.4.2.13.15
COPY RECORD
If you want to copy particular record and get data of that record as a new record, Set Action Copy
Record in Button Control Property. On tapping on this button on form, New record will be created
with the data and Copy Record button will be change to Save button. Update the record where you
want and use Save button to save the record.
3.4.2.13.16
CAPTURE
Software will open the Email application and attach the viewable form screen in .PDF format .
3.4.2.13.17
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 70
3.4.2.13.18
REPORT
You can use Button control with Action property set to Report to open a report designed in
Report Manager module on form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 71
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 72
3.4.2.13.21
SEND RECORD
You can use Button control with Action property set to Send Record to mail a current record on
form.
3.4.2.13.22
SYNC ACTION BUTTON
You can use Button control with Action property set to Sync if you want to provide manual sync
options on form.
according to your requirement. Format Property will allow selecting Date & Time, Date or Time.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 73
Def Val_Type (Default Value Type): Allow to set default value from one of the following options
a) Now : Use this option to get current Date/Time on Adding new record.
b) Exact : Use this option if you want to set fixed Hard coded value to Date control.
c) TimeStamp: Use this option if you want to set Timestamp( Tracking last change timestamp
for record ) for each New/Edit record.
Navigation:
If set to true, DateTime control can be used for quick search in the mapped column values
through profile records in navigation mode ( not in Add/Update Record mode).
3.4.2.15 Radio Button
You can use Radio Button on a form to display a limited set of alternatives. Radio Button makes
selecting a value easy because you can just click the value that you want. Only one option in radio
group can be selected at a time.
Use following procedure to create a Radio Button.
1. Click the RadioButton tool
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 74
button to create various Radio Group and map data column to them. Use
button to
delete the Group. For one Radio group you can assign number of radio button.
After assigning Data Column to Radio Group, set caption to Radio button.
In RadioButton Control Properties, for Selected Property, Set it True if you want to set selected radio
button as a default selected.
In Group Property, select the group in which you have to keep this radio button.
Drag number of radio buttons on form as per your requirement. Select proper Group for those radio
buttons.
3.4.2.16 Formula
You can create formula field in your iPhone form by dragging
Control Palette.
After putting Formula control on iPad canvas area, Set formula from the right side FormulaField
Control Properties. First
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 75
Select Form Options to select the field which you want to use in the formula.
Select Functions, to use various conversions and Math functions in your Formula.
Select Operators to select operators like +.-, *, /.
Double click on the Field names, functions or operators you want to use in the formula. Double click
or Paste button will write selected function or field name in Formula control.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 76
After writing Formula for Formula field, you can assign column to this formula field. In FormulaField
Control Properties, set Is Data Column property to TRUE and then Data Column property will be
enabled, here select column of your database for which you have to map this formula field.
3.4.2.17 Container
This is one of the important features of this application. User can synchronize image data as
well as signatures to the desktop database.
3.4.2.17.1 IMAGE
Drag Container control to view the images on device and map the image data type column
from your database. Software supports data in binary format. It also supports OLE Object data type
with .bmp format images (Please note that if you add or update OLE Object image on device, it will
be saved as binary data in desktop database, not as an OLE Object).
To view the image data, you must set following properties to your Container control.
Set the Content Type property to Image
Also map the Data Column property to your image data type column where your image data will be
saved.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 77
Show Border:
Show or hide border of control on device side.
Image Source
It allows controlling how user can enter/select images while using the form on device.
3.4.2.17.2 SIGNATURE
Drag Container control to create the signature control on device and map the image data
type column from your database. Software supports data in binary format. It also supports OLE
Object data type with .bmp format images. It is useful for confirming receipt of goods, field surveys
and more, signatures can be captured on the field.
To view the image data, you must set following properties to your Container control.
Set the Content Type property to Signature .
Also map the Data Column property to your image data type column where signature data will be
saved.
Show Border:
Show or hide border of control on device side.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 78
One useful feature of Unbound image control is, you can use it to show logo image on forms and
reports.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 79
Select your image file for logo. Give a name for the selected logo, this name is used as Logo ID so
make sure it must be unique.
Select the user whom to want to transfer this logo image.( You can use this logo image on forms and
reports for this users).
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 80
Now in Form Designer or Report Designer, set Content Type property to Logo and choose
Logo Name from available logo list (Logos added in Logo section in Preferences).
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 81
Show Border:
Show or hide border of control on device side.
3.4.2.19 Location
Drag this control
user to find the location of the device. User needs to tap on this control on the form on his
device to get Longitude/Latitude of the current location. Set Location_FieID property to Latitude
or Longitude or Latitude/Longitude as per requirement. Also map Data Column property to your
database field so location values will be stored in that column when user will save the record.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 82
Using_Location_information_in_Cellica_Database.pdf
Autoupdate:
You can set Location control to automatic update for assigned value type of some record
operations like Adding Record or Updating Record. Set Auto Update property to,
None: If you dont want auto fill Location control on record operations.
OnNew: Setting this will fill Location control when user tap on New button for adding new record
with value depending on Value Type property.
OnEdit: Setting this will fill Location control when user tap on Edit button for updating record with
value depending on Value Type property.
Both: Setting this will fill Location control when user tap on New/Edit button for adding new record
or updating existing record with value depending on Value Type property.
3.4.2.20 Grid
To view Multiple Records on the form, user can use this control. Drag
control on
on Grid.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 84
6. When you will use New button, software will check if you have used all fields of subform
profile in Grid or not. If do not use all the fields in Grid view then, when you will use Apply
button to finalize the main Form, Software will ask to enter the default value for the fields
which are not mapped to any control on main form as well as on Subform. Double click for
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 85
particular column under Default Value to enter default value for that column when you will ad
d new record. This default value will be saved in your original database when you will add
record from device.
3.4.2.21 Graph
You can import specific Page of previously backed up (Exported) form using
Click on
button.
and select the form, you will all Tabs and there Title as below.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 86
Select the required Page to import from this list and click OK.
3.4.2.24 Delete Page
Use this
3.4.2.25 Delete
this will delete the selected control from the form. You can delete controls on form by
using Delete button of your keyboard.
3.4.2.26 SubForm
A subform is a form that is inserted in another form. The primary form is called the main form (main
form: A form that contains one or more subforms.), and the form within the form is called the subform.
A form/subform combination is often referred to as a hierarchical form, a master/detail form, or a
parent/child form.
Subforms are especially effective when you want to show data from tables or queries (query: A
question about the data stored in your tables, or a request to perform an action on the data. A query
can bring together data from multiple tables to serve as the source of data for a form or report.) with a
one-to-many relationship (one-to-many relationship: An association between two tables in which the
primary key value of each record in the primary table corresponds to the value in the matching field or
fields of many records in the related table.). For example, you could create a form with a subform to
show data from a Categories table and a Products table. The data in the Categories table is the "one"
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 87
side of the relationship. The data in the Products table is the "many" side of the relationship each
category can have more than one product.
The main form shows data from the "one" side of the relationship.
The subform shows data from the "many" side of the relationship.
The main form and subform in this type of form are linked so that the subform displays only records
that are related to the current record in the main form. For example, when the main form displays the
Beverages category, the subform displays only the products in the Beverages category.
When you create a subform, you can design it to be displayed in Datasheet view (Grid View) or Form
view.
3.4.2.27 Create SubForm
Create SubForm on main Form by dragging
a subform control, you will get a following dialog. Here select another profile, which will relation data
of main form profile.
Example: Main Form is designed on Orders profile then subform can be designed on Order Details
table. Each Order can have more than one product.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 88
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 89
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 90
After mapping relational fields, click on Apply button to finish subform creation process.
Now resize the subform as per your requirement.
3.4.2.27.1 RELATIONSHIP
You can create relationship between main form and subform profile using Relationship property of
Subform control.
Following 2 types of relationship are supported by Cellica Database application.
1) One-to-Many Relationship:
A one-to-Many relationship in a relational database occurs when one parent record (Main form
profile record) has either zero or many child record (Subform Records).
2) One-to-One Relationship:
A one-to-one relationship in a relational database occurs when one parent record (Main form profile
record) has either zero or one child record only (Subform Records).
On the top of the Form designer window, there is toolbar for Alignment of form controls.
1. Select the controls (controls: such as a Label, text box, check box or command button, that
lets users control the program.) that you want to align,
On Main Form:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 91
Hold CTRL Key & Select Controls one by one. OR Drag a rectangle over the controls to
select the Controls.
On Sub Form:
Hold CTRL Key & Select Controls one by one.
2. On the Toolbar, click one of the following Toolbar buttons:
Left: Aligns the left edges of the controls with the left edge of the leftmost control.
Right: Aligns the right edges of the controls with the right edge of the rightmost control.
Top: Aligns the top edges of the controls with the top edge of the highest control.
Bottom: Aligns the bottom edges of the controls with the bottom edge of the lowest control.
3.4.3.2 Resize controls uniformly relative to each other on a form
On the top of the Form designer window, there is toolbar for Alignment of form controls.
1. Select the controls (controls: such as a Label, text box, check box or command button, that
lets users control the program.) that you want to align,
On Main Form:
Hold CTRL Key & Select Controls one by one OR Drag a rectangle over the controls to
select the Controls.
On Sub Form:
Hold CTRL Key & Select Controls one by one.
2. On the Toolbar, click one of the following Toolbar buttons:
Tallest makes the controls as tall as the tallest selected control.
Shortest makes the controls as short as the shortest selected control.
Widest makes the controls as wide as the widest selected control.
Narrowest makes the controls as narrow as the narrowest selected control.
Also you can use Shift and Arrow keys to change the size of any control.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 92
Horizontal Spacing: Makes selected controls placed with even spacing between them
horizontally.
Vertical Spacing: Makes selected controls placed with even spacing between them
vertically.
3.4.3.5 Copy / Paste Controls
On the top of the Form designer window, there is toolbar for Copy/Paste controls on form.
Copy: Copy one or more selected controls on clipboard. Copied controls can be paste on same
form on same or different tabs.
Paste: Use this option to paste copied controls on form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 93
Cellica Database allows you to design form in two aspect ratios, 1:1 (Aspect Ratio 1) and 1:2 (Aspect
Ratio 2).
3.4.3.7 Manage spacing between pixels on form
Pixel grid is showed on form designer canvas for better alignment of controls. Default spacing
between pixels is 10, You can change it according to your requirement.
3.5
Macros
A macro is a script containing a sequence of commands that can be initiated with a single command
button or event.
Macros are useful for customizing your forms in any number of ways. For instance, you can save time
and effort for your users by defining a series of steps that execute automatically with a single click.
You can use a macro to automatically validate user input before it is entered in the table. You can
automate complex surveys with many branches using conditional (if-then-else) logic. You can even
make your forms dynamic by having macros execute automatically when a given event occurs, such
as when the form opens or the user changes a field value.
3.5.1
Components of a Macro
A macro consists of a sequence of commands that you want performed in a given order.
Cellica Database offers a large library of commands that you can use as steps in a macro.
Most commands have parameters you must specify, such as values read into or written out by the
command. For these values, you can supply a constant or an expression. Expressions can read
values stored in a table column for the current record as well as apply mathematical operations, ifthen-else logic, and functions to return a desired value.
The script commands can execute in a straight linear sequence, or you can incorporate skips,
branches and loops based on conditional logic using Skip commands. You can also have
SubMacros within a Macro. SubMacros are a sequence of commands that you write once, and can
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 94
then call from the main script as many times as needed. Simply write the SubMacros as you would
any other, then call it from the main script using a "Run macro" command.
One Cellica Database form can have any number of macros. However, each macro is "built into" a
single Cellica Database form; it is not possible to call an external macro.
3.5.2
Create a Macro
Create a new form or open an existing form using Edit Form option on File Manager.
Click on Macros present in the Forms Form and Tab Properties control.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 95
3.5.3
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 96
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 97
1) Add Command
Click on Add Command button to add command to the macro and select the command you want
to use in macro from Command Name drop down list. By default it is added to last.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 98
2) Insert Before
It used to insert the command before to the selected command in macro steps.
3) Insert After
It used to insert the command after the selected command in macro steps.
4) Remove selected
It will remove the selected command from macro steps.
5) Remove All
It will remove all the command from selected macro.
3.5.4
Commands
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 99
(Set Caption, Read Only, Show/Hide Control, Set Font Name, Set Font Size, Set Forecolor, Set Backcolor, Set
Mandatory, Auto Update, Is Navigation, Show Border)
Control Name: Control ID
Value: Value for selected property.
Caption, Read Only, Show/Hide Control, Font Name, Font Size, Fore Color, Back Color, Mandatory.
Use to set a property for a control on a form.
Set New List
Arguments list:
Control Name: Control ID
List Type :Constant List or Combo Box list
Values: Depending on List Type, List of items or set list from another combo box.
Use this with conjunction with combo box control on form. You can set new list of items or set list
from another combo box to specified ComboBox control.
Set Focus:
Sets focus to specified control on form
Arguments list :
Control Name: Control ID
Assign
Argument List :
Destination Value Type: Either Control or Column or Global Variable.
Destination Value: Select Value depending on Destination Value Type. Either Control ID or Column Name or
Global Variable.
Source Value Type: Control or Column or Expression or Constant or Global Variable
Source Value: Enter value according to Source Value Type.
Assign the Control/Column/constant/expression/Global variable value to specified control or column.
Macro Step Label
Argument List :
Step Label
Use "Step Label" to jump to specific command using Macro Step Label. This "Step Label" needs to
be use in "GoTo" label in skip command. It is used for identify destination for "GoTo" clause in "Skip"
command expression.
Run Macro
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 100
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 101
20) Skip:
Argument List:
a.
Skip forward in the macro sequence, it can be used to create conditional branches and loops.
You can use Global variables created in application with the expressions.
Form mode allows to detect the current operation / status on form like
IsNewMode(): Return true if the form is in new record operation.
IsEditRecord(): Form is in edit record mode.
IsNavigation(): Form is in navigation mode (not in new/update record mode)
IsEmpty(): This can be used to check if the binary data column content is null. You can use this
function in expression For checking, if the image/signature is present or not.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 102
b.
If set to False, Message box will show only OK button. When OK button is pressed the execution of
macro will continue from next command.
Displays a message box containing a warning or information message. A Common use is a
message that appears when validation fails.
22) Open Form:
Argument List :
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 103
a.
b.
Close Form: (True or False): If True then the parent form will be closed before
opening new form. If False, opened form will be stacked over the Parent form.
Argument List :
a.
b.
Argument List :
a.
b.
c.
25) GetRecordNumber:
Argument List :
Destination Type: Either Control or Column or Global Variable.
Destination Value: Select Value depending on Destination Value Type. Either Control ID or
Column Name or Global Variable.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 104
Argument List :
Source Type: Control or Column or Global Variable
Source Value: Enter value according to Source Value Type.
Destination Type: MainForm or SubForm.
Destination Value: This Argument is supported if Destination Type is Subform, will show list of
Subforms used on form.
3.5.5
Expressions
You can assign result by executing expression in command. Expression can be used with three
commands:
1) Assign
2) Select Tab
3) Skip
For Example:
1) $ColumnName*2/10
Column name is prefixed with $ in expression.
2) [TextBox]*2/10
Form control is used In [Control] open and close brackets.
3) 10 * 100/100
Numeric values can be used in expression.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 105
3.5.6
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 106
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 107
3.5.7
String functions
3.5.7.1 Concat( text1, text2)
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 108
For example,
- Concat(ConvertToString([ControlID]), left($ColumnName))
- Concat([ControlID], $ColumnName)
- Concat("XYZ", "Abc")
- Concat([ControlID], Concat("XYZ, $ColumnName))
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 109
- substring([ControlID], 0, $ColumnName)
- substring("XYZ", 0, "Abc")
3.5.7.5 Length(text)
Returns: the number of characters in text, excluding trailing blanks.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 110
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 111
3.5.7.9 Ltrim(text)
Returns: a string, with characters in the text, without leading blanks.
Parameters : ControlID/ Column Name/ Constant String value/ String functions.
For example,
- ltrim(ConvertToString([ControlID]))
- ltrim($ColumnName)
- ltrim([ControlID])
- ltrim(" XYZ")
3.5.7.10 Rtrim(text)
Returns: a string, with characters in the text, without trailing blanks.
Parameters : ControlID/ Column Name/ Constant String value/ String functions.
For example,
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 112
- rtrim(ConvertToString([ControlID]))
- rtrim($ColumnName)
- rtrim([ControlID])
- rtrim(" XYZ")
3.5.7.12 Lcase(text)
Returns: a string, with text as all characters in lowercase
.
Parameters : ControlID/ Column Name/ Constant String value/ String functions.
For example,
- lcase(ConvertToString([ControlID]))
- lcase($ColumnName)
- lcase([ControlID])
- lcase("XYZ ")
3.5.7.13 Ucase(text)
Returns: a string, with text as all characters in uppercase
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 113
3.5.8
You can use condition branches and loops with skip command.
Skip command have 2 argument.
1) Skip type : There are three skip types
i) Number:
Skip the specified number of step from current step.
iii) If-then-else:
Using this you can implement conditional branching and looping. if you select this
option then it will be ask for three arguments.
A) if part:
In this part you need to provide the condition.
For Example:
$Age > 10 OR [TextBox] > 10
Here $Age is the Column Name and [TextBox] is the control name.
If you want to check multiple condition then you can use (OR, AND NOT) operator.
B) then part :
If if part is evaluated to true then this part will be processed
Here you can use constant value or expression or goto clause.
For Example:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 114
1) 2
2) $Age+10
3) goto First- First is the label value assigned to the macro step label command.
C) else part :
If if condition is evaluated to false then this part will be processed
Here you can use constant value or expression or goto clause.
For Example:
1) 0
2) $Age+10
3) goto First - First is the label value assigned to the macro step label command.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 115
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 116
3.6 Events:
You can initiate/execute a macro on particular event. You need to select the macro for particular
event.
There are three types of event groups:
a) Form level events
b) Control level events
c) Radio group events
To execute macro on particular event you need to use Event property on one of the above
mentioned event groups.
3.6.1
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 117
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 118
Figure 69: Set macros for Radio or Combo box or Checkbox Event
3.6.2.3 Button control event:
Supports following events,
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 119
New and Edit action buttons has following events instead of OnClicked event.
-
OnNew: The macro get executed when user click on New button. Use this event for
initializing values for some form controls using macro.
OnEdit: The macro get executed when user click on Edit button. Use this event for
initializing values for some form controls using macro.
OnSave: This event gets called when user opt to save newly added or modified record by
tapping the Save on the form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 120
User can export the form design as a backup or to design the similar form for new profile. On form de
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 121
Toolbar button to export the form. This will export the form design, not mapping of
Export Form(s)
Select one or more forms from available form list and then click Export Form button to backup forms
at desired location.
3.6.5
Edit Form
Click on Edit Form button to edit already created forms or Add/Remove users from particular form.
3.6.6
Remove Form
Use Remove Form button to remove currently selected form from desktop software as well as from
all the devices which are assigned to that form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 122
3.6.7
Set Password
This option allows user to set Password to particular Form. Device side User will able to open the
Form only by using the password set by Administrator.
Administrator can set different password to each Profile.
3.6.8
Check Status
Use this option to check status of particular Form. You can get status if the form is synced
successfully or wait for syncing.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 123
to distribute snapshots of your data, either by being printed out or converted to PDF. Reports can
provide details about individual records, summaries across many records, or both.
For meetings, for mailings, for making your point, there's nothing better than clear, elegant data.
Whether you are sharing a weekly status report with your team or sending a product catalog to your
customers, reports draw attention to your data and make it work for you.
Cellica Database includes a module namely Report Manager". Use this to design reports for profiles
as per your requirement.
Report Manager allows to graphically designing report layout using wide variety of controls and link
fields from profile as a data sources. Fields from these tables can be placed on the report design
surface, and can also be used in formulas. Formulas can be evaluated at several phases during
report generation as specified by the developer.
Support controls in Report Manager have a wide array of formatting options available. Cellica
Database Reports also supports sub reports, graphing, drawing and GPS functionality.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 124
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 125
Administrator can set device side preferences for Single User or Multiple Users or All Users.
a.
Device Preferences:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 126
Administrator can control following Administrative Settings for devices from desktop application.
1) Sync Mode = A) Disable Sync B) Manual Sync C) Auto Sync
If Sync Mode is Auto Sync then Administrator can further set following options
a) Stop instant auto sync. = On/Off
b) Refresh auto number column data on save operation of new record= On/Off
2) StartupForm - Startup form can be set from desktop and after sync it will be set on selected
devices.
3) Preferences View Settings a) Hide administrative settings b) Show administrative settings (Readonly) c) Allow to view/change
administrative settings
b.
Application Password:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 127
Home screen Preference means Administrator can allow users to view Profiles only or Forms only or
Both on users device.
Set Password: This will protect your desktop side application by allowing you to set the
password.
Start Synchronization/Stop Synchronization: Use this button to start and stop the
synchronizing database between your computer and device.
Synchronization Settings:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 128
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 129
Connection Settings: If you are using Internet connection using proxy and want to change the
proxy settings then use this option.
Encryption Settings: If you want the synchronization between desktop and devices should be
encrypted then select Enable AES Encryption.
Reset:
If you want to resend all profiles and forms assigned to some user all over again in some
situation like accidental removal of device side application. Use Reset option, and select the
User you want to Reset.
Click on Reset and sync from device. All Profiles and Forms will be pushed to device again.
Put ON this setting if you want to track and view synchronization activities like when users
synced data with desktop server. Use View History button to see saved activities logs.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 130
Administrative Log:
Turn ON this feature if you want to track what changes are synced between desktop
application and devices in both ways (Desktop->Device and Device->Desktop). Note that
these log files can grow to large size if your data changes frequently in your solution by users
updates on devices and frequent changes in desktop database.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 131
Click on Add to send new message to users. Enter message, select the priority level of message and select
users whom you want to send this message.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 132
In case of more than one message is pushed to device, message with higher priority will be displayed
first on device.
To see messages received from devices click Device Push Message button.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 133
Register: To register the Server software, click on this Settings button in Register Cellica Database
group. Send Desktop ID appears on this registration dialog to support@cellica.com to get the
license key.
Global Variable:
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 134
You can create Global Variable for using in macro in this section.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 135
Application Settings
You can set application logo to using this option. Create a logo in logo manager and select it here.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 136
Frequently Asked Questions (FAQ) are questions that our customers routinely ask us or email about.
4.1 Desktop
4.1.1 Does software send complete database every time?
No, Cellica Database sends only changed records like new/updated/deleted records and not
complete database each time.
Drag TextBox control on form and set Content Type property of TextBox on form to DeviceID. Now on
device when you create new record this field will be populated by devices UDID.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 137
In this case, barcode scanner need to be connected with device using Bluetooth. Tap in text field in
New/Edit mode and then scan value using external barcode scanner. It will be put in text field
automatically.
Drag Unbound image control on form and set Content Type Property to Logo. Now on
device you have to choose image for this control only once and same will be displayed for all
records.
4.1.8 How to use phone call Feature and Send Email Feature on forms?
Use button control on form and then set button action to one of the desired action, Send email or Phone
call. Now set the Data Column property to set the destination field of profile whose data you want to
use.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 138
On Sub Form:
Hold CTRL Key & Select Controls one by one.
You can do this with Cellica Database . Profile should have column with type DateTime (Timestamp). Drag
DateTime control on form, set its Data column property to Timestamp column in which you want to save
Record Timestamp. Now set Def Val_Type property of DateTime control to Timestamp. Now when
you add or edit record on device side, this field is populated with current timestamp. If you want to do this
in background then you can do this by setting Visible property of DateTime Control to TRUE.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 139
Drag Bounded Image control on form set its data column property to column with binary type. Now set
the Content Type property to Signature. On device side user can attach signature with this record by
tapping on this control and this will be synced with desktop.
You can sync PDF data from desktop database to device and view these PDFs on dveice. Use
Image/Signature ( Container) control with Content Type set to PDF. Map the column containing PDF
data to control and sychronize profile and form with device.
4.1.15 How I can backup my form design work/ Forms/ How I can avoid redesigning of forms/
How I can reuse form/ How I can rename form?
There are 2 ways you can save your form designing work
Export multiple forms using Export option available on Form Manager
Click on Export button on Form Manager, you will be presented with list of existing form, select one or
more forms from the list, and choose Export. Select location for saving forms (.fm) files.
Using export button on toolbar in Form Designer window
Sometimes you may want to take backup of your form while you are in between form
designing process before making big change in design. For this purpose there is Export
Form button on toolbar on Form Designer Window. Click it to export your existing form layout
and save it.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 140
4.1.16 Can I use forms designed with single user edition in enterprise edition?
Yes, Form designed with single user edition can be used in enterprise edition. You need to
export forms from single user edition( ref 11) and import them in Enterprise edition form
manager while creating new form.
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 141
Number of type: Byte, Decimal, Integer, Long Integer, Single, Real, Float, Double
GUID
Date/Time
Yes/No
Hyperlink
Currency
Image
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 142
6 SYSTEM REQUIREMENT
Server
Windows 2000, Windows 2003, Windows 2008, Windows XP with Service Pack 2, Widows Vista,
Windows 7, Windows 8.
Device
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 143
7 CONTACT US
You can use the following email addresses to contact us:
o
Product support
support@cellica.com
Sales inquiries
sales@cellica.com
_________________________________________________________________________________
Cellica Database Anywhere (Enterprise Edition)
Page 144