Welcome to
Sunbelt Computer Systems, Inc
Quality Software Products for the PL/B Community

Functions
Entrance
View More Polls
File Attachments
Recommend Us!

Current Threads
No current threads found...

Hot Topic
No posts have caught fire as of yet.

Last Seen
jshrimski: 12 minutes, 16 seconds ago...
M Lamberton: 21 minutes, 22 seconds ago...
bud: 2 hours, 3 minutes, 9 seconds ago...
dgabler: 2 hours, 37 minutes, 51 seconds ago...
jlanier: 3 hours, 35 minutes, 21 seconds ago...
Gerhard Weiss: 3 hours, 35 minutes, 39 seconds ago...
...next 7

Login
Enter your username and password to login. If you do not have a username you can register one HERE.
username:
password:

Send Password
Remember Me

New Member
Everyone welcome our newest member, Brian Chubb!

Breaking News...

New Features in 9.4

Sunbelt Computer Systems proudly announces the 9.4 release of its PL/B software. Included in this release runtime is an embedded SQLite database engine, a new utility, and new methods for accessing your data within IO statements.

SQLite
SQLite is one of the most widely deployed database engines in the world. In the past, users wanting to store information in a database were required to evaluate a number of products, license the software from a third party, install, configure, and maintain the database. You also needed to locate, install, configure, and maintain an ODBC interface to access the database from PL/B. All in all, it could get expensive, time consuming, and required a good bit of technical knowledge.

With the 9.4 version of PL/B, everything has been done for you! Within your PL/B program, you simply connect to the embedded database engine and start using it. To connect to the engine, execute a DBConnect instruction with a connection string of "SQLite;;filename". The "filename" in this case is a binary file that is your database. If the file doesn't exist, it is created. Once the connection has been made, you can create tables, insert data, use transactions, and any of the normal database activities using Sunbelt's existing database verbs. How easy is that? There is no installation, no configuration, and (did you notice) no cost. For most of your database needs, the ANSI 92 compatible SQLite engine will have plenty of power.

DBExplorer Utility
Also included in the 9.4 release is Sunbelt's new DBExplorer utility. This tool makes common database administration functions such as table and index creation, table altering, and data import and export a snap. The database structure is presented in a clear and simple explorer style format. The utility also has special functions for creating table structures based on PL/B source definitions.

Named IO
As if just having the SQLite engine at your fingertips isn't enough, the initial need to add the SQLite engine to the runtime was to allow users to create a data dictionary. This data dictionary (commonly called the DBSchema) allows users to describe a data file as a "View" with named fields at specified offsets with the record. Once defined, associating the view with a file on an OPEN or PREPARE statement allows IO to be performed using the field names in much the same manner as IO for XML. A simple example would be:
	OPEN	F1,"myfile",View=MyFileView
	READ	F1,Seq;Name=NameVariable
Notice that it does not matter where the Name field is within the record. The DBSchema provides the information to the READ instruction to locate the field. If a field is moved or other fields added or removed and the DBSchema updated, no program changes will be required.

FILTER Instruction
To carry the Named IO capability even farther, users can now employ the FILTER instruction. When applied to an open FILE, IFILE, or AFILE, FILTER will restrict the data returned to those records that match a specified criteria. For example, the following would display all records where the name field begins with "John".
	OPEN	F1,"myfile",View=MyFileView
	FILTER	F1,"Name like 'JOHN%'"
.
        LOOP
	READ	F1,Seq;Name=NameVariable
	UNTIL       OVER
	DISPLAY	Name
	REPEAT
Still more
Actually, there is more in the 9.4 release. Download it now and see how these enhancements can enrich your programs.

Quick Search

Online
1 member and 2 guests have been online with in the last 10 minutes.

Short Stats
New Members:
0 Last 24 hours
1 Last 7 days
2 Last 31 days

Boards:
3248 Total topics
12924 Total replies

Totals:
585 Members
16172 Posts

Max Online:
0 Members
42 Guests
42 Total
(12/14/06 02:26 PM)

Top 10 Posters
Gerhard Weiss1389
matt1339
see1230
dgabler1183
ssansom709
Festus683
srw654
jshrimski524
JimKovalsky512
Harry Rathsam499


Sunbelt-PLB.com

*
UBB.threads™ 6.3.2

 .: IIP 5.3.1 by David Lozier ©2002 :.