I have a master database where the tent# and locations are stored . The next
data base for repacks has a linked table from the 1st - as to reduce
duplicating changes with the locations as they can fluctuate from year to
year.
In the data base I am working on I have A price list table with has the
prices of four levels and in each level their is a possiblity of four prices
per item- as we can not sell a box of items asbox if they have been broken
into individuals. I am sure you have been to a fireworks tent and seen the
novelty items in boxes, or as individuals.
I then have a table that assigns the box number (repack sticker bar code) to
each tent. Each tent may have 1 return box or dozens. Some of our buildings
return close to a 100 boxes each season.
I then have a table where I enter the detail (contents) of each box. Each
box may have a few as 1 item or dozens of items. This table's fields are the
box # (which must match a box number listed in the assigned box number table
I just mentioned) this is to avoid incorrect box numbers from being entered.
Then there is an item description field (this field is a look up from
another table named products master table that includes barcodes, item
descriptions, brand names etc.). The next field is an autofill find that
brings up the item number based on the product master table and what is
entered in the product description field.
The next field is the item quanity (how many are being returned). The next
field of this table is the item packaging (how is it being returned).
Once all of the box details are entered I quirey the Box Detail Table and
Price List Master Table so that I can match the price level (i have a
separate table to determine which code = which price level and assign the
code to each tent).
My obstacle at this point is the best way to get the correct price for each
item so that I can take that price and multiply it by the quanity returned.
My boss wants the report to look something like this:
#8 Assorted Cones 45 Each $3.95 $177.75
Jumping Jacks 14 Packs $3.90 $ 54.60
Jumping Jacks 97 Each $0.20 $ 19.40
And I need to be able to sort the repacks by tent, box number, or item
description.
The prices WILL NOT CHANGE - because the prices are already stickered to the
product the next season we will sell it for what the sticker says as our
operators will not have the time to reprice all the items. So box 567980
whose total value is $245.67 will stay $245.67 next year. Once box 567980 is
opened next year and the product put in another tent it will essentailly
cease to exsist.
As you can imagine - I am pulling my hair out. I have some ACCESS skills,
and am learning programming, but alot of what I have accomplished is by
reading two books I have, asking questions on this web site, reading others
questions, and mostly trial and error. So any help is appreicated.
--
Lynette
"Tom Wimpernark" wrote:
> i'm not sure that his design really is that bad
>
> talk more about your design; this would be appropriate in certain
> circumstances
>
>
>
>
> "John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
> news:(E-Mail Removed)...
> > On Wed, 30 May 2007 07:08:01 -0700, ksfireworksgal
> > <(E-Mail Removed)> wrote:
> >
> >>WIEACHPRICE = Wichita Each Price and is a currency value. Each of our
> >>items
> >>may have once individual price or may have a individual price, pack price,
> >>and box price. And each area we are located has a different price lever.
> >>For example in Louisiana I have a LAEACHPRICE, LAPACKPRICE, LABOXPRICE,
> >>etc.
> >
> > WHOA! Are these the names of table fields? If so you are WAY off track.
> >
> > For one thing, you can't just name a field in VBA code and pull data from
> > it.
> > More importantly, if you are storing data (the locale) in fieldnames,
> > you're
> > in for heaps of trouble.
> >
> > Where are these currency values stored? What is the structure of your
> > tables?
> >
> > John W. Vinson [MVP]
>
>
|