Author Topic: Menghilangkan Angka 0 di Grid  (Read 980 times)

0 Members and 1 Guest are viewing this topic.

Offline Pujianto

  • Junior Member
  • *
  • Posts: 319
Menghilangkan Angka 0 di Grid
« on: November 06, 2012, 11:31:25 AM »
Para Master Semua..
Saya Punya Grid yg mana saya ingin kalau Value nya 0 maka di Grid tdk tampak..
Gmana ya caranya??

Thx..
Ini Penampakan Grid saya..

Offline pwiwing

  • Hero Member
  • *
  • Posts: 793
  • Belajar agar kita mengerti dan memahami
Re: Menghilangkan Angka 0 di Grid
« Reply #1 on: November 06, 2012, 11:37:53 AM »
Kyknya lebih cantik kalo ada tampilan nol daripada kosong.

coba pake perintah IIF
Belajar tidak memandang usia......
Semangat kawan

Offline foxy

  • Fox-id M.V.P
  • Hero Member
  • *
  • Posts: 3.605
    • Foxy Land
Re: Menghilangkan Angka 0 di Grid
« Reply #2 on: November 06, 2012, 11:47:07 AM »
Silahkan di coba:
Code: [Select]
Thisform.grid1.column10.Format = "@Z 999,999,999"
Thisform.grid1.column11.Format = "@Z 999,999,999"
Thisform.grid1.column12.Format = "@Z 999,999,999"

foxy
This post is provided as is. Feel free to use all the codes and information, however understand that I don't have any obligations to fix any bug(s) or follow up this subject.

Offline sikos

  • Full Member
  • *
  • Posts: 94
Re: Menghilangkan Angka 0 di Grid
« Reply #3 on: November 06, 2012, 11:50:46 AM »
he he..jadi inget FOXDOS @.... say ... pict '@z...' he he he ...

Offline foxy

  • Fox-id M.V.P
  • Hero Member
  • *
  • Posts: 3.605
    • Foxy Land
Re: Menghilangkan Angka 0 di Grid
« Reply #4 on: November 06, 2012, 11:56:34 AM »
he he..jadi inget FOXDOS @.... say ... pict '@z...' he he he ...

Hehehe... betul pak. Memang kelihatannya property format di adaptasi dari klausa PICT di @... SAY. Oh ya, untuk @pujianto: kalau di column sudah pakai Format, sebaiknya hilangkan saja setting property InputMask (kalau ada). Rasanya malah akan bentrok. :)

foxy
This post is provided as is. Feel free to use all the codes and information, however understand that I don't have any obligations to fix any bug(s) or follow up this subject.

Offline Pujianto

  • Junior Member
  • *
  • Posts: 319
Re: Menghilangkan Angka 0 di Grid
« Reply #5 on: November 06, 2012, 12:27:19 PM »
Mantabs..
Thanks to Pak Foxy..
MasalahTelah Terselesaikan..
 :icon_salut: :icon_salut: :icon_salut: :icon_salut: