473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Microsoft Access: Entering Data into Forms

Currently i have a database which I use to keep control of stock. I have a form for inputting data via a barcode scanner. It inputs the shipping number, Asset number and Status. Is it possible to only prompt for the shipping number once and then I scan the rest of the data in and then when i reopen the form scan another shipping number in etc. At the moment I am Scanning in the shipping number each time.

Cheers for any help,
Brethser
Oct 22 '08 #1
12 1841
NeoPa
32,556 Expert Mod 16PB
You could have a process (in a form if you like) which scans in the shipping number.

Once this is accomplished the next code could open the form, passing across the Shipping Number in the form's OpenArgs parameter.

In the Form's Open event procedure set the .DefaultValue of the Shipping Number control to that value.
Oct 22 '08 #2
Thank you for your help but i'm afraid i'm only at the beginner stage and i don't understand what you mean when you say have a process that opens a form. Any examples would be appreciated. Thanks again for any hep.
Cheers
Brethser
Oct 23 '08 #3
NeoPa
32,556 Expert Mod 16PB
I didn't say that. Please reread the post and explain if/where you get stuck.

I will know when an example might be appropriate thank you.
Oct 24 '08 #4
Sorry about all the confusion but i figured out the problem using subforms. I am now trying to make my database more user friendly and was wondering if there is a way you can have a form which opens when the database is opened and you can scan in a number which will direct you to another form.

For example if number 010 was for receiving products. can i scan that into a "main form" and it'll open up the form used for receiving products and maybe 999 will Exit back to the "main form"

Cheers
Brethser
Oct 27 '08 #5
NeoPa
32,556 Expert Mod 16PB
See Tools / Startup... for setting a form to start automatically on opening of the database.

The rest is already answered in my post #2. If you need further clarification on any point, please explain clearly what you need.
Oct 27 '08 #6
NeoPa
32,556 Expert Mod 16PB
BTW please don't assume that because I seem unco-operative that therefore I'm unwilling to help. I don't intend to be lead down the road of doing it for you, as that is no real help. I can however, explain what you need explaining, but you will need to be involved in the process. Spoonfeeding will get you nowhere.
Oct 27 '08 #7
Hows it going. I have already explored the Start up option but as far as i understand it does not suit my purpose. It only allows me to automatically open a form i have created. For this to work i would need to create a form that links all my forms together. But I don't understand how you would link all the forms together in one form that just contains the original forms names.

At the moment i have 4 forms.[ 010 Receive from factory, 110 Build Unit, 210 Ship to customer, 310 Recieve from customer] in my case what would be ideal would be that when i open access a form appears and when i scan/type in 010 or 110 or 210 or 310 it would open one of these forms.

Sorry if i seems like i'm pressing you to do the work for me that was not my intention. Any help would be appreciated.

Regards Brethser
Oct 27 '08 #8
NeoPa
32,556 Expert Mod 16PB
... I am now trying to make my database more user friendly and was wondering if there is a way you can have a form which opens when the database is opened and ...
I will need more time (later) for a fuller answer, but I can say that the Startup option is simply in response to the quoted part of your earlier post.

If you can handle the scanning part (it seems you can do that already) then it shoul be perfectly practicable to handle the rest - if you can wait for further posting later.
Oct 28 '08 #9
NeoPa
32,556 Expert Mod 16PB
Right, when you manage to scan an item in, does it set the value of the ComboBox for you? Or does it present some other way?

I need to know how that is reflected before I can really advise where to go from there.

Clearly, the first step is to set up the form where you do the scanning as your Startup form.
Oct 28 '08 #10
NeoPa
32,556 Expert Mod 16PB
Actually, I've just reread post #8 and realise I misunderstood it somewhat earlier.

To create a form of the type that would allow you to branch of to the other specified forms, what you need is to create a form which is NOT bound to any record source.

Add to this form a ComboBox which lists all the other forms you want to link to, and a Command Button.

This is the basic form that you need to point to in the Startup Options.
Oct 28 '08 #11
Actually, I've just reread post #8 and realise I misunderstood it somewhat earlier.

To create a form of the type that would allow you to branch of to the other specified forms, what you need is to create a form which is NOT bound to any record source.

Add to this form a ComboBox which lists all the other forms you want to link to, and a Command Button.

This is the basic form that you need to point to in the Startup Options.

************************************************** *******************************************
Yea that worked for me, I used the command buttons to accomplish the task. Thanks very much for all your help and i'm sure you'll be hearing from me again.

Regards Brethser
Oct 29 '08 #12
NeoPa
32,556 Expert Mod 16PB
Can I take that to mean you have worked out the whole problem then? Triggering the other forms as well?
Oct 29 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
6
by: F-13 | last post by:
I'm working on a BOM in Access 200 from an example downloaded from from the web. The sample database contains three tables, Assemblies (the list of items needed to assemble any assembly),...
4
by: Takeadoe | last post by:
Hey Gang, I'm gearing up to retool for the upcoming deer season here in Ohio and I could use some help with very general questions about direction. I will be scanning nearly 210,000 forms that...
9
by: lightning | last post by:
Hi all, I'm not very conversant with the vocabulary of Access, so please ask for clarification if necessary... I am trying to build a search form that allows combinations of search terms. For...
4
by: seryozha | last post by:
Hello, I'm wonder if a relational database is what i need based on the data i will be entering. Our company will have the following data entered: Customer Part Press Date Operation
4
by: dirk | last post by:
Hey, I'm new to php and I'm trying to write some php code so that I can insert data into a mysql database using html forms. I've got two text forms and a submit button. When entering data and...
2
by: bandkindy | last post by:
To preface, I am pretty green on the whole sql thing, but am learning quickly so please bear with me. I have an excel file that is copied to 5 users directories so they have their own working...
1
by: bandkindy | last post by:
To preface, I am pretty green on the whole sql thing, but am learning quickly so please bear with me. I have an excel file that is copied to 5 users directories so they have their own working...
2
by: ggarz1 | last post by:
I am currently creating a database for a new company that we acquired. There are a small number of private sales reps based out of their homes. Initially, these people were sending in files/order...
10
by: mulamootil | last post by:
Hi - I have created multiple tables and forms for a database. We are entering data into the tables using forms which in turn are linked to items on a switchboard. I would like multiple users in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.