Bill Redirect
Send data directly in your Microsoft Access
                           Documentation: 18/11/2008




       Use this documentation with the product : Bill Redirect 5.0J and more


Software configuration and integration service
                   It's free, fast, and efficient !
           Submit your case to info@billproduction.com
               and receive a customized answer !


              Our Internet site: http://www.billproduction.com/

                       Email: info@BillProduction.com
This documentation demonstrate how
Bill Redirect can sent Serial Scanner (Barcode, Proximity, scale… ) Reader
           numbers directly in Microsoft Access
Step #1
    Download and install Bill Redirect software
http://www.billproduction.com/Bill_COMtoKB.ZIP



                      Step #2




 Disable all except the Serial Port and File section
         Set the Serial Port switch to: OFF
            Set the File switch to: Write
Step #3




                         Click on button: Configuration
       Enter the Serial Port Number where your Peripheral is connected
      Chose the Serial Port Configuration corresponding to your peripheral



If the data sent by your peripheral ends with a [ENTER], then enter 13 in the optional field
                                       otherwise leave it blank
Step #4




                              Click on button: Configuration




In the field “File:” enter:   C:BillProduction.cfgDATETIMESEQ.OUT

                                   Click on button: OK



                         Click on button: Save Configuration
Step #5

                               Microsoft Access Configuration
                      You can download this example via this link:
                                         (MS Access 2003 and more)
                    http://www.billproduction.com/MSAccess01.zip
The following demonstrates how you can receive Bill Redirect data in Microsoft Access via a timer.

   1. Create a sample database Sample.mdb
   2. Create a table with 3 fields:

                      Field Name          Data Type
                    ID_Barcode          Text
                    ID_Date             Date/Time
                    ID_Time             Date/Time

   Save this Table to: BillRedirect
   * Important: Use no Primary Key !

   3. Create a new form and open it in “Design view”
   4. Add on this form 3 Text Box:
                                                                   Each Text Box Properties
                      Form example
                                                            Name              Data / Control Source
                                                            TextBoxBarcode    ID_Barcode
                                                            TextBoxDate       ID_Date
                                                            TextBoxTime       ID_Time


   5. Set Form properties Data / Source: BillRedirect
Step #6

6. Insert the following source code:

   Private Sub Form_Load()
       Me.TimerInterval = 100
   End Sub

   Public Sub Form_Timer()
       Call RX_BillRedirect
   End Sub

   Public Sub RX_BillRedirect()
       On Error GoTo BillRedEnd
       Const TheDirectory = "c:BillProduction.cfg"
       Dim TheFile As String
       Dim TheData As String
       TheFile = Dir(TheDirectory & "*.OUT")
       If TheFile <> "" Then
           Open TheDirectory & TheFile For Input As #1
               Line Input #1, TheData
               'The data is in the variable: TheData
               '...HERE... ADD COMMANDS TO APPEND DATA TO YOUR TABLE

                '----[Example]--------------------------------------------
                DoCmd.GoToRecord , , acNewRec
                TextBoxBarcode.SetFocus
                TextBoxBarcode.Text = TheData
                TextBoxDate.SetFocus
                TextBoxDate.Text = Date
                TextBoxTime.SetFocus
                TextBoxTime.Text = Time
                '----[Example]--------------------------------------------
            Close #1
            Kill TheDirectory & TheFile
        End If
        Exit Sub

   BillRedEnd:
       Debug.Print Err.Description
       Close #1
   End Sub

7. Close and save the form
8. Open the form in mode “Form View”


                      At this step if your configuration is correct
  you can see the data received by your serial peripheral appear in Microsoft Access
                            For more information, consult the product manual:
                        http://www.billproduction.com/Bill_Redirect_Manual.pdf

                Software configuration and integration service
                                     It's free, fast, and efficient !
                             Submit your case to info@billproduction.com
                                 and receive a customized answer !

More Related Content

PDF
USB Balance and Scale Software The perfect solution to automate balance and s...
PDF
Logiciel pour Balance RS232 redirige le poids dans votre application
PDF
Microsoft Excel and peripheral via VBA DDE (RS-232, TCPIP, USB, UDP ...)
PPTX
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
PDF
RS232 barcode scanner Proximity reader on a specific field in your application
PDF
Bill redirect field
PDF
Your peripherals RS232 USB and Excel
PDF
Control relay via schedule time
USB Balance and Scale Software The perfect solution to automate balance and s...
Logiciel pour Balance RS232 redirige le poids dans votre application
Microsoft Excel and peripheral via VBA DDE (RS-232, TCPIP, USB, UDP ...)
Implementing Your Full Stack App with MongoDB Stitch (Tutorial)
RS232 barcode scanner Proximity reader on a specific field in your application
Bill redirect field
Your peripherals RS232 USB and Excel
Control relay via schedule time

Similar to Microsoft access VBA communication with RS232 Peripherals (20)

PPTX
SH 2 - SES 1 - Stitch_Workshop_TLV.pptx
PDF
Apache Calcite Tutorial - BOSS 21
PPT
Evolutionary db development
PPTX
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
PDF
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
PDF
20.project inventry management system
PDF
Using idoc method in lsmw
PDF
Prep 2-booklet-2nd-term-2016-2017
PPSX
MondCloud Semantic Data Hub for Insurance
PDF
Installing community surveys in connections 5.5
PDF
Nota ict form 5
PDF
MaxTECH Technical Training - Maximo Custom Audit Solution
DOCX
CIS 3100 - Database Design and ImplementationScoring Rubric.docx
PDF
I doc packaging and mapping techniques.doc
PPTX
Automated Document Indexing with ImageRamp
DOCX
Design notes
PPTX
Building Your First App with MongoDB Stitch
PPT
Batch input session
DOCX
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
PDF
Informatica complex transformation i
SH 2 - SES 1 - Stitch_Workshop_TLV.pptx
Apache Calcite Tutorial - BOSS 21
Evolutionary db development
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
20.project inventry management system
Using idoc method in lsmw
Prep 2-booklet-2nd-term-2016-2017
MondCloud Semantic Data Hub for Insurance
Installing community surveys in connections 5.5
Nota ict form 5
MaxTECH Technical Training - Maximo Custom Audit Solution
CIS 3100 - Database Design and ImplementationScoring Rubric.docx
I doc packaging and mapping techniques.doc
Automated Document Indexing with ImageRamp
Design notes
Building Your First App with MongoDB Stitch
Batch input session
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Informatica complex transformation i
Ad

More from topomax (17)

PDF
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
PDF
Serial RS232 to Keyboard wedge software
PDF
Support Awid proximity reader
PDF
How support caller ID phone number
PDF
How support caller Id phone number with a modem
PDF
Bill redirect manual_fr
PDF
Bill redirect manual
PDF
Automatic dimmer package dimensioning RS-232
PDF
Control Relays via RS-232 / USB
PDF
Microsoft Excel and RS-232 peripherals protocol communication DDE
PDF
iPod iPhone iPod Remote control via TCPIP
PDF
Control infrared remote controls receiver RS-232
PDF
Storm Keyboard / Keypad RS-232 Wedge keyboard solution
PDF
Windows Virtual Keyboard modification
PDF
Bill redirect multiply
PDF
Digital Calipers Software Mitutoyo / Logiciel pour Pied à coulisse Mitutoyo (...
PDF
RS232 USB Balance and Scale Software
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Serial RS232 to Keyboard wedge software
Support Awid proximity reader
How support caller ID phone number
How support caller Id phone number with a modem
Bill redirect manual_fr
Bill redirect manual
Automatic dimmer package dimensioning RS-232
Control Relays via RS-232 / USB
Microsoft Excel and RS-232 peripherals protocol communication DDE
iPod iPhone iPod Remote control via TCPIP
Control infrared remote controls receiver RS-232
Storm Keyboard / Keypad RS-232 Wedge keyboard solution
Windows Virtual Keyboard modification
Bill redirect multiply
Digital Calipers Software Mitutoyo / Logiciel pour Pied à coulisse Mitutoyo (...
RS232 USB Balance and Scale Software
Ad

Microsoft access VBA communication with RS232 Peripherals

  • 1. Bill Redirect Send data directly in your Microsoft Access Documentation: 18/11/2008 Use this documentation with the product : Bill Redirect 5.0J and more Software configuration and integration service It's free, fast, and efficient ! Submit your case to info@billproduction.com and receive a customized answer ! Our Internet site: http://www.billproduction.com/ Email: info@BillProduction.com
  • 2. This documentation demonstrate how Bill Redirect can sent Serial Scanner (Barcode, Proximity, scale… ) Reader numbers directly in Microsoft Access
  • 3. Step #1 Download and install Bill Redirect software http://www.billproduction.com/Bill_COMtoKB.ZIP Step #2 Disable all except the Serial Port and File section Set the Serial Port switch to: OFF Set the File switch to: Write
  • 4. Step #3 Click on button: Configuration Enter the Serial Port Number where your Peripheral is connected Chose the Serial Port Configuration corresponding to your peripheral If the data sent by your peripheral ends with a [ENTER], then enter 13 in the optional field otherwise leave it blank
  • 5. Step #4 Click on button: Configuration In the field “File:” enter: C:BillProduction.cfgDATETIMESEQ.OUT Click on button: OK Click on button: Save Configuration
  • 6. Step #5 Microsoft Access Configuration You can download this example via this link: (MS Access 2003 and more) http://www.billproduction.com/MSAccess01.zip The following demonstrates how you can receive Bill Redirect data in Microsoft Access via a timer. 1. Create a sample database Sample.mdb 2. Create a table with 3 fields: Field Name Data Type ID_Barcode Text ID_Date Date/Time ID_Time Date/Time Save this Table to: BillRedirect * Important: Use no Primary Key ! 3. Create a new form and open it in “Design view” 4. Add on this form 3 Text Box: Each Text Box Properties Form example Name Data / Control Source TextBoxBarcode ID_Barcode TextBoxDate ID_Date TextBoxTime ID_Time 5. Set Form properties Data / Source: BillRedirect
  • 7. Step #6 6. Insert the following source code: Private Sub Form_Load() Me.TimerInterval = 100 End Sub Public Sub Form_Timer() Call RX_BillRedirect End Sub Public Sub RX_BillRedirect() On Error GoTo BillRedEnd Const TheDirectory = "c:BillProduction.cfg" Dim TheFile As String Dim TheData As String TheFile = Dir(TheDirectory & "*.OUT") If TheFile <> "" Then Open TheDirectory & TheFile For Input As #1 Line Input #1, TheData 'The data is in the variable: TheData '...HERE... ADD COMMANDS TO APPEND DATA TO YOUR TABLE '----[Example]-------------------------------------------- DoCmd.GoToRecord , , acNewRec TextBoxBarcode.SetFocus TextBoxBarcode.Text = TheData TextBoxDate.SetFocus TextBoxDate.Text = Date TextBoxTime.SetFocus TextBoxTime.Text = Time '----[Example]-------------------------------------------- Close #1 Kill TheDirectory & TheFile End If Exit Sub BillRedEnd: Debug.Print Err.Description Close #1 End Sub 7. Close and save the form 8. Open the form in mode “Form View” At this step if your configuration is correct you can see the data received by your serial peripheral appear in Microsoft Access For more information, consult the product manual: http://www.billproduction.com/Bill_Redirect_Manual.pdf Software configuration and integration service It's free, fast, and efficient ! Submit your case to info@billproduction.com and receive a customized answer !