A
Azad, DH, BD
Dear all Experts,
I need badly your help in urgent. Pls help me for the problems bellow by
giving me sample codes or proper advice. Pls pls pls help me out ASAP!
Your kind & wise help will be highly appreciated.
Validate the existing date in append query. I have a inventory table where
the whole month inventory data will be appended by an append query only once
in a month on the last date. If the records already exist by last date (i.e
all the records have last date field as bellow given table) , it will show me
a msg that the records have already been added & will not repetitively add
the data i.e will cancel the action. I have a command button that will run
the append query and if the last date matches, append query will cancel
appending the data to the inventory table. How can I do this?
Inventory table
Item Qty unit Consumption Last Date
Grey cement 500 Bag 230 6/30/2008
Local sand 1052 Cft 550 5/31/2008
Grey cement 562 Bag 256 5/31/2008
Local sand 1026 Cft 450 6/30/2008
Bricks 55630 Nos 6300 5/31/2008
Bricks 55230 Nos 6100 6/30/2008
Now it the records set bellow are attempted to append to the table , they
should be rejected because the last date 6/30/2008 are existing.
Item Qty unit Consumption Last Date
Grey cement 500 Bag 230 6/30/2008
Local sand 1026 Cft 450 6/30/2008
Bricks 55230 Nos 6100 6/30/2008
I need badly your help in urgent. Pls help me for the problems bellow by
giving me sample codes or proper advice. Pls pls pls help me out ASAP!
Your kind & wise help will be highly appreciated.
Validate the existing date in append query. I have a inventory table where
the whole month inventory data will be appended by an append query only once
in a month on the last date. If the records already exist by last date (i.e
all the records have last date field as bellow given table) , it will show me
a msg that the records have already been added & will not repetitively add
the data i.e will cancel the action. I have a command button that will run
the append query and if the last date matches, append query will cancel
appending the data to the inventory table. How can I do this?
Inventory table
Item Qty unit Consumption Last Date
Grey cement 500 Bag 230 6/30/2008
Local sand 1052 Cft 550 5/31/2008
Grey cement 562 Bag 256 5/31/2008
Local sand 1026 Cft 450 6/30/2008
Bricks 55630 Nos 6300 5/31/2008
Bricks 55230 Nos 6100 6/30/2008
Now it the records set bellow are attempted to append to the table , they
should be rejected because the last date 6/30/2008 are existing.
Item Qty unit Consumption Last Date
Grey cement 500 Bag 230 6/30/2008
Local sand 1026 Cft 450 6/30/2008
Bricks 55230 Nos 6100 6/30/2008