M
Mike
Group I need ideas!
I'm currently working on a Purchase Order database. Here is the workflow
that I would like to use in approaching this project. This is in a very
simple form (not access form) now and once I get the parts of it to work
then I will add all of the bells and whistles.
1.) I have one table that holds all of the - normalized - data for purchase
orders.
2.) I have a second table that will keep just a list of the last 50 numbers.
Once the numbers are used I don't need them again.
table2 layout (very simple)
UsedPONumbers |
.....
5120 |
5121 |
5122 |
.....
5128 |
2.) A person will open up a form and as soon as the form opens it will run a
function - using the DMax function - to grab the next PO number i.e.
5129.From the second table then enter it back to increment the count by one.
This is done to keep people from taking a number that isn't available.
3.) The person will then enter the data in the form. I want this form to be
totally unbound from any table. This will eliminate having to deal with
slowly responding forms.
form layout (very simple)
Purchase Order Number: 5129 User Id: 099
____________________________________
Detail | Description | Material | Quantity | etc...
01 | Mounting Plate | CRS | 1
02 | Cutter | A-2 | 2
03 | Socket Head Cap Screw | Pur | 10
4.) After clicking a command button. The data will then be entered into
table number 1.
table1 layout (very simple)
UserId | PO Num | Detail | Description | Material | Quantity | etc...
099 | 5129 |01 | Mounting Plate | CRS | 1
099 | 5129 |02 | Cutter | A-2 | 2
099 | 5129 |03 | Socket Head Cap Screw | Pur | 10
5.) does the data flow this way?
a. form which is bound to a temp table created with SQL - setting
the Default value of the PurchaseOrder to the active number i.e. 5129
i. table is created and populated via user activities i.e.
copy paste, directly entering data, etc....
ii. An event then appends data to the first table.
iii. second table (temp) is deleted.
b. using some sort of an Array function.
i. How?
ii. What would the syntax be?
iii. Would it be cleaner?
Regards
(e-mail address removed)
I'm currently working on a Purchase Order database. Here is the workflow
that I would like to use in approaching this project. This is in a very
simple form (not access form) now and once I get the parts of it to work
then I will add all of the bells and whistles.
1.) I have one table that holds all of the - normalized - data for purchase
orders.
2.) I have a second table that will keep just a list of the last 50 numbers.
Once the numbers are used I don't need them again.
table2 layout (very simple)
UsedPONumbers |
.....
5120 |
5121 |
5122 |
.....
5128 |
2.) A person will open up a form and as soon as the form opens it will run a
function - using the DMax function - to grab the next PO number i.e.
5129.From the second table then enter it back to increment the count by one.
This is done to keep people from taking a number that isn't available.
3.) The person will then enter the data in the form. I want this form to be
totally unbound from any table. This will eliminate having to deal with
slowly responding forms.
form layout (very simple)
Purchase Order Number: 5129 User Id: 099
____________________________________
Detail | Description | Material | Quantity | etc...
01 | Mounting Plate | CRS | 1
02 | Cutter | A-2 | 2
03 | Socket Head Cap Screw | Pur | 10
4.) After clicking a command button. The data will then be entered into
table number 1.
table1 layout (very simple)
UserId | PO Num | Detail | Description | Material | Quantity | etc...
099 | 5129 |01 | Mounting Plate | CRS | 1
099 | 5129 |02 | Cutter | A-2 | 2
099 | 5129 |03 | Socket Head Cap Screw | Pur | 10
5.) does the data flow this way?
a. form which is bound to a temp table created with SQL - setting
the Default value of the PurchaseOrder to the active number i.e. 5129
i. table is created and populated via user activities i.e.
copy paste, directly entering data, etc....
ii. An event then appends data to the first table.
iii. second table (temp) is deleted.
b. using some sort of an Array function.
i. How?
ii. What would the syntax be?
iii. Would it be cleaner?
Regards
(e-mail address removed)