maybe if i explain my form better youll know what im talking
about: i have one table that lists only types of products (ex. hard
drives, floppy drives, processors, etc.) it looks like this:
name = "Products2"
[ID] [Product]
01 Case Fans
02 Mother Boards
etc.
this is linked through to another table from the first's ID to the
second's product.
name = "SubMenu2"
[ID] [Product] [Distrib.] [Manufact.] [Descr.] [U. Price] [S. Price]
[In Stock] [Order]
01 Hard drive D&H W. Digital 80GB $60.00 $85.00
2 2
etc.
on my form i have two text boxes where in one i enter the customer's
name and number, it is not bound to a table or query. then the other
is where i enter comments or special instructions to the customer
(ex. warranty - no charge), this is also not bound seeing as how it
is just inputting text. then there are ten sets of two drop boxes, a
quantity text box, a unit price text box, and then a total price text
box. these are on there ten times because the invoice can sell up to
ten items on one invoice, trust me that's enough for invoice. the
first drop box has the row source of a query that has the id and
product of the first table, the drop box only displays the product.
when a product is selected it requeries the second table which has a
row source of another query which in includes from the second table,
id, description, product, and sale price. the second drop box only
displays the descriptions of each item under the product in the first
drop box. after you select the description of i certain item it
displays the unit price from the third column in the unit price text
box field. because it comes from the column and not a source it only
displays it as a number so it then multiplies by one in a currency
expression. then you input a number in the quantity field and it
takes that number and multiplies it by the unit price and then
displays the total price just a currency expression. the quantity,
unit price, and sale price are unbound and so are all the drop
boxes. it looks like this: product \/ description \/
quantity unit price total price _______________
_______________ _________ _________ ________
____________|\/| |____________|\/| |________| |________|
|_______|
it has this ten times going down the page. then at the bottom i have 5
buttons, the first resets the form, the second prints one copy and
the third prints two copies. the forth does a total pricing. it
takes all the total prices and adds them and displays a subtotal,
then it multiplies by .065 and puts that number as the tax, and then
it adds them together and displays a grand total. all of these
things i just explain have to go onto the report, and i cant change
the way the form looks. the form is bound to a query that has id and
product from the first table, and id, decription, product, sale
price, and in stock. i dont know how much of a challenge this is but
i hope you can help me. ask me anything you need to know. btw the
drop boxes each have their own query, making twenty queries because
when it requeries it can only refer to one drop box, so it refers to
the first drop box by name and each query must have a different
criteria to refer to that certain drop box. enjoy! thanks a whole
bunch if you can help.