User Profile

Collapse

Profile Sidebar

Collapse
dontbe
dontbe
Last Activity: Mar 25 '08, 04:06 AM
Joined: Nov 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi,

    Maybe You can add this code on Change event in your textbox
    Code:
    Dim ChrSet As String, chrpos As Integer, getchr As String
    ChrSet = Text1.Text
    If IsNumeric(ChrSet) = False Then
        If Len(ChrSet) <> 0 Then
            chrpos = InStr(1, ChrSet, Right(ChrSet, 1), vbTextCompare)
            getchr = Right(ChrSet, 1)
            Text1.SelStart = chrpos - 1
            Text1.SelLength
    ...
    See more | Go to post

    Leave a comment:


  • dontbe
    replied to Validating a Textbox to numeric
    You use this to only number can accept by a Textbox
    1. Declare this API at You Declration Section (in your form/module):
    Code:
    '&& Only Allowing Number In Texttbox
    Public Declare Function GetWindowLong Lib "user32"  Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
        
    Public Declare Function SetWindowLong Lib "user32" Alias    "SetWindowLongA"
    ...
    See more | Go to post

    Leave a comment:


  • dontbe
    started a topic Add formula to Data Report

    Add formula to Data Report

    Hi Guys, I'm newbie in this forum,.. and i'm having trouble with Data Report.

    I've been read about How to Create Dynamic Report (thanks to Creative1).
    But now i have some other trouble (sorry about my English).

    Here's the case:
    1. I create a report for sales inventory, from two table Master_head an Mst_inv, heres the query
    Code:
     SELECT I.`TANGGAL`, I.`PLU`, I.`Q_FIRST_I`, I.`Q_REC_I`, I.`Q_RET_I`,
    ...
    See more | Go to post
No activity results to display
Show More
Working...