Assign PO #'s In Batches??

Aug 1, 2007

Hi, all! I'm working on another project and need some advice.

I've got a form where users enter items that will be listed in a budget report. This budget report is submitted to the client for approval. Once approved, these items need to be entered into a PO (purchase order) form and report. There is a checkbox that says approved for PO on the budget form for each record.

What I'm looking for is a way to group the records (that have been approved for purchase) together by vendor, and assign them PO #'s. I know that the end result will be doing an append query that will throw all the records into the PO table, but I don't know how to get the grouping and everything to work.

Does this question make sense? If not, please let me know what info you need. I really need help with this. Any ideas? Thanks!

KellyJo

View Replies


ADVERTISEMENT

I Want To Print In Batches

Dec 31, 2004

I have a tblClient with about 700 records.
I want to be a able press a button and the first 50 records print and then have a second button that will print the next 50 records so on until all the records are done.

Now the problem is i dont know how to pick each batch of records on its own, and second the client database is always growing so i dont want to have to always add a button that will print the next set of records, also in this situation i would like to have a note for each buttoon saying when it was last cliked so i wont print out the same batch twice.

Now i figure the best solution would be run a a code that will print the first 50 records prompt me to cotinue or to stop. if the stop button is clicked it should register at how many loops it is at so on the next time it runs it skips that amount of loops.
Again im not sure how to pick the records or in this case how to retain the loop info.
Thank you
Mark

View 9 Replies View Related

Modules & VBA :: Loop In Batches / X Number Of Records At A Time

Jul 4, 2015

I have a form which uses a loop command to output reports as a PDF. The reports take a bit of time to produce and the record set could contain 100-150 records. Any way that you can split the recordset down into batches. Maybe have a button which creates 1-20 and another 21-40 and so on.

View 1 Replies View Related

Can't Assign Value To Object

Apr 14, 2006

I keep getting this message when I try and input a product ID in the subform in my 'Order Form', the message says 'you can't assign a value to this object' and when i try to click the row below it says 'You cannot add or change a record because a related record is required in table 'Invoices'', how can I change this? do i have to relate it to the Products table and if so how do i do this? Thanks, Bob.

System Link:
Gamez System (http://www.savefile.com/files/5147388)

View 1 Replies View Related

Assign Value To Label

Apr 20, 2006

hi

in vba i done a query
strQuery
strQuery = "select sum(x) as X, sum(y) as Y from test3"

how to run this query and get sum(x) value, sum(y) value and
set it to label

txtX.caption = ...
txtYCaption = ...

any idea?

thanks

View 1 Replies View Related

Assign Variable From SQL

Dec 28, 2005

I have a table set up like this:

tbl_original
account, invoice
11111, 1
22222, 1
33333, 5
44444, 3

I want to create a function module or something similar which will assign a variable to the max invoice # used on that table, using sql if possible. I tried something like this, but it's not working.

Public Function max()

Dim maxinvoice As String

maxinvoice = "SELECT Max(tbl_original.invoice) AS MaxOfinvoice" & _
"FROM tbl_original;"

MsgBox maxinvoice

End Function

I would like the msgbox to popup saying "5", since that is the max invoice # used based on the above table.

I don't have too much experience using modules on their own without forms and variables on the form to assign to, can someone make a suggestion?

Thanks in advance!

Vassago

View 14 Replies View Related

Assign A Value Automatically

Apr 17, 2008

Hi Im making a database with a form,

The thing that I dont know is how to do this:
I have two fields in the table , one is a text and the other is YES/No

I want that in a form, I will use a barcode when The value was enter in the form automatically the assign YES in the other field and save it

I need help urgent

View 3 Replies View Related

How To Assign A Row A Number? Help Please!

Jan 12, 2006

Hello! I'm trying to assign a number to a set of rows so I can, essentially, create a dual primary key on a table. Below is an example of what I have...

654321 | Course 1
654321 | Course 2
123456 | Course 1
123456 | Course 2
123456 | Course 3
123456 | Course 4
123456 | Course 5

The numbers are just "student numbers" if you will. Something that identifies them. The second column is basically the name of a course. What I would like to do is number each row, but only within the group of that individual.

Example:

1 | 654321 | Course 1
2 | 654321 | Course 2
1 | 123456 | Course 1
2 | 123456 | Course 2
3 | 123456 | Course 3
4 | 123456 | Course 4
5 | 123456 | Course 5

Can I accomplish this?

View 5 Replies View Related

Assign Default Value

Jan 21, 2006

See Attached database

I have a frm called frmaddprovider Main form see database
I Also i have subform called frmsubformproviderids with
2 command buttons Add Provider ID and Refresh data

When i generate a report by selecting insurance name, insurance id, from the table called tbladdinsurance and also select Provider, Pin from the table called tblproviderids

When i generate the report as you can see by the sample database only insurances that are selected in the combo box shows up

How do I assign a default value so if the insurance combo box in the subform field is left blank it will automatically assign the Pin# to all insurances and when i generate the report it will show all insurances along with provider and Pin#

View 4 Replies View Related

Can't Assign Value To An Object

Mar 19, 2006

I keep getting this message when I try and input a product ID in the subform in my 'Order Form', the message says 'you can't assign a value to this object' please have a look at it, thanks.
Gamez System (http://www.savefile.com/files/4823667)

View 1 Replies View Related

Can't Assign A Value To This Object

Mar 27, 2006

Greetings, all.
Run into a snag with a payroll db, appreciate any help you can give me.

Main Form, with ordinary payroll/personnel info--clock no, first and last names, S.S.no., etc.
Subform for entering regular hours worked, OT hours worked, etc per Period Ending, keyed to main form by SS no. Pretty basic stuff.

Problem is, when we try to enter the first data in the subform, we get this error message :
"You can't assign a value to this object.
*The object may be a control on a read-only form.
*The object may be on a form that is open in Design view.
*The value may be too large for this field."


We get the message in the first field we go to, no matter which field we go to first.
None of the "may be" conditions apply.

When we hit "OK" the message goes away and we can enter our data, the records are created corrected. But as soon as we move to the next record, we get the same error.

Any idea why we're getting this error message?

Thanks for looking,
BeckieO

View 1 Replies View Related

Using VBA To Assign Value To Control

Aug 18, 2006

I have been pulling my hair out (OK, I would be if I had enough to do so) over trying to assign a value to a control on a form. Basically, when a change is made to the form, I'm using the AfterUpdate event to trigger the code. The code in the event is

Me.txtWho = Environ("UserName")

Simple, straightforward or so I thought. Problem is, it gives me an error stating I cant' assign a value to that object. txtWho is bound to a field in the query underlying the form and the control is enabled and not locked. Can anyone shed some light on this for me please????

View 13 Replies View Related

Cannot Assign A Variable

Nov 7, 2007

I have a simple combo box with two options - elective and emergency. They are set up on a continuous form.
When i try to choose a value it comes up with the message "You cannot assign a value to this object". I have checked the three criteria it mentions, object being on a form open in design view (no), value too large for field (no - text field with (defaulted) size of 50), control on a read -only form (no, form is editable).
The strange thing is as soon as you clear the error message box it lets you enter the value anyway.
Any ideas?

View 2 Replies View Related

Assign Default Values

May 16, 2006

Hi, in my database I have a 7 subforms that shows fields for daily tasks for each day of the week. On the Monday, the tasks are assigned and then stored for every record for the corresponding date. The process is done again on tuesday, then wednesday etc. However, often the daily tasks for say tuesday will be very similar (sometimes the same) to that of monday's.

Therefore is there a way to set the default values for each day as the previous days tasks and then alter them if needed?

Thanks for helping!:o

View 1 Replies View Related

Automatically Assign Primary Key

Aug 15, 2005

Hi

I've compiled a make table query and would really be happy if I could automatically assign a primary key to one of the fields i.e account ref.

Any ideas, suggestions gratefully appreciated

Cheers
paul

View 1 Replies View Related

Assign Two Primary Keys

Jul 31, 2007

SOLVED: Hows it goin?I need to assign a second primary key to a table involving three fields (Student Number, Subject Code and Average). I have to make Student Number and Subject code the primary keys. Any help would be appriciated.

View 6 Replies View Related

Assign The Value At Run Time In SQL Query

Aug 28, 2007

hi..

i want to use this query into my code..

DoCmd.RunSQL "INSERT INTO joint_ledger (owner_ref, value_settled, ClientONo, trans_against, con_veh,) VALUES (" & G_current_client & "," & (G_value_os = 0) & " , '" & G_clientono & "', " & jjref & ",'" & con & "')

the part of statement highlighted in red ...is the value for the filed value_settled whose data type is yes/no..

now i am confused with thise highlighted part..will it assign the 0 to G_value_os or first use the original value of G_value_os to insert the value into database... please help me...

many thanks...

View 4 Replies View Related

Error - You Can't Assign A Value To This Object

Jul 7, 2006

I have searched the forums and I don't see this problem. I have a split database. When I test it it works fine. It resides on a network drives and permissions have been checked. When users try it they get an error message that says "you can't assign a value to this object". This occurs after they have selected a project and the user form opens. The user form appears blank.

I have gone to other offices and if I am signed on to their machines it works but if they are the message comes up. I'm at a complete loss and need some advice. It's probably as plain as the nose on my face but I've been struggling for days.

By the way - I used to be Mrs.Meeker...I haven't been around for a long time.

View 1 Replies View Related

Problem To Assign A Query

Aug 8, 2006

hi

i created a query named: qryTest

on a form, i put a subform/subreport (name: resultQuery)

i have also a button

when i click on the button, i would like to run my query: qryTest and i want to display the result to my component: resultQuery

i tried

resultQuerysourceobject = currentdb.querrydefs("qryTest");

i get error syntax....

any idea?

thanks

View 4 Replies View Related

Assign A Barcode To A Material

Sep 21, 2006

Hi Guys,

I've tried searching the forum to no avail,
I have a table (tblBarcodes) that has two fields, Barcode & Material
The Barcode field is already populated with specific numbers, but what I need to do is when I enter a new material on my form it will assign it a barcode from the tblBarcode and then append the Material code to the that table against the relevant record.

Is this possible?
Thanks again

View 1 Replies View Related

Assign A Record To A Table

Dec 6, 2006

I was wondering if anyone could help me with a problem I'm having with a form...

I have 2 tables, one called 'dept' and the other called 'employee.' These tables have a one-to-many relationship; basically, one department to many employees.

Instead of using a combo box, how do I assign an employee (employee_table) to a department (dept_table) by simply selecting a checkbox on a tabular (employee) form and the record is automatically added to the dept table?

I would greatly appreciate any help. Thank you!!!

View 5 Replies View Related

Queries :: Assign Value Of Row Counter?

Oct 1, 2013

I have an export query that has number of distribution and CM distribution for invoices generated. The objective is to count the number of invoices based on the account number for each customer ID. Since the table has no primary key, the I assigned field number of distribution to 0 in hopes the counter will assign the value of the row number. The attached file shows how the current export displays and how it should display in the highlighted correct way section. I tried COUNT and DCOUNT methods which is the current setup, and they aren't working. This will eliminate the need to go into the file and change the 2 fields.

View 2 Replies View Related

Modules & VBA :: Can't Assign A Value To Object

Nov 15, 2013

I am trying to use Access 2007 popup calendar to populate a combo box with a selected date. When I select the date on the calendar the above error appears.

Code:

Private Sub Calendar9_Click()
'Set Date to the selected date and hide the clalendar.
MAssBDate.Value = Calendar9.Value
MAssBDate.SetFocus
Calendar9.Visible = False
End Sub

[code]....

View 2 Replies View Related

Forms :: Can't Assign A Value To Object

May 6, 2013

I have an unbound form, with a subform datasheet (sfmStaffDS) - not linked to the parent form, which displays a list of all staff. There is another subform (sfmStaff), which displays data based on a field in the form which takes its value from the DA subform.To add a staff member I press the button and this clears the fields down as expected.

However, when I start entering data (in the First NAme field), I get the error as stated in the title. Interestingly, I can carry on and the data gets saved as 'normal'.I have used this technique before with success, except that the DS subform is linked to a value on the parent form.

View 9 Replies View Related

Assign A Value To A Field With Combo Box?

Jul 12, 2012

I have a question concerning combo boxes and the best way to implement them. When creating a field in a table I can choose to set the lookup for the field as a combo box and it will allow the use of a combo box in the table. I could also leave it alone and use a form with a combo box on it. My question is which method is better, or are there particular situations where one is preferred?

I can only think that using a combo straight from a table is good if you plan editing data via the table. If data entry is only to take place through the form then I see no need to set the combo box value on the table.

View 2 Replies View Related

Identify And Assign Value To Minimum?

Oct 29, 2012

What I am doing is trying to have access identify and label various lanes of transit.

So, for example. I have the below...

Origin Destination Via Transit Time
Hong Kong New York East Coast 38
Hong Kong New York West Coast 32
China New York East Coast 34
China New York West Coast 29

Is there a way in Access to have it identify that Hong Kong to NY via West Coast is the "DEFAULT" where HKG to NY via East Coast would be "ALTERNATE" ?? And then do the same for the next origin? The table I have now has over 71 different origins but I need it look at each origin independently.

View 2 Replies View Related







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