Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 5th, 2003, 09:58 PM
Registered User
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display bar code in a Form using user input text?


Just trying to print bar code with label in report which is okay.
But when try to create a form with one text field and one bar code field, when user input a text the bar code below should change accordingly, I've got trouble changing the bar code field value.

Anyone can help me?

I got this error:
    execuation error "2101", input config is invalid for the property
using this statement:
  db1.Form1.ActiveXCtl3.Value = txtUserIn.text

Old June 6th, 2003, 02:39 AM
Authorized User
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to psychadelic


I am using a barcode ocx in one of my Ms Access project and when I want to update it all I have to do is :

        Forms![FrmPrintBarCode]![barCode1].Caption = Forms![FrmPrintBarCode]![TxtBarCode]

and it works fine. The barcode style is set to Code 128 (auto-select).



Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Framework display of user input dayakarb Struts 0 April 20th, 2007 02:31 AM
Get user input during form processing echovue PHP How-To 3 June 10th, 2006 11:54 PM
Can't display input variable passed on to php code mespejo Beginning PHP 2 November 25th, 2003 03:32 PM
write info from user input into a text file pkdev Classic ASP Components 1 September 20th, 2003 01:59 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.