"The World's most reliable SMS gateway software!"
Tel.: 00 36 52 532 731
Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Informix Contents | SearchOleDb

Home > Product Manual > Installation Guide > Users and applications > SMS from/to database > Access

SMS Gateway SMS Gateway Home

  Product Manual
  SMS technology
  Installation Guide
  Download Information
  Installation Steps
  Service Provider Connections
  Users and applications
  Standard user
  SMPP user
  SMS from/to database
  Sybase SQL Anywhere
  Pervasive SQL
  Date Format Strings
  Scheduled SMS
  SQL templates
  Access 2007
  Connection string builder
  MS SQL high speed
  Oracle High Speed
  SQL statements
  Polling technology
  Dynamic Keywords
  Dynamic SMPP parameters
  Autoreply SMS from database
  Autoreply SMS using a script
  Simple autoreply SMS
  SMS from/to file
  SMS through E-mail
  SMS via HTTP Request
  SMS via colour protocol
  Application starter SMS
  SMS Voting
  SMS from MS Outlook
  SMS from/to FTP server
  PDF Request in SMS
  SMS to WCF service
  SMS Forwarder
  RSS to SMS
  User Guide
  Developers Guide
  Examples and Solutions
  Feature list
  Commercial Information
  Cookie policy
Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

Send and receive SMS from MS Access

This guide gives you some tips to get you started on sending or receiving SMS messages from Microsoft Access. It gives you the initial installation steps to take to setup Ozeki NG to work with your Access database.


Ozeki NG can connect to an Access database through an ODBC or through an OLEDB connection. It uses two Access tables. One table is used for sending SMS messages the other table is used for receiving SMS messages. The table structures match the table structure used in the MS SQL database configuration. Ozeki NG uses SQL statements to work with these tables through the ODBC (or OLEDB) connection.

Getting started

To send SMS messages from access, you need to configure a service provider connection. The quick start guide for sending SMS gives you the steps to do this. After you are able to send and receive SMS messages manually from the Ozeki User interface, you can configure the Access database connection. To do this, go to "Add new user" in the main menu, and select the database option. (Figure 1).

Figure 1 - Start the installation of a database connection

The next step is to provide a unique name for this connection. In our example we provide "Access1" as the name for the connection (Figure 2).

Figure 2 - Provide a unique name for the connection

Once this is done you are ready to configure the connection parameters.

Configuring the database connection

To connect your SMS gateway to Access, please select ODBC as the connection method and provide the connection string that points to your database (Figure 3).

Figure 3 - Setting the connection string

The above connection string specifies a connection string with standard security. The connection string points to your access database (*.mdb) and it contains the username and password. These values must be set to match your system. You can use the following connection strings depending on your requirements:

Standard security:
Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;Uid=Admin;Pwd=;

Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;SystemDB=C:\mydatabase.mdw;

Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;Exclusive=1;Uid=admin;Pwd=;

To enable certain pragmatically admin functions such as CREATE USER, CREATE GROUP, ADD USER, GRANT, REVOKE and DEFAULTS (when making CREATE TABLE statements) use this connection string.

Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;Uid=Admin;Pwd=;ExtendedAnsiSQL=1;

Locale identifier:
Use this one to specify the locale identifier which can help with non-US formatted dates or special character sets. The example bellow uses the en-gb locale identifier (2057)

Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydatabase.mdb;Locale Identifier=2057;Uid=Admin;Pwd=;

SQL templates

After you have set the connection string, to get the access connection working, you also have to change the SQL templates. The most important thing to do, is to remove the apostrophe around the $id keyword in all SQL templates. By default the SQL templates used in the Database configuration are not going to work in Access. The following figures (Figure 4-8) show you which templates should be changed. The change is minor.

Figure 4 - Modify the sending SQL template.

Figure 5 - Modify the sent SQL template.

Figure 6 - Modify the Not Sent SQL template.

Figure 7 - Modify the delivered SQL template.

Figure 8 - Modify the undelivered SQL template.

After these configurations have been completed, you can send SMS messages from your access database by inserting a record into the outgoing database table. The Ozeki software will pickup your record and send it as an SMS message.

Dig deeper!
People who read this also read...

Copyright © 2000 - 2015 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com