473,396 Members | 1,767 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,396 software developers and data experts.

How to create a form to use for data entry and lookups?

167 100+
I am using MS access 2007. I want to create a form that when opened will contain all blank columns (to do this I believe I do not include a record source on the forms property). I want the user to be able to enter a number in a column called 'asset', hit enter and the form populate with the data for this asset. Also allow them to type over any data column and change the values.

I also want to be able to clear the form (if any data showing) and allow user to enter a new record.

Is there any way to do this without having to create 'add new rec' or 'search' buttons?
Jan 11 '11 #1
1 2320
Stewart Ross
2,545 Expert Mod 2GB
Hi. Sorry for the delay in replying. Whilst it is technically feasible to do some of what you suggest it is a great deal of work, in effect recreating what Access already does for you but entirely under your control.

It is much, much simpler to use a bound form for the display, entry and editing of your records. On that form you can place an unbound combo box as a look-up for entry of the asset number, using code in its After Update event to filter the appropriate tables within the recordsource of the bound form to retrieve the correct record.

You would still need some form of Add New button on your form, and indeed you should think carefully before introducing methods of navigation which users would not be familiar with. Methods involving shortcut keypresses or unfamiliar actions used in non-intuitive ways are unlikely to be met with anything other than confusion by all but advanced users of the DB. A button labelled "New Record" is at least familiar and self explanatory!

-Stewart
Feb 6 '11 #2

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

Similar topics

2
by: Michael Hertz | last post by:
Assume there is a XSD schema which describes the maximum possible number of fields which can occur in a XML document. How do I create such a form either as a HTML form or a text file from the XSD...
7
by: Filips Benoit | last post by:
Hi, TBL_CONTACT_PERSON CNTP_ID (auto) CNTP_LAST_NAME (required = yes) CNTP_FUNCTION (required = no) CNTP_..... (all required = no) FRM_CONTACT_PERSON_ADD_NEW Property DATA ENTRY = YES
3
by: John | last post by:
Hi I am using the following code to save the changes to a form's data in the form's Before Update event; For Each ctl In Me.Controls If ctl.ControlType = acTextBox Then If ctl.OldValue <>...
12
by: pw | last post by:
I'm an experienced Access/VBA programmer, trying to become competent using VB.net. Using base vb.net it seems to me to be an AWFUL amount of work to create data-entry forms similar to what one...
6
by: ye2127 | last post by:
Can someone please give me advice on how to do the following in a form? In my form I have a have the user enter a 1 or a 2 in a box for the first record. I would like to know how I can make...
3
by: bosmatthews | last post by:
I have a main form with a subform and a second subform nested to the first subform. The data entry property for all three forms (main, subform and sub-subform) is set to "yes" because I am intending...
4
by: GarthRodgers | last post by:
Hey I'm designing a booking system and on my booking form I have an ActiveX Calendar control. The user selects the date on the calendar, which is then transferred into a text box, whose control...
4
by: ilikebirds | last post by:
This may be a dream. However I was wondering if the following scenario were possible within an Access 2003 Form. If I have to fields and , both of which are have limited field sizes of 4, Would...
7
by: rameshch45 | last post by:
I am developing a JSP/Struts application and there are two features where the user need to enter information about the form in his HTML page (which is not accessible to my application). He need to...
1
by: admin.offshoredataentry | last post by:
Data Entry Outsourcing provides time bound, cost effective and qualitative Data Entry also provides numeric data entry, textual data entry, image data entry, data format, data conversion and also...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.