Creating Forms

Nov 1, 2006

Hello,

I'm trying to create a form or some kind of database that does a comparison between a flat file i get and what the system has. Can someone guide me in the right direction on it? Any example would be great. Thank you.

View Replies


ADVERTISEMENT

Forms :: Creating New Rows For Data Entry In Access Forms

Dec 26, 2014

I am creating a simple data entry form wherein the user will enter the product id and on change the product description and retail price must be displayed.

When the order quantity is entered, the total cost need to be calculated. I am able to do this using DLookUp and simple multiplication.

However, after doing the above, I need another row to appear so that I can accomplish the same for another product.

View 2 Replies View Related

Forms :: Creating List Box Of Available Forms In Database

Sep 18, 2013

I want to create a list box that contains a list of all the available forms in my database.

View 8 Replies View Related

Creating Forms On-the-fly

Feb 28, 2005

Hi,

My Access 2002 application has a lot of tables. Most of them are quite simple and I want a form for each one of them.
I wonder if it is possible to create the table's form on-the-fly using some VBA.
After creating such a form the user should be able to delete, edit and add records from the corresponding table.
I know this is possible in Delphi, but is it also possible in Access (2002) ?
If so, which commands should be used?

Thanks in advance!

View 2 Replies View Related

Creating Help Forms

Aug 27, 2006

I have a database and i want to create help files. Sort of like the kind that are used on-line that guide you through the use of a form. (My database sits on the server though it is not on-line). Does anyone know - or has used - a good screen capture program or the like?

View 3 Replies View Related

Creating Tables Thru Forms

Feb 23, 2005

Hi,

If i have a new entry from the user, and i want access to create a table on its own, with the table name defined by the user and the elements of the tables already pre-defined by a sample table that i already do out... Is there any way of doing it? Thanks for any helpful souls around...

View 2 Replies View Related

Creating Connections Between Forms?

Mar 29, 2013

I have a database that tracks my client information. The forms also include the agent servicing the client and the referral source from where the client came from. I also have tables and forms for each referral source and agent. Currently, if a client is referred by a referral source I go to the referral source table and make a note of it in a text box. Instead, could I tie the referral source and client table together? If, on the client form, I select that a client "Tom" came from my referral source "john" could it tie the client to the referral and note it on the referral form? My referral box on the client form sources the table of my referrals.

View 6 Replies View Related

Forms :: Textboxes On Top Of Last One Instead Of Creating A New Line

May 16, 2014

I have a continuous form and having trouble with the layout. When i fill in the record and then tab to the new record it displays the textboxes on top of the last one instead creating a new line bellow?

View 2 Replies View Related

Forms :: Creating Different Filters For Scrolling?

Apr 3, 2015

The last two weeks I taught myself Access (and hurt quite a few braincells in the process) Yet I am getting close to what I want to achieve, but now I am stuck how to proceed with the following:

I want to have 'forms' view as my main interface for my records. This is working very nicely, and I like how I can scroll fast through all records with my mouse-wheel. I also need to be able to filter records that will be displayed and scrolled through this way, and I created a filter which I can now toggle on or off easily for this purpose.

But now my challenge is, I want to be able to quickly select different filters, so for example, show only forms with a certain date field content. Or filter only forms which have a certain check-box checked. Etc. etc. And later on probably a bit more advanced, like: display forms that both contain 'this' and 'that'.

But I can't find a way to create several different and selectable filters? So this should probably be achieved in quite a different manner?

View 13 Replies View Related

Forms :: Creating Hot-keys On A Form

Sep 5, 2013

I have a tab control on a form, and I want to use "Hotkeys' to get from one page to another (or more specifically, to toggle the visibility of the pages).

So, I set up the tab control with the pages I want hidden set with visible=No. Then I enable the Form.KeyPreview, so that the form will get a chance to look at all the key presses.

Lastly I have a Form.KeyDown handler, that looks like this:

Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
MsgBox "Key pressed (1): Shift value is " & Format(Shift)
' Detect Hot-keys for the pages in the MultiPage wizard, and make them Visible or not visible
' P/D/X/S/R/H/C
If Shift = acAltMask + acShiftMask Then

[Code] ....

This is early on in the design iteration - more will happen with the pages, but this is an easy way of reviewing various aspects of a project.

So what happens?

I put a breakpoint at the first If statement, and sure enough, it picks up the Ctrl key or the Alt key, whenever they are pressed. (I need to use the mouse to clear the msgbox, naturally!) When I press both of them (Ctrl/Alt) I get the required value of 6, but I never seem to get to the second msgbox. In addition, if I comment out the first message box, I also never seem to get to the second msgbox (ie the point where the combination has been detected.

KeyDown obviously has to fire for each component of a HotKey combination, and the Shift parameter has been shown to be cumulative. The only thing I can think of is that somehow I need to turn off keypress processing somewhere else (Used to be possible to use Cancel to do this, I seem to recall).

View 3 Replies View Related

Forms :: Creating A Specific Relationship

Nov 18, 2014

I have started a new project where I have tables of people, organization, and roles, as well as one that is supposed to contain the relationships among them. In all four tables there is an AutoNumber ID field as the primary key. The fourth table, the relationship table, has as foreign keys, the primary keys from the first three.

I have created a form with a combo box for each of the three main tables. The intent is for the user to select a person, an organization, and a role, and then click on a button control that will create the relationship in the relationship table. What I am trying to do in the code is, using an AfterUpdate event procedure for each of the combo boxes, open the appropriate table as a recordset, find the selected record, and set a form-local variable to the value of the ID field for that record. So far, I can't get past the first combo box. Here is the code I have written, including both the form variable declarations and the AfterUpdate code:

Option Compare Database
Dim personID As Integer
Dim orgID As Integer
Dim roleID As Integer
Dim rsPerson As Recordset
Dim rsOrg As Recordset
Dim rsRole As Recordset
Dim rsRel As Recordset

[code]...

The error message I get is Compile error: Object required, with the personID reference in the last statement highlighted. (qryPerson is a query based on tblPeople that combines first and last names into LNFN.)

View 1 Replies View Related

Forms :: Stop TAB Creating New Record?

Sep 16, 2014

But I use one for creating new records in a table.

And one to View/Edit exiting records.

When I open an existing records, and tab through the fields. Once I pass the last field it creates a new record.

View 2 Replies View Related

Forms :: No Info When Creating Form

Jan 24, 2014

I'm quite new to using Access 2007 and I'm trying to create a form from different tables which have relationships. I've used the form wizard and added all the fields I need from the different tables, however, when I click form view it only shows the title and nothing else. When I'm in design view everything is showing..

View 1 Replies View Related

Forms :: Creating Mixes On A Form

Sep 16, 2013

I have a form that displays the quantity of plants that we are growing by genus, (marigolds, impatiens, petunias). each genus has many different varieties that can be used to make up the mix. I need to have some type of worksheet where we can put in the total qty and calculate the quantity of each variety by putting in percentages for each variety, much the same as you could do with a spreadsheet. The results of that worksheet then needs to be saved to a table for future use. Being fairly new to Access I'm not really sure what format to use. Is there a way to display the results of a query in datasheet view minipulate the numbers and update to my table?

View 1 Replies View Related

Forms :: Creating Hyperlinks At Runtime

Apr 5, 2013

I am creating an app that allows the user to locate a 'job' and all the files associated to to it.

Once the user identifies the job, a form is populated with hyperlinks (labels) that point to each file in a single directory which contains all the assocaited files (pdf's and word docs).

The label are being created successfully, but I can't seem to get the label to accept the hyperlink feature.

Here is my code to date. Why are the labels not accepting the hyperlink data?

-----------------------------------------------------------

Const strForm = "Documents"
Dim frm As Form
Dim ctl As Control
DoCmd.OpenForm FormName:=strForm, View:=acDesign

[Code].....

View 2 Replies View Related

Forms :: Creating Instance Of A Recipe?

Apr 15, 2014

I'm making a database that keeps track of particular lots of ingredients going into certain recipes.

The relevant tables are
tblSupplements (SupplementID, SupplementName)
tblSupplementLots (LotID, SupplementID, ArrivalDate)
tblRecipes (RecipeID, RecipeName)
tblRecipeItems(RecipeID, SupplementID, Quantity)
tblSupplementRecipeBatches (BatchID, RecipeID, MixingDate)
tblSupplementRecipeBatchItems(BatchID,LotID)

I have the top 4 tables filled out via forms and it all works swimmingly.
I'm having a hard time coming up with a scheme for filling out the bottom two.

I would like to have a form which will display the BatchID (automatically generated), allows the user to enter the MixingDate, gives a combobox bound to RecipeID which is filled from a pulldown menu based on RecipeID and RecipeName from tblRecipes.

All these I can do, but the next step is befuddling me: based on the RecipeID, I need to make a list consisting of the varying number of supplements which comprise the given recipe and allow the user to enter the LotID for each one (preferably from a pulldown menu).

I've tried a bunch of things (subforms linked on RecipeID, listboxes, VBA update queries attached to buttons). I just can't seem to understand how to have a variable number of subrecords appear and attach a new field (LotID) to each. Perhaps my table design is awkward?

View 2 Replies View Related

Creating Filters In Forms Using Parameters

Jan 29, 2013

I am creating a front end of a database that is the forms only version with ext. .accdr...I would like to create a way that each user of the front end can apply a filter using parameters, allowing the user to enter in their name when opening the front end.Form and Table name is "Non-Student Tasks Completed Daily" and "Student Connection Task" Field name is "SSC"..How can I get a box to appear when someone opens the database that askes them to enter their name to apply the filter?

View 4 Replies View Related

Creating A Report From Multiple Tables/forms

Jun 2, 2006

Could you please help me out.

I am trying to develop a DB that is multi user. i ahve not split the data from the forms into separate db's as the users are in different locations and our network can be very slow.

part of the requirerment is to produce a drawing approval form, my current sticking point is that the method i am currently using to create the forms only allows one person at a time to use the process.

currently i have a command button that runs a query and then creates a table from the results. the table is then used as the data source for a mail merged form in word.

what i ultimatly need is a process which allows multiple users to generate these forms at the same time and have the ability to save the form (with no code behind it) as a word document (either RTF etc)

i am thinking that if i create a query on the fly in VB and then use the results to use in a report this would allow me to do the above.....

So my questions are:

1) is my assumption correct
2) If so, how do i do it as i have never done it before
3) If the above is not the best solution/ does not work... what will/is

View 4 Replies View Related

Linking Forms (and Automatically Creating New Record)

Apr 26, 2006

Please forgive me if I don't explain everything properly, I am relatively new to Access.

I have two tables with the following information:

VOLUNTEER
PK: volunteer_ID (autonumber)
name, address, school, etc

SCHOLARSHIP
PK: scholarship_ID (autonumber)
description (text)
amount (currency)
FK: volunteer_ID (number)

One scholarship can be awarded to only one volunteer.
I have a form to enter all the volunteer information. At the bottom of the form, I would like to place a button to open a new form to award a scholarship to this volunteer. I believe I need to link the forms in the following manner:

VOLUNTEER.volunteer_ID = SCHOLARSHIP.volunteer_ID

The problem is this: The forms are not linked properly because in order to assign a volunteer to a scholarship, the scholarship must already exist. So when I click the button to open the scholarship form, the scholarship form is empty and the volunteer_ID defaults to "0".

I think this could be fixed by somehow making my button create a new scholarship_ID in the scholarship form and THEN linking the volunteer_ID fields.

Does this seem like a solution? If so, how would I implement it? I have a screenshot to help. Thank you in advance for your help.

View 6 Replies View Related

Forms :: Creating Tab To Get Records From Two Excel Sheets

Nov 30, 2014

I plan to create a tab in access, which has text box and two buttons on it.

when I click the 1st button "Get Me Next" it should get the record from an excel sheet. and when i click the 2nd button "Case Closed". this records should get save in an other excel file.

View 1 Replies View Related

Forms :: Creating A Favourite / Bookmark Flag?

Nov 5, 2013

I have a knowledge base database which lets the user search for articles containing answers to common problems and issues. Some of the users want to be able to bookmark certain useful articles. The DB is a front end/back end design so I am thinking if I have one table stored in the front end which can be used to store that particular user's favourites then that would be great. However, I a little stuck on how to implement this. Ideally, I'd like a simple checkbox option next to each article, which when ticked, would store that article ID in that user's local front end.

View 3 Replies View Related

Forms :: Creating Mandatory Fields In A Database?

Jun 18, 2013

I have a table, which when i first set it up i decided that a couple of the fields had to be mandatory.

So, i set the "Required" property of the field to "Yes" (at table level - which is probably poor practice?)

I now have a form that allows a user at the front end to enter items in the table.

If they complete all the fields on the form i have used macro builder to save the record, present a nice message and move to a New Record. (3 elements in all)

However, if they try to save the record having not completed the "Required" fields then they get an error message instructing them the field is required, but then the macro crashes.

So what's the best way to approach Mandatory fields? Is it best to leave the "Required" property at table level set to No and then have something at form level which checks they have entered a value in the field? (i'm guessing this is probably the correct approach)

I tried removing the table level condition from the [Field] and adding this as the first argument of the macro builder which saves my record:

Code:

IF [Field] = "" Then
MessageBox "You Must Complete Mandatory Fields"
Stop Macro
End If

But my macro still completes and saves the record...

View 6 Replies View Related

Forms :: Creating Form To Update Table

Apr 23, 2015

I've got two tables - one that works like a cypher and one with all my records.

I have 2 queries. One that is a simple query that extracts data that is not so user-friendly and puts it into a user-friendly format. The Other query is for any records that the first query excludes because the new combination of data (lets just call it a code) is not in the cypher table, but needs to be added.

How do a create a form that will show the records in the 'excluded records' query and allow me to select from a drop-down list a specific set of categories to update the cypher table ?

Example :

Record Table: Cypher Table:

Ford Focus = Sedan
Ford F-150 = Truck
Ford Freestyle = Wagon
Ford Escape = SUV

Now a new model comes in, a Ford Edge which is an SUV but is not in my cypher table.

I have the query to pull in the excluded Ford Edge, but I want a form to show "Ford Edge" in the first column and be able to select from a drop-down list "SUV", and either automatically update my cypher table or require me to press a button to update the table (whichever is easier).

View 6 Replies View Related

Forms :: Creating Form With Two Option Buttons?

Apr 10, 2015

I am doing a worksheet for college and have been asked to create option groups on a form, but I cannot work out how to do this.

The screenshot shows what I have to do but I cannot get the option group wizard to open.

When creating my form based on the design in the screenshot I dragged the Rate field onto the design view sheet but it has only one option button connected to it, I need to add another one that will be connected to the same field and am not sure how to do it. I did try adding another option button from the control bar but I am not sure if is connected to the same field with the correct yes/no properties.

View 5 Replies View Related

Forms :: Creating A Clear / Refresh Button

Dec 29, 2014

Using Access 2013.I have a Search Form with a Run Query button. I would like to add a button that clears the criteria entered into the search text boxes. Right now to change the criteria I have to manually delete everything entered, closed the current query it had open then go from there. I have tried using the command button wizard, form operations, then refresh form data. When I click that button a window pops up "The command or action 'refresh' isnt available right now".Is this not the correct way to set up what I need? What other options should I look into for setting this up?

View 1 Replies View Related

Forms :: Creating Incremental Numbering On Page?

Jun 30, 2015

I have 2 page tabs on a form, and I want an incremental number assigned to each new record on that page.

Been doing some research and this is what I came up with:

Private Sub Form_Current()
If Me!tabSupplier.NewRecord = True Then
Me!tabSupplier!DocumentNo = Nz(DMax("DocumentNo", "Product"), 1000) + 1
End If
End Sub

The page nane is: Supplier Page Index is:0
The control to display the incremental number isocumentNo (tblProducts)

it does not work and I am getting no error message.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved