Setting default value in a column (1 Viewer)

crownedzero

Registered User.
Local time
Today, 00:40
Joined
Jun 16, 2009
Messages
54
I'll give it a shot but it kind of opens up a whole other 'can of worms' I'm unfamiliar with. But at this point everything is pretty new :D
 

rainman89

I cant find the any key..
Local time
Today, 01:40
Joined
Feb 12, 2007
Messages
3,015
I'll give it a shot but it kind of opens up a whole other 'can of worms' I'm unfamiliar with. But at this point everything is pretty new :D

It's easier then recreating the tables everytime!! Thats for sure
 

crownedzero

Registered User.
Local time
Today, 00:40
Joined
Jun 16, 2009
Messages
54
Well, it was recreate the tables OR delete all the data stored in the table and then update it.
 

SOS

Registered Lunatic
Local time
Yesterday, 22:40
Joined
Aug 27, 2008
Messages
3,517
Well, it was recreate the tables OR delete all the data stored in the table and then update it.
Which IS the better thing to do - delete the data and then append instead of recreating the table each time.
 

crownedzero

Registered User.
Local time
Today, 00:40
Joined
Jun 16, 2009
Messages
54
So I have three tables now.
Inventory
Prices&SKUS
and the blank report with all the report specific fields.

At this point, stop me if I'm wrong :D, I need to run a query to select the styles I need from the Inventory report and make a seperate table. Then I need to update the blank report with this information, correct?
 

SOS

Registered Lunatic
Local time
Yesterday, 22:40
Joined
Aug 27, 2008
Messages
3,517
So I have three tables now.
Inventory
Prices&SKUS
and the blank report with all the report specific fields.

At this point, stop me if I'm wrong :D, I need to run a query to select the styles I need from the Inventory report and make a seperate table. Then I need to update the blank report with this information, correct?
I'm wondering why you think you need a table for a report. You just use a query as the underlying recordsource for the report and you have just bypassed an unecessary step.
 

crownedzero

Registered User.
Local time
Today, 00:40
Joined
Jun 16, 2009
Messages
54
The query is run against the Inventory file which doesn't contain half of the information I need, I've attempted running a report but it has come up empty.
 

crownedzero

Registered User.
Local time
Today, 00:40
Joined
Jun 16, 2009
Messages
54
Inventory table: (imported from Excel)
UPC
Item#
Type
Size
Width
Price
Available

Customer specific table:
UPC
MerchantSKU
Price

ItemAttrib table
(Might need to add UPC)
Item#
Description

Report table: (final output needs to have all of these)
Filetype (Always "IN" for Inventory)
UPC
InStock(Yes/No based on "Available" from Inven.)
Available
NextShipDate & Qty ( Blank)
Manufacturer (Blank)
ManufacturerSKU (Blank)
Description (ItemAttrib table)
Unit Cost (Price from Customer specific)
UnitCost2
UnitCost3
UnitCost4
Deactivated(Y/N based on "Type" from Inventory)
MerchDept(Static #)
UoM(Static "EA")
MerchantSKU(Customer specific table)
Merchant(Static)

So I need to query the Inventory based on style and size and then get it into the report table and pull all the other relevant data from other tables in with it.
 

Users who are viewing this thread

Top Bottom