Showing posts with label product. Show all posts
Showing posts with label product. Show all posts

Sunday, March 25, 2012

basic design question

i am a beginner and any response will help me a lot.

i have 20 types of products,
each product has about 40 fields, most of them are common fileds for all products, but some of them are unique.

the number of the unique fields of all the product types is 75.

the question:
Should i build one products table with 75 fields and leave nulls where a field is not property of a product type?
Or should i build a products table for the 30 common fields and a 20 different tables for each product type extra fields?
Or just build 20 different tables each product type?

other ideas are welcome

you can use Named-pair design technique that is very comon in Software as Service application where we have to maintained the list of customer and some customer can have attribtues that are uncomon to other.

create a table called ProductAttributs that can have column like

1- ProductAttributeID,Attribute Name , Data Type ,IsNull

then Create another table called Product Attribute Value that has column

1-ProductID

2-ProductAttribute ID

3- Value

and you have a base table Product which contains the common fields only

so by this first you can create a set of advance product attributes in Product Attribute Table

then bind your product table with Product Advance attributes in product attribute value so by this you can manage dynamic Product attributes that are not comon in ever Product.

|||

hi., please help me, i am a student, i have basic idea on webprogramming specially ASP.NET, actually im using Visual Web Developer.,

i have a new "complicated" project. i really need help.

1st. the data base, this is the diagram of the data, it is not the actual form but its more like this:

diagram

if i will do it in the form of access, it will look like this.

LinkFromLinkToexisting1depleted1fots_brae1cdma_fots1 1111AngelesArayat16800AngelesBalanga27000AngelesBalibago63000AngelesClark16000AngelesDinalupihan0000AngelesHermosa0000AngelesMacabebe64000AngelesMagalang16800AngelesOrani0000AngelesSFP7312600AntipoloAntipolo RSU16000AntipoloTanay42000BacoorBacoor RSU166300BacoorCavite City16000BacoorDasmarinas152100BacoorImus63000BacoorKawit16000BaguioBaguio RLU/ELU1111BaguioLa Trinidad1111BalagtasAngat1111BalagtasAngeles1111BalagtasBocaue1111BalagtasCabanatuan1111BalagtasGuiguinto1111BalagtasIba1111BalagtasMalolos1111BalagtasMarilao1111BalagtasMeycauayan1111BalagtasNorzagaray1111BalagtasPandi1111BalagtasSan Jose DM1111BalagtasSta. Maria1111BalagtasTarlac1111BatangasLemery1111BatangasLipa1111BatangasMamburao1111BatangasSan Jose1111BatangasSto. Tomas1111BinalonanAsingan1111BinalonanBaguio1111BinalonanBalagtas1111BinalonanBalungao1111BinalonanDagupan1111BinalonanLaoag1111BinalonanLingayen1111BinalonanMt. Kabuyao RS1111BinalonanPozzorubio1111BinalonanRosales1111BinalonanSan Carlos1111BinalonanSan Isidro RS1111BinalonanSan Manuel1111BinalonanSan Nicolas1111BinalonanSan Quintin1111BinalonanSantiago1111BinalonanSFU1111BinalonanSison1111BinalonanSta. Maria1111BinalonanTayug1111BinalonanTuguegarao1111BinalonanUmingan1111BinalonanUrdaneta1111BinalonanVigan1111BinalonanVillasis1111

if you would look on the table and the diagram, there are just 2 lavel in the table which is in the diagram has 3 level.

thisis the story about that. the table also has 3 level, look on the Boldwords, if you would look on the many "angeles" there is also not so farbeneath a single "angles" but this time, he is under "balagtas", sothis is the levels, "Balagtas --> Angeles--> (bold names underangeles)" how to know the other names with same levels,

@. lookfor names that are inputed in many times in the "LinkFrom" header thenlook for the same name in the "LinkTo" header. so just look closely inthe table so you can under stand the format.

so this is the question, how can i design my database from access?? what will it look like?

after the database, this is the story for how should the web page operate.

@. assumption: that there will be 3 dropdown menu, each menu correspond to each level.

sofor example, if i choose an item in the level 3 dropdown menu, it willshow a table or info (if you would look in the table above, it will bethe numbers' "1's") for:

1. link from level 2 to level 3.
2. link from level 1 to level 2

so to make it short, will should detect he's original link were ever he was link to.

so if i select a value from the level 2 dropdown, it will only show the link from level 1 to level 2

if select a value from level 3 it will show link from level 2 to level 3 and level 1 tot level 2.

it should trace were he is connected so i think the real key here is the design of the database.

actuallythe table i show to you is the real table but i cut it to make itshort. so there are still some 3 level layer out there in the sameformation as the "Balagtas --> Angeles --> under angeles" intwo columns style.


i hope someone can help me tothis,...please. this day is friday here in the philippines, i willhave no class tomorow, only here in the school were i can work and openthis forum. i hope in monday there will be an answer. thanks in advanceto any person.

please feel free to ask it you want to know any clarification to my post.

SALAMAT PO...

Thursday, March 22, 2012

Barcode export to pdf solutions

Hey all,
I'm trying to decide on a barcode product for Reporting Services (SQL Server 2000 and .Net 1.1) so that I can export reports to pdf and retain the barcodes.
I've found IDAutomationhttp://www.idautomation.com/fonts/tools/reporting_services/ and NeoDynamicshttp://www.neodynamic.com/Products/BCRS/BarcodeRS.aspx?tabid=78&prodid=7 as a solution.
I was wondering if anyone has ever used either of these products to create reports for pdf export w/ barcodes? Or possibly another solution? If so, please let me know how it went.
Thanks,
Mike

Go forNeodynamic. Its product supports SSRS 2000 and in addition it's SSRS 2005 fully integrated :-)sql

Barcode doesn't print from reports server

Hi there,

Ok, so I have a report that is generating product labels on a standard mailing lable sheet (30 of them on a 8.5X11 sheet of stock). The whole process works just fine even the printing of the bar codes when I am printing the lables from VS2005's Preview function. However, when I moved the report to our reports server and run the same report, the barcodes don't print out. I have checked, and the barcode font has been installed on the server.

Any suggestions would be greatly appreciated. Thanks! - Eric-

Can you tell me how you got the labels to print correctly.

I can't seem to get mine lined up. I am trying to print Avery 5160 which is also 30 labels.

Thanks

Crystal

|||Crystal, Where are you in the process? Have you gotten the data to print in three columns? Let me know and I will try to dial you in. :-)|||

I do have the data printing in 3 columns but only if I export it to PDF first. The preview only shows one column.

My alignment is off vertically. It starts out fine but after the 3rd row its off. Thanks for any help!

|||

Hi,

I am trying to display the barcode on a webfor for a tracking number, How do I display it.

I am new to asp.net, but i have to get this done.

Thank you,

|||

I have tried using barcode fonts without much success.

However I did find a product which works very well and I highly recommend it.

THe only caveat to using this product is if you upgrade it you need to go back and upgrade all your other reports that use the older version.

the product is neodynamic barcode professional 3.0 for reporting services.|||

is there any method which I can use to convert a dll designed for windows forms, to web forms.

this is a free dll supplied by ID automation.

Barcode doesn't print from reports server

Hi there,

Ok, so I have a report that is generating product labels on a standard mailing lable sheet (30 of them on a 8.5X11 sheet of stock). The whole process works just fine even the printing of the bar codes when I am printing the lables from VS2005's Preview function. However, when I moved the report to our reports server and run the same report, the barcodes don't print out. I have checked, and the barcode font has been installed on the server.

Any suggestions would be greatly appreciated. Thanks! - Eric-

Can you tell me how you got the labels to print correctly.

I can't seem to get mine lined up. I am trying to print Avery 5160 which is also 30 labels.

Thanks

Crystal

|||Crystal, Where are you in the process? Have you gotten the data to print in three columns? Let me know and I will try to dial you in. :-)|||

I do have the data printing in 3 columns but only if I export it to PDF first. The preview only shows one column.

My alignment is off vertically. It starts out fine but after the 3rd row its off. Thanks for any help!

|||

Hi,

I am trying to display the barcode on a webfor for a tracking number, How do I display it.

I am new to asp.net, but i have to get this done.

Thank you,

|||

I have tried using barcode fonts without much success.

However I did find a product which works very well and I highly recommend it.

THe only caveat to using this product is if you upgrade it you need to go back and upgrade all your other reports that use the older version.

the product is neodynamic barcode professional 3.0 for reporting services.|||

is there any method which I can use to convert a dll designed for windows forms, to web forms.

this is a free dll supplied by ID automation.

Barcode doesn't print from reports server

Hi there,

Ok, so I have a report that is generating product labels on a standard mailing lable sheet (30 of them on a 8.5X11 sheet of stock). The whole process works just fine even the printing of the bar codes when I am printing the lables from VS2005's Preview function. However, when I moved the report to our reports server and run the same report, the barcodes don't print out. I have checked, and the barcode font has been installed on the server.

Any suggestions would be greatly appreciated. Thanks! - Eric-

Can you tell me how you got the labels to print correctly.

I can't seem to get mine lined up. I am trying to print Avery 5160 which is also 30 labels.

Thanks

Crystal

|||Crystal, Where are you in the process? Have you gotten the data to print in three columns? Let me know and I will try to dial you in. :-)|||

I do have the data printing in 3 columns but only if I export it to PDF first. The preview only shows one column.

My alignment is off vertically. It starts out fine but after the 3rd row its off. Thanks for any help!

|||

Hi,

I am trying to display the barcode on a webfor for a tracking number, How do I display it.

I am new to asp.net, but i have to get this done.

Thank you,

|||

I have tried using barcode fonts without much success.

However I did find a product which works very well and I highly recommend it.

THe only caveat to using this product is if you upgrade it you need to go back and upgrade all your other reports that use the older version.

the product is neodynamic barcode professional 3.0 for reporting services.|||

is there any method which I can use to convert a dll designed for windows forms, to web forms.

this is a free dll supplied by ID automation.

Bar chart setting

Hi all,

I have the following problem see anyone can help:

I want to show annual total income for each product separately in bar chart. They don't need to show over time, so each product shows only once in the chart. After I drop productName into "series field" side of the bar chart, each bar represent each product with different color but all bars stick together next by next. I would like to separate all bar one by one and remain different color for all bar. How can I do so??Hey, maybe a little late, but hopefully it'll be of use to anyone elselooking for this...try using the products as the category in the chart(you can drop it along the bottom of the chart object).

Sunday, March 11, 2012

Bad Design?


Table A
[ID] [SalesmanEmail] [SalesmanName]
Table B
[ID] [QuoteNo] [SalesmanID]
Table C
[ID] [Product] [QuoteNo]

Program A creates the records for Table C. In the process it reads from Table A and Table B.

Program B reads record from Table C. Program B now needs [SalesmanEmail] field.

The suggestion is to add [SalesmanEmail] to Table C. Is this good or bad design?Select TableA.SalesmanEmail From TableA Where TableA.ID In (Select Distinct TableB.SalesmanID From TableB Where TableB.ID = whatever);|||That's how I suggested we do it, however the "senior" programmer was the one who asked me to write out SalesmanEmail directly into Table C.

I tried to explain to him that if there were ever any modifications to SalesmanEmail in Table A or to SalesManID in Table B, every record I wrote in Table C would now be invalid because we wrote it to a column instead of doing a lookup, but he still didn't get what I meant. And his method also wastes DB space by storing the same field in multiple tables.|||The suggestion to put the salesman's email address into Table C violates the Second Normal Form of database normalization. It belongs solely in Table A.

Terri|||:: Table C violates the Second Normal Form of database normalization.

Is that a misdeameanor or felony? or does the SQL cop just write you a ticket?

j/k. :)

Yeah, I just gave a query example how you don't need to add a new field if it's already in another.|||But he would probably be more comforted to see:


SELECT
TableC.Product,
TableC.QuoteNo,
TableA.SalesmanName,
TableA.SalesmanEmail
FROM
TableC
INNER JOIN
TableB ON TableB.QuoteNo = TableC.QuoteNo
INNER JOIN
TableA ON TableA.SalesmanID = TableB.SalesmanID

;-)

Terri
PS - I think the penalty is pocket protector removal

Monday, February 13, 2012

Backup using SQLLiteSpeed

Gurus,
Has anyone used the product SQL Lite Speed for their
backups? If so, can anyone give me an idea of how the
product is...we are evaluating its use and would like some
industry opinion on it.
Thanks for your help,
SumeshSumesh...
We've recently implemented SQL LiteSpeed on a number of our production and d
evelopment servers. I would highly recommend it to anyone that has large SQ
L databases. We have a ~44Gb database and with SQL LiteSpeed the backup fil
e is under 6Gb!!!! The int
erface is just another MMC snap-in, so it integrates well with Enterprise Ma
nager. Technical Support is VERY responsive and friendly. It's not appropr
iate for SQL Servers that don't house large databases, but for the bigger on
es it's a necessity.
sean|||It works very well, but I came across a few gotchas that I can't
remember right now, I think it was to do with converting maintenance
plans. Anyway, it's probably fixed now. I would highly recommend it, an
excellent product. I have used it on our data warehouse. You need to
switch fiber mode off.
Mark Allison, SQL Server MVP
Sumesh wrote:
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh|||Some of my customers also use it, they are extremely excited and happy with
it..
Wayne Snyder, MCDBA, SQL Server MVP
Computer Education Services Corporation (CESC), Charlotte, NC
www.computeredservices.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Sumesh" <Sumesh.Sundareswaran@.trsga.com> wrote in message
news:fc4b01c40d3b$802ad9e0$a501280a@.phx.gbl...
> Gurus,
> Has anyone used the product SQL Lite Speed for their
> backups? If so, can anyone give me an idea of how the
> product is...we are evaluating its use and would like some
> industry opinion on it.
> Thanks for your help,
> Sumesh