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

Update a field in a form

Hey everyone, this is driving me crazy. I have a table which lists all the files users have on the server. This table is called risklist. It lists the pathname and size. The goal is to make a form that users can open up, filter for their user id and choose one of four options for each individual record.

I've built a query that runs based on a command button in the form that filters for the userid in a combo box on that same form(qryChooseUser) The combo box rowsource is all the distinct users (in a table). The filtered risklist table is then displayed in a subform on the main form and I want users to go to the last column and update the last field to one of these four options which are also stored in a table. And when they exit I want to save changes to the underlying table. I don't want them to be able to edit anything else.

currently i put a field in the risklist table called action which is a lookup field to the table with the four actions.I don't want there to be a lookup field in the table, i just want to update this field with the choice the user makes.

What's the most efficient way to do this?
Oct 29 '07 #1
6 2126
NeoPa
32,556 Expert Mod 16PB
You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
I'm moving this to the main Access questions forum.

ADMIN.
Oct 29 '07 #2
You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
I'm moving this to the main Access questions forum.

ADMIN.

sorry, and thank you
Oct 29 '07 #3
NeoPa
32,556 Expert Mod 16PB
The ComboBox Wizard can take you through that.
Give it the details of what the options are and which field it should be bound to and it should set it up for you automatically. Have a play.
Oct 29 '07 #4
NeoPa
32,556 Expert Mod 16PB
sorry, and thank you
No problem.
That's some quick-fire posting there :)
Oct 29 '07 #5
this wizard isn't helping. It just seems weird cause the field called action is a lookup table AND there's a combo box on the subform called action. Anyway, quick questions.

I want the default choice to be delete for each file and how do you allow a user to choose the same action on multiple files without doing it one by one?
Oct 29 '07 #6
NeoPa
32,556 Expert Mod 16PB
this wizard isn't helping.
...
One thing at a time. Why is it not helping? What did you try?
I may be able to answer some of the other questions later with some clearer information from you.
Oct 29 '07 #7

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

Similar topics

3
by: BlackFireNova | last post by:
This concerns an Access 2002 (XP) database. There are two fields, "Notes" (Memo Field) and "Notes Update" on a form (among others) which I am concerned with here. Problem: I need to be able...
4
by: N. Graves | last post by:
Hello... thank you for your time. I have a form that has a List box of equipotent records and a sub form that will show the data of the equipment select from the list box. Is it possible to...
3
by: David | last post by:
Hi I use a calendar to update a field and the after update event no longer works, if i manually update it there is not a problem. How can I get this event to trigger Thanks in advance Dave
7
by: gthompson | last post by:
Is this possible: Read fields(rows/columns) from one sql database table (TableA). Then edit/update the same 'field' in TableA; and in TableB edit/update a different field - all at the same time?...
1
by: Mark Reed | last post by:
Hi All, I'm having a problem with the following code. I've read quite a lot of old posts regarding the issue but none seem to affer a solution. The scenario is. I have a bound form which...
5
by: Stephen Plotnick | last post by:
I'm very new to VB.NET 2003 Here is what I have accomplished: MainSelectForm - Selects an item In a public class I pass a DataViewRow to ItemInformation1 Form ItemInformation2 Form
2
by: Brett | last post by:
My database has 2 tables: Table1 & Table2. If a field is not null on a record in table2, then the not null fields in table1 that correspond to the records in table1 needs to be updated to match the...
16
by: Ian Davies | last post by:
Hello Needing help with a suitable solution. I have extracted records into a table under three columns 'category', 'comment' and share (the category column also holds the index no of the record...
14
by: fjm1967 | last post by:
Hi all, I am nearing the end of programming my select forms and I will be soon need to create my insert and update forms. I have a question as to how this is best handled. I want to use one...
1
by: sbecke01 | last post by:
Hello, I'm running into a problem where I have a form that people can fill out and submit. That works fine. It's submitting to an Access Db on the back end. It's a nomination form for an award...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...

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.