Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to print

how to print

Scheduled Pinned Locked Moved Visual Basic
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sathyan_8294
    wrote on last edited by
    #1

    hai all, i am using dotnet 2005 and sql server2000.i have 2 table as follow table name as bill cutomercode billno capacity unitmodel rate act 101 1 ton elite plus 10 act 122 1.5 ton vertix 32 tablename as unit cutomercode billno capacity unitmodel indoorunit outdoorunit act 101 1 ton elite plus 232 146 act 101 1 ton elite plus 258 231 act 122 1.5 ton vertix 465 521 act 122 1.5 ton vertix 112 101 act 122 1.5 ton vertix 178 104 here cutomercode,billno,capacity,unitmodel,indoorunit,outdoorunit,rate are columns. i wrote a command in database expert in crystal report.i passed the parameter values of customercode and billno. i have coming as follow in crystal report print page. SLNO capacity unitmodel 1 1 ton elite plus indoorunit:232 outdoorunit:146 2 1 ton elite plus indoorunit:258 outdoorunit:231 3 1.5 ton vertix indoorunit:465 outdoorunit:521 4 1.5 ton vertix indoorunit:112 outdoorunit:101 5 1.5 ton vertix indoorunit:178 outdoorunit:104 the above print is wrong.mistake is repeated datas.my client expect print like 1,2,3,4 for each data as follow.i want to display as follow in crystal report print page. SLNO capacity unitmodel 1 1 ton elite plus indoorunit:232,258 outdoorunit:146,231 2 1.5 ton vertix indoorunit:465,112,178 outdoorunit:521,101,104 how to print these datas in crystal report.

    L 1 Reply Last reply
    0
    • S sathyan_8294

      hai all, i am using dotnet 2005 and sql server2000.i have 2 table as follow table name as bill cutomercode billno capacity unitmodel rate act 101 1 ton elite plus 10 act 122 1.5 ton vertix 32 tablename as unit cutomercode billno capacity unitmodel indoorunit outdoorunit act 101 1 ton elite plus 232 146 act 101 1 ton elite plus 258 231 act 122 1.5 ton vertix 465 521 act 122 1.5 ton vertix 112 101 act 122 1.5 ton vertix 178 104 here cutomercode,billno,capacity,unitmodel,indoorunit,outdoorunit,rate are columns. i wrote a command in database expert in crystal report.i passed the parameter values of customercode and billno. i have coming as follow in crystal report print page. SLNO capacity unitmodel 1 1 ton elite plus indoorunit:232 outdoorunit:146 2 1 ton elite plus indoorunit:258 outdoorunit:231 3 1.5 ton vertix indoorunit:465 outdoorunit:521 4 1.5 ton vertix indoorunit:112 outdoorunit:101 5 1.5 ton vertix indoorunit:178 outdoorunit:104 the above print is wrong.mistake is repeated datas.my client expect print like 1,2,3,4 for each data as follow.i want to display as follow in crystal report print page. SLNO capacity unitmodel 1 1 ton elite plus indoorunit:232,258 outdoorunit:146,231 2 1.5 ton vertix indoorunit:465,112,178 outdoorunit:521,101,104 how to print these datas in crystal report.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi, You can use a blank table in your Database.After executing a command you can save result of data in this table.After that easily u can access table from crystal report. Best Regard Anubhava Dimri

      mailto: anubhava.prodata@gmail.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups