Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. compudude86

    dealing with duplicates in database

    ok, so i have a table of products, called "products" located in a database called "Book". my problem is when i update products, using a csv file through phpmyadmin, it will add another row, all the same info (price, description, etc) but different dates, and different primary keys...
  2. compudude86

    looking for a copy of irix 6.5.8+

    looking to buy a copy of irix from someone, anyone?
  3. compudude86

    ordering in phpmyadmin export

    i am using phpmyadmin to create reports from my database. i export them to a PDF file, and it arranges them by another field, i would like it to arrange a-z by the tables "description" field. how would i do this?
  4. compudude86

    order a view

    i have a view that i need ordered by ascending when i access it. right now it sorts by ID i believe. here is my code to create the view: DROP VIEW IF EXISTS `Book`.`book`; CREATE ALGORITHM=UNDEFINED DEFINER=`server`@`` SQL SECURITY DEFINER VIEW `Book`.`book` AS select `view`.`Description` AS...
  5. compudude86

    mySQL view and mathematical formulas

    ok, i have a mysql query, (CREATE VIEW `Book`.`view` AS SELECT ID, Description, Size, Pack, List, Net, Discount, NetBtl, SRP, Vendor, Date, CONCAT(ROUND((srp-netbtl)*100/srp),'%') as GPM FROM Products;) and i need to add in the formulas (List-Discount=Net)and (Net/Pack=NetBtl) along with it...
  6. compudude86

    form with odbc mysql database

    ok, i have a form in access, so that i can edit and apply mathematical formulas to a local access table, but my linked table doesnt get changed. so i made a view of the table, and i only get one line of the table, not the whole table. how do i fix this?
  7. compudude86

    sendmail smart host config

    hello, i have smartmail, "Sendmail version 8.13.5.20060308, config V10/Berkeley". when i installed it, and went to the sendmail.mc file, and theres nothing for smart_host. i am setting this up on sbc yahoo dsl. help!!
  8. compudude86

    reporting mysql view using php

    i want to make a report, that would print to 8x11 landscape, in a standard html table, using mysql as the source. how would i do this?
  9. compudude86

    php to merge mysql tables

    hello, i have a web interface built to show the output of several tables that distributors can edit, now i need to find a script that can take all those tables, and merge/update them into a single table on a second database. any ideas?
  10. compudude86

    primary key in mysql view

    ok, so i have a view, how would i put a primary key into it? i have this code: DROP VIEW IF EXISTS `Book`.`view`; CREATE ALGORITHM=UNDEFINED DEFINER=`server`@`` SQL SECURITY DEFINER VIEW `view` AS select `Products`.`ID` AS `ID`,`Products`.`Description` AS `Description`,`Products`.`Size` AS...
  11. compudude86

    adding dollar sign to fields

    ok, i have a few different fields, in decimal, how would i put the $ sign in front of the numbers, what would i put into query?
  12. compudude86

    "shaving" zeros off the end

    i want to remove the trailing numbers from my columns, lets say my price, for example, is 199.00, i get 199.0000. i was told to use the "ROUND(price,2)" but how would i apply that to the 5 or so columns? what would be my syntax?
  13. compudude86

    formulas in mysql forms

    hi all, im migrating over from access to mysql, after finally figuring out access. i need to do a formula that automatically calculates two fields in a database and gives me a percentage. the formula is GPM=(srp-net)/srp . i got it to work, but its not doing it in order of operations. please help!!
  14. compudude86

    formulas in MS access VBS

    hi all, ive posted on another forum on this site, but i think this is the right one.. i have ms access, and im trying to set up formulas, but its not working right. example columna columnb columnc 123 456 789 im trying to calculate this formula columnc = column a -...
  15. compudude86

    formulas in access

    hi all, im trying to make a formula to update an item automatically. example column a column b column c 123 456 789 my formula would be column c = column a - column b / column a i tried Me((column c)) = Me!((column a)) - ((column b)) / Me!((column a)) without the...

Part and Inventory Search

Back
Top