Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 60

Thread: VB 6 need help

  1. #31

    'inig error i.debug dw,
    'den, asa dapit nga line mag.error bro

    'ask lng sab ko, unsa ning Row sa Call ClearGrid(grdRow, Row) ug Row=1??
    'g.declare ni nimo nga variable or wat?

  2. #32
    Quote Originally Posted by rhex_tendo View Post
    'inig error i.debug dw,
    'den, asa dapit nga line mag.error bro

    'ask lng sab ko, unsa ning Row sa Call ClearGrid(grdRow, Row) ug Row=1??
    'g.declare ni nimo nga variable or wat?
    gi declare nako na integer ang row

    pagdebug nako
    'CLEAR FUNCTION
    Public Sub Clear()

    Row = 1
    totalAmt = 0
    totalqty = 0

    dri cya magstart og error >>>txtCustNo.Text = ""
    txtPO.Text = ""
    txtItemCode.Text = ""
    txtQty.Text = ""
    txtPrep.Text = ""

    txtPO.SetFocus
    End Sub

    f

  3. #33
    bro naa ko prob gamay about sa vb, ngano mo "object required" mani sya bro kung magbutang ko txtidno.setfocus sa formload?any idea?....

  4. #34
    Quote Originally Posted by sprocket View Post
    bro naa ko prob gamay about sa vb, ngano mo "object required" mani sya bro kung magbutang ko txtidno.setfocus sa formload?any idea?....

    ''wla kay txtidno sa imo form..
    'i.check ang name sa textbox...

  5. #35
    Quote Originally Posted by lestat1116 View Post
    gi declare nako na integer ang row

    pagdebug nako
    'CLEAR FUNCTION
    Public Sub Clear()

    Row = 1
    totalAmt = 0
    totalqty = 0

    dri cya magstart og error >>>txtCustNo.Text = ""
    txtPO.Text = ""
    txtItemCode.Text = ""
    txtQty.Text = ""
    txtPrep.Text = ""

    txtPO.SetFocus
    End Sub
    Public Sub Clear()

    Row = 1
    totalAmt = 0
    totalqty = 0

    frmEntry.txtCustNo.Text = ""
    frmEntry.txtPO.Text = ""
    frmEntry.txtItemCode.Text = ""
    frmEntry.txtQty.Text = ""
    frmEntry.txtPrep.Text = ""

    frmEntry.txtPO.SetFocus
    End Sub

    '' frmEntry is ang name sa imo form kung diin toa nkabutang ang txtCustNo >>>>
    ''or pwd rsab imo na ibutang ang Public Sub Clear nga module sa imo form

  6. #36
    Quote Originally Posted by rhex_tendo View Post
    Public Sub Clear()

    Row = 1
    totalAmt = 0
    totalqty = 0

    frmEntry.txtCustNo.Text = ""
    frmEntry.txtPO.Text = ""
    frmEntry.txtItemCode.Text = ""
    frmEntry.txtQty.Text = ""
    frmEntry.txtPrep.Text = ""

    frmEntry.txtPO.SetFocus
    End Sub

    '' frmEntry is ang name sa imo form kung diin toa nkabutang ang txtCustNo >>>>
    ''or pwd rsab imo na ibutang ang Public Sub Clear nga module sa imo form
    i'll try this. ako man gud ibutang sa module kay gamiton nako sa update ang clear. mas easier kung ibutang sa form.

  7. #37
    try daw ni...

    For i = 1 To Row - 1
    totalAmt = totalAmt + Val(grdDisplay.TextMatrix(i, 5))
    Next i

    lblTotalAmt = format(val(totalAmt), "#.##")

  8. #38
    weeeeeeeeeeeeee!!!

    i want to learn this too!!!

    ehehehe

    DOWNLOAD SA KO UG VB6 ^_^

    NEWBIE!

    HOPE NAA MANUDLO ^_^

    para if mo abot na me ani , makamao nako ^_^

    -=PEACE=-

  9. #39
    'better use Cdbl than Val

    'to compare, try this:
    Msgbox Val("1,234.56")
    Msgbox Cdbl("1,234.56")

  10. #40
    unsa.on pagcheck if naay blank or empty sa database?

  11.    Advertisement

Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

 
  1. Need help in VB 6.0 and VB.Net?
    By rhex_tendo in forum Programming
    Replies: 10
    Last Post: 08-31-2010, 01:01 PM
  2. VBS need help
    By ManoyanX in forum Programming
    Replies: 2
    Last Post: 02-12-2010, 07:58 PM
  3. Replies: 1
    Last Post: 04-02-2009, 08:41 AM
  4. Who needs help with their vb/c# projects?
    By Cruzader in forum Programming
    Replies: 19
    Last Post: 02-24-2009, 02:44 PM
  5. Replies: 1
    Last Post: 07-30-2005, 01:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top