Hi:
The data base (access 2003) I am creating will have 150 employee files in it. I want to open a form to edit employee information. ie, if employee john smith gets a pay raise i want to edit his form to change the data. I have been able to open the table using a macro but not the form. I am a total novice with access but I have been able to use the wizards to create the file. Any help you can offer will be greatly appreciated.
9 1681 MMcCarthy 14,534
Recognized Expert Moderator MVP
Hi:
The data base (access 2003) I am creating will have 150 employee files in it. I want to open a form to edit employee information. ie, if employee john smith gets a pay raise i want to edit his form to change the data. I have been able to open the table using a macro but not the form. I am a total novice with access but I have been able to use the wizards to create the file. Any help you can offer will be greatly appreciated.
Do you want the form to open on database startup or from another form?
Mary
How much field your table have ... If your using less the 12 field the can us the sub-form to get the employee data and do the modification..
If so reply we will give the solution...
or go to this link to get some example to get the result http://www.databasedev.co.uk/forms.html NeoPa 32,568
Recognized Expert Moderator MVP
Firstl, I would store each employee data in a single record each within a single table (files don't really come into it in a database).
Have you looked at the form wizard and creating a form based on that table?
You may find this will give you most of what you need.
IF ur using only one table to store all the data's of the employee
then in an from put an combo box which lise on employees name the designation which ever you feel mandatory . Then create a query with the field which you want to edit or you can use all the fields and in the query give the expression [Forms]![your from]![your combo box] - Your combo box must be the last combo box whichi your using . if your using Employee Name & Designation then you have to use Designation in the query.. did u understand.
Then in the create an sub-from from the Query ..the save the table which ur going to modified... if ur not able to understand reply to us..
anuk agni
hi,
Take a look the screen shot which iam using for editing inventory ..this form is using in intranet also.. http://anuk.about.tc/shot.jpg
anukagni
Thanks to all. I got it working using a combo box in the form. I doubt I will ever be an expert in MS Access but this forum is great and I have already learned a ton.
Thanks again, Don
MMcCarthy 14,534
Recognized Expert Moderator MVP
Thanks to all. I got it working using a combo box in the form. I doubt I will ever be an expert in MS Access but this forum is great and I have already learned a ton.
Thanks again, Don
You're welcome Don.
Glad you got it working.
Mary
well you have to ask lots of question , which will keep our mind refresh..
Don't think any question is worse every question make some one sharper
Keep your tempo hoist
have a nice day
anukagni
NeoPa 32,568
Recognized Expert Moderator MVP
Never assume you won't master a subject.
Everything looks more complicated when you first start with it.
Come back and remind me of this after you've posted your first hundred :).
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: N. Graves |
last post by:
Hello,
I'm having trouble with a feature that I would like to add to my
database.
I would like to have the ability to double click a record on a Sub
form and that action would open that specific record in different
form. I have almost been successful using a Macro to do this but I
have not been failure comes with not display the specific record that
I have double clicked on.
|
by: Chris |
last post by:
Hello all. I have a database that I use to send email updates to
people. Everything is working fine, but one suggestion I keep getting
is to add a link to the automatic emails that will open up the
database, then open to the correct form and record. I can write a
simple macro to open a form and a specific record, but what I can't
figure out is how can I get that speciic record number in a command
line link?
Here's an example...
|
by: jerry.ranch |
last post by:
I'm starting to learn about the tab control.
How would I write an on open event procedure in VBA, that upon opening
of the form, a specific tab opens (say tab 1)?
Thanks
Jerry
|
by: nkoske |
last post by:
I have a form with a subform in datasheet view and I have a event on
one of the fields in the subform, so that the user can double click it
and go to expanded information based on that field.
I'm using this code:
Private Sub SpecimenNum_DblClick(Cancel As Integer)
DoCmd.OpenForm "RDDevice", , , " = '" & Me! &
"'"
End Sub
|
by: piscogirl |
last post by:
Hi all,
Here's my case:
I have a form: Event Form
and a subform: AttendanceSubForm
The user selects a name (from a Person Table) on the subform to
register for the event. If the name is not there, they are to click a
| |
by: =?Utf-8?B?QWxsYW4gTWljaGFlbHM=?= |
last post by:
Hello,
I'm not sure what group to post this in. I couldn't find
a localization discussion group.
Briefly:
I open 'myFile.resx' in WinRes.
I modify the resource and save to Spanish in Visual Studio File Mode.
The result is 'myFile.es.resx'.
|
by: jaccess |
last post by:
I was wondering if there is a simple way to open a specific folder from an access form button.
I have a form that a user can enter a date range and either view or print reports based on the date range. These reports are based on linked excel files.
What I am trying to do provide a simple way (press a button) for my users to be able to open their excel files from the form instead of having to open excel, locate the folder then locate the...
|
by: getro |
last post by:
Hi Everyone,
I need to open an Access 2003 form to a specific record from a custom Outlook 2003 Appointment form. The form has a command button that would pass a record id to access and open the appropriate record. I have searched through many Outlook and Access books and the web and cannot seem to find any info on this. Your help would be greatly appreciated.
Serge
|
by: cvillav |
last post by:
Hello, I am new to Access and this forums,
I have two tables and two forms to display the data.
Tables
Tbuilding
Tcriteria
Forms
fmbuilding
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |