10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Working with Images and Text Strings 277How You Can Work with Images .......................................................................................... 277Image Fields ............................................................................................................... 278Image Trim................................................................................................................. 279Other Fields ................................................................................................................ 279Palette Fields............................................................................................................... 280BitmapObject Class ...................................................................................................... 282ImageField Object........................................................................................................ 286How You Can Work with Text Strings.................................................................................... 287How You Can Store Strings in the Database ..................................................................... 288How You Can Display a String from a Database ................................................................ 289How You Can Update Strings in a Database ..................................................................... 290How You Can Delete Strings from a Database .................................................................. 291How You Can Create a String Storage Table..................................................................... 292How You Can Determine If a Database is Unicode-enabled................................................. 293Chapter 10: Using 3GL in Your Application 295How You Can Call 3GL Procedures........................................................................................ 295Callproc Statement ...................................................................................................... 295How You Can Pass Parameters to 3GL Procedures............................................................. 296How You Can Use Exec 4GL Statements in 3GL Procedures...................................................... 298How You Can Pass Structured Data................................................................................. 298How You Can Check for Errors ....................................................................................... 299Summary of Exec 4GL Statements ................................................................................. 299Example—Passing an Array to a 3GL Procedure ................................................................ 300Example—Sending a User Event from 3GL to 4GL ............................................................. 303How You Can Use Exec SQL Statements in 3GL Procedures...................................................... 305How You Can Preprocess Exec 4GL and Exec SQL Statements .................................................. 305How You Can Link 3GL Procedures ....................................................................................... 306Technical Tips ................................................................................................................... 3064GL/3GL Data Types .................................................................................................... 306Sample 3GL Procedures...................................................................................................... 3073GL Sample ................................................................................................................ 307Exec 4GL and Exec SQL Sample ..................................................................................... 308Chapter 11: Data Entry Error Handling 309How You Can Use Data Entry Error Handlers ......................................................................... 309How You Can Change Values with a Data Entry Error Handler............................................. 311How You Can Access a Hierarchy of Data Entry Error Handlers............................................ 311viii <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!