I Am Stuck At A Step

Jul 14, 2006

I have a form that i use to make labels.

I want the user to be able to specify in the form the numbers of labels to print.

After reading access for dummies and other manuals, google and calling my local IT guys, I've exhausted all examples I was given.

CAN/ WILL ANYONE HELP ME?

View Replies


ADVERTISEMENT

Form Step By Step

Aug 25, 2005

hi.

in my db i have used in one scenario two separate forms to fill in one record in a respective table.

the user fills out the details in the first form for record 1, presses NEXT, and fills out the remaining details in the second form for record 1.

every time form 1 will be opened, it will need to be at the end of the records (to add a new one of course) so i have used this code in my form 1 open event DoCmd.GoToRecord , , acNewRec

this is fine. however, i have a dilema. when i place that code in form2 also, it skips one further place to the next record(record 2).. and if i dont put any code in form 2, it will always display the record that has just been added previously..

so basically what i need is something to tell form 2 to carry on adding details into the same record that form1 was just on..

how can this be done?

View 4 Replies View Related

Next Step In The Autofill

Jul 5, 2005

OK, the syntax below works awesomely in a form. The SSN number is pulled from the main table and dropped into a bunch of text boxes. The only text box that is bound is called [sub#] and is stored in the supervisors table, 6 sub's per supervisor and the supervisors SSN is a child of the main table (tried to keep redundant data to a minimum). Now I need to know if there is any way to perform a similar trick in either a query or report using the [sub#](SSN equal to that of a main table entry) field to call up the record from the main table or from a query to use in a report?

Example of working syntax from form...
Private Sub Combo48_AfterUpdate()
Rank1 = Combo48.Column(4)
Sub1 = Combo48.Column(0)
Last1 = Combo48.Column(1)
Rank1 = Combo48.Column(4)
First1 = Combo48.Column(2)
MI1 = Combo48.Column(3)
EPR1 = Combo48.Column(5)
Rating1 = Combo48.Column(6)
Next1 = Combo48.Column(7)
End Sub

View 3 Replies View Related

Step Into Event Procedure

Apr 17, 2006

Can you step into an Event Procedure line by line in Access? I toggled the Breakpoint at the End Sub of the Event Procedure, clicked in the middle of the sub, and pressed F8. Nothing! I do this all the time in Excel.

View 2 Replies View Related

Step Ladder Query Help

Jan 22, 2006

Hi All,

I have been struggling with what should be a very simple task, at least I would think so. Here is what I have. My customer provides me a rolling 8 week forecast. It looks like this.

Forecast Date|Part|Forecast Week|Quantity
1/1/2006|Part A|Week 1|100
1/1/2006|Part A|Week 2|200
1/1/2006|Part A|Week 3|150
1/1/2006|Part A|Week 4|300
1/1/2006|Part A|Week 5|50
1/1/2006|Part A|Week 6|120
1/1/2006|Part A|Week 7|100
1/1/2006|Part A|Week 8|400
1/8/2006|Part A|Week 2|300
1/8/2006|Part A|Week 3|150
1/8/2006|Part A|Week 4|700
1/8/2006|Part A|Week 5|550
1/8/2006|Part A|Week 6|420
1/8/2006|Part A|Week 7|200
1/8/2006|Part A|Week 8|800
1/8/2006|Part A|Week 9|100

So you can see that the first week is always the closest to the current date, and every week a new forecast comes out. The problem is, there are over 900 rows for each 8 week rolling forecast (lots of parts and ship to locations).

I think the best way to handle this is to use Access Database and query the data. But I can't seem to get the query right.

I would like to be able to compare the closest week's forecast with the actual quantity bought. Which means I need to line up the calendar week of the forecast given date with the calendar week of the forecast week. I have attached an example.

So you know, I have been using pivot tables for a year now, but the excel file is 50mb and I am out of rows...so access would be nice. Plus, once I can get this figured out, I will be able to link it to my consumption table and generate on the fly reports for management.

Thanks for your help!!!

Matt

View 1 Replies View Related

Sub Works Only In Step Mode

May 12, 2005

It's been a while since I've been on the boards. Good to see lots of the same folks are still here. :D

I've got an interesting problem. I have a sub that calls another sub. Pretty simple there. The problem is that when sub A calls sub B, sub B does not appear to run. This is all sub B does:If Not IsNull(Me.txtNumber) Then
Me.txtNumber = Me.txtNumber + 1
End If
The weird thing is, sub B runs just fine if I run the sub B in step mode. If I set a break point and use F8 to step through the code line-by-line, it runs just fine. If I take out the breakpoint, the code no longer works.

Anybody have any ideas? I'm running Access XP Sp2 on Windows XP SP1. Thanks.

View 3 Replies View Related

How Do I Query A Form To Do The Next Step

Jul 26, 2006

I have a switchboard and when I click a certain button ...
it opens a prompt popup.

In the popup you enter the required "item" and you hit enter or "ok"

It then does a search for the specified "item" and brings up
that information.
At that time I would like to have a calculator
pop up for the user to use.
(newb) How in laymans terms do I get this to work ?

In my "forms" Design View I have:
Switchboard and Calculator

In my "Queries" I have query 1

In the tables section I have :
Sheet one (this is were the query is getting its search info from.
Switchboard items

Is there something I can add to my query to get it to open the calculator form ? Or is there some other way without using additional buttons to do this.

View 2 Replies View Related

Step Back Through Previous Find Results

Jul 23, 2006

Hi
I have a set of membership records which have data input via a simple form. When looking for a particular record I use the standard Find menu item on the whole record set from the Form view, and move through the results using the Find Next button. Is there a way to move back through the records when I have got to the end of the results. eg. there may be numerous members with a surname Smith and I can move the the Smith records by using Find and Find Next but if I have moved past the record that I want is there a way of stepping back through the records?
Apologies if this is a really obvious question

View 4 Replies View Related

I Have The Correct Coding,still An Error In Connection.what Is The Next Step Fr There

Sep 14, 2005

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(" coordinatordbTC.mdb")& ";PASSWORD=123456")
================================================== ===================================


I have been trying solve this problem for a few days.
however, the best i can come into is the above code, however , the following error still approached me.

================================================== ===================================
Microsoft JET Database Engine error '80040e4d'

Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

================================================== ====================================

Kindly , someone can help me in this coding . Thank you very much

View 1 Replies View Related

Compiling Multi Step Query Into Single Query

Dec 8, 2011

I'm new to access, and have discovered its easy to write large queries by breaking them up into smaller queries and having each subsequent query reference the one before it. My problem now is that I want to combine these queries into a single query, so as to make it easier for anyone who comes after me to edit/understand what was done. I can't seem to find a good explanation of how to do this, but it seems like there should be a way.

View 1 Replies View Related

Really Stuck

Aug 6, 2006

i have been trying to for the last several weeks create a database which holds information about companys e.g addresses etc on it. It also has a subform on it which runs a query and shows me the courses they run with a button beside it. This subform propertys is set to continues and so there is a button that appears beside each course. How can i get it so when i click on the botton beside that particualr course it will load up another form and display some more information holding the times and dates of this course.

View 11 Replies View Related

Stuck In This

Jun 15, 2007

I've been designing a db and entering data in the process. Now I'm almost done with this project and other people are interested in this db. Is there a way to empty all table records? Is there a command to have a blank db?
My db has almost 5,000 records :S and each record has another table with 5 linked records
so there are like 25,000 records to delete. I know there is a way and its to create another table with the same fields and importing the rest of the objects... but I want to make there is no other way.

Another Q is how to add security to my db how to "attach" the db to a hardware of a computer so if the db is installed on another computer it asks for a serial number...I have asked this before but no one had answer me this.
Thanks in advanced

View 7 Replies View Related

Stuck - Help Please

Jan 8, 2008

Hi

I want to use MS access to build a diary / appointment system, and a table for storing contact details.

I am struggling with the appointment system. I was going to try a table with the date and diffefent app times as fields. then put it into a form so that it looked like a diary page and i could just add names to the times., this would have ollowed be to scroll backwards and forwards through the dates with ease (as each day would be a new record)

The problem i have found is that this makes running quires on individuals difficult,i would like to see for example how many appointments a person has missed, the dates of there next appointments if they have pre booked ect.

any suggestions as how i should go about this?

View 6 Replies View Related

I'm Stuck And Need HELP!!

Apr 28, 2006

I'm trying to update a table based on a field in an unbound form

Here’s the code:
Private Sub Command38_Click()
Dim strPartNo As String
strPartNo = Me!fldPartNumber
Set dbs = CurrentDb()
Set rstBalUD = dbs.OpenRecordset("SELECT * from PartsInventory WHERE CO_PART_NO = [fldPartNumber]", 1)
rsBalud!SERVBAL = Me!fldNewServBal
rstBalUD.UPDATE

End Sub



Here’s the error:
Run-time error ‘3011’
The Mircosoft jet database engine could not find the object ‘SELECT *
from Partsinventory WHERE CO_PART_NO = [fldPartNumber]’.
Make sure the object exists and that you spell its name and path name
correctly.
Reply With Quote

View 2 Replies View Related

Very Stuck

Oct 7, 2007

I have a table that has the follwoing fields:

-student name
-pesent percentage
-compare value 1 (a number)
-compare value 2(a number)

now i want a query to display the following fields as an output

-Student name
-Compare value
-present percentage 1
-present percentage 2

so where "compare values" 1 and 2 are equal it will display 1 record in the query that will show both the values. in respective fields.

View 4 Replies View Related

New And Stuck

Mar 4, 2005

I have a form which includes two fields (amonst others) Town and STDCodes.
What I want to do is enter the Town from a drop down list and the STDCode is automaticly inserted in the STDCode field, the towns are all local about 20 in total. How can I do this please in simple easy steps.

Malcolm

View 2 Replies View Related

I Got Stuck

Mar 12, 2005

Hi all.

I'm creating a database for a work experience database for a school where each pupil has to be assigned to a company. The problem is that on the form "Final form" where it says Work ID I want it so that each pupil is assigned to that company and then I can create a reports.

For example I choose work ID 2 for one of the pupils and when I create a report it'll have the information of the student profiles with the companies they're supposed to go to.

Can anyone give me a hint or any guidance on how I can do that?

Thanks.

I haven't used Access for that long so I'm useless with all the technical terms, sorry.

View 1 Replies View Related

Pls Help Im Stuck

May 11, 2005

Right im really stuck on this, how do you get the date visit to update correctly, it requeries but some times shows data it shouldnt. it should corispond with the subform.

next thing is the text box that says 'name needs to display the notes from that visit in , ( that thats in the sub form far right box.


any help on this would be much appreciated
in the dtabase its form "CD2"

View 10 Replies View Related

Stuck...please Help

Sep 20, 2004

Ok so I have been working on this problem for two days, and I am stuck.
It's been a little while since I've used Acess, so please pardon this question.

A database has been built compiling thousands of records of information for shipments. Here is the main problem.
Imagine if you will, that a truck is sent from teh warehouse to a customer, with the customer's order(s). So in the
database, is a record for each order. The order is comprised of the Bill of lading for the truck, the customer's name, and information about that specific set of palettes. So for example a truck may be sent to a customer, and there are 3 types of products on the truck, or only 1 type. For each record, we have the cost of shipping that individual product, as well as the amount paid for the entire bill of lading.

We've creaetd a query to pull out all the trucks that were shipped with just one product. We've also created a query to pull the 'duplicate' records. The problem lies in manipulating this "duplicate" query.

Each record in this query has multiple entries for bill of lading field, the customer's name, amt paid, and cost amt. We want to create a query from the "duplicate query", that will return just ONE listing of each bill of lading, as a well as a total cost of shipping. so for example if
bill 704555, had 3 shipments on it at a cost of $50, $17, and $33, we want a query that will compile these 3 listings into one listing (So now Bill of Lading appears once, with all the requisite information, and the total cost of $100 in a new field in this query, called totalCost). We'd calculate this by hand, but there are approximately 7000 recodrs in the query, and this will continue on an ongoing basis, so the query needs to perform teh summations.

thanks in advance for your help!
Matt

View 1 Replies View Related

Please Help! I'm Stuck!

Jan 10, 2008

Hello! I'm developing a database that is to be used for case management. Being completely self-taught it's been a bit of a struggle!!
I have a form where data is entered regarding the details of each case. This form has a button on it that opens another form for entering the details of the participants involved in each case. To make the database as user-friendly as possible I would like to add a field to my main form which counts the number of participants. The forms are linked by a case reference number & I made a query (that works) that counts each instance of a particular case number in the participants details form....then I got stuck. Is there a way of adding the results of a query to a form that is based on a table? Or else is there a way I can perform that calculation in the main form?
I would really appreciate it if you could make your replies as "Access for Dummies" as possible!

Thanks!

Oh it's Access 2007 if that helps at all.

View 5 Replies View Related

Somewhat Stuck In Bowling Db

Mar 1, 2006

I am trying to create a bowling league db in access 2003. I believe I have started with the right structure but I am having some trouble with recording the scores of the bowlers. Attached in a word doc is how I have set up the relationships. Any thoughts would be greatly appreciated.

D.J.

View 2 Replies View Related

Im Stuck With My Combo Box...please Help With Just One.

Dec 15, 2006

I am having difficulties with combo boxes for some reason and cant get it to work. I have spent this week trying to use examples found here and other places but still not successful.

Have looked at the examples on font stuff and have downloaded various examples here on these forums.

If anyone can help set this one up for me, then I can use it for a model for the rest, just not sure how to setup initially. Even if you get me closer to what I am now.

I thought I came close yesterday, but the combo boxes didnt change the records in the database after choosen.
-----------------------------------
I need the classification drop down box on the member details form to prompt the secondary box choices. Initally if someone chooses "Lost Opportunity" in the classification then the reasons why need to be available in the second box. When choosen they need to be saved in the database. I have tables setup for classification (tblClassification) and for reasons (tblLostopportunityreasons). If anyone at all can help set this up I would soooooo appreciate it.

----------------------------------
Then I can use this to help me do others that I need to do. I am looking for this one xmas present since I am stuck and my understanding of Access is rather new.

Thanks.

View 7 Replies View Related

Stuck In Access

Apr 18, 2007

This is my first time posting, so hopefully I get this right...
My question is this...I am currently working on a subform that pulls information from a main form through a main table in order to properly parce a set amount of time for technicians working on the same task. At the same time, I am also trying to figure out how to present this info in the subform without duplicating the first line.

I apologize for sounding so redundant. Please let me know if you need further clarifications.

Thanks
Joe

View 2 Replies View Related

Stuck In DCount Again

Jun 15, 2007

I've been back thru this DCount function, here in the forum and elsewhere. I have posted about this function before and even went back to my old post. Looks like I still need some help.

Here's the premise:
My database has a query that tracks Payments made to Students who are on the Federal Work-Study program. We have 4 categories of work: On-Campus; Off-Campus Community Service; Off-Campus Family Literacy; College Support Services.

Of all payments made to students in the year for Federal Work-Study, there are some payments in each category. On the Report, based on the query "FISAP Detail Query", programmed to show every disbursement(payment), I'd like a count of each type in the Report Footer .

I have a control on the report that I'd like to use to count the number of students paid for Community Service.

=DCount("[StudentID]","FISAP Detail Query","[Community Service Amount]>0")
and I've tried
=DCount("[StudentID]","FISAP Detail Query","[Community Service Amount]>'0'")

Count the number of students listed in the FISAP Detail Query who have a [Comunity Service Amount} greater than zero. Sum totals of disbursements for the year for each student are displayed in the Detail section of the report as a single record. So how many of these records have Commuity Service disbursements; that's what I'd like to know.

The formula returns #Error.

Anybody have any advice for fixing this? It must be some syntax or trying to use the wrong function to do the job.

Any help will be very much appreciated

Cheers!
Goh

View 8 Replies View Related

DAP- Stuck On Databinding

Jan 6, 2008

Hello everyone,

I didn't see a section for DAPs so I'll try posting this here.

I have a very odd problem which occurs with my DAP. I have a DAP located on a network drive where it can be accessed by people who use VPN to access the drive. Most users can access the DAP just fine and have no problem loading the page and entering/receiving data. For some users however, the page gets stuck with IE saying "databinding" and it never can finish loading. It's odd because there are two identical computers with two identical connections, but one simply cannot load the DAP. What's even more odd is that the problematic user CAN open the DAP by entering the mdb file, and running the DAP from inside of access.

Both users are running Windows XP service pack 2 with IE 6. I have tried eliminating all security settings, accepting all cookies, allowing all controls, removing all IE add-ons, but nothing seems to work. This project is very important and if anyone can offer some advice I would be infinitely grateful.

View 3 Replies View Related

RecordCount Please Help! Im Stuck

Oct 6, 2006

Thanks for looking at my post. What I have done is this, i have built a custom search form for my access database. What i need is a textbox that shows how many records will show up if the user clicks generate form.. I want this textbox to update every time the person changes his search criteria. For example

the person wants to search by address, by typing in

Gold into the address textbox the recordcount textbox would show the user if he were to press generate form he would get

1200 records

now if he changes the address to
GoldStone -- the recordcount textbox would then update to show only

14 records would be shown if he/she generated the form...
Here is my current code

***********
Set db = CurrentDb
Set qdf = db.QueryDefs("MainDB_Search")

For Each prm In qdf.Parameters
prm.Value = Eval(prm.Name)
Next prm

Set rs = qdf.OpenRecordset(dbOpenDynaset)
rsCount = rs.RecordCount

MsgBox (rsCount)
txtGenerateReport.Value = rsCount

************
Now the problem with this code is that it works the first time the user types in search criteria, however when he/she tries to change it from Gold to Goldstone -- nothing happens, it runs the code above and returns 1200 records instead of the correct 14...

Please help :)

Thanks

Jason

View 4 Replies View Related







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