User Profile

Collapse

Profile Sidebar

Collapse
spideynok
spideynok
Last Activity: Apr 4 '12, 03:30 AM
Joined: Feb 16 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi NeoPa! Thank you thank you so much! The error is on me, The problem is I'm putting the code to the search button on the mainform not on a subform, then when I try to put the code on the search button in the subform. It WORKS!!! THANK YOU THANK YOU THANK YOU!

    Code:
    Private Sub Command26_Click()
            Dim strFilter As String, strFilters() As String
            Dim intX As Integer
         
            With Me
    ...
    See more | Go to post

    Leave a comment:


  • Thank you sir. The Null issue was solved. I will try and play on the code on when I enter a value it will look for the value that I enter. Because as of now the code given on post #10, It filters the record to 300 record even I put a Card Number which doesn't exist. Thank you Thank you sir. :)
    See more | Go to post

    Leave a comment:


  • Hi sir. I'm sorry for that unclear question.

    What I was saying is that when I click the button which I use as a Search Button using NULL value it filters my 50k++ record into 300 records, and when I put a value on it like a Card Number, It still shows me the 300 records and not looking for the value that I put on the textbox.
    See more | Go to post

    Leave a comment:


  • hehe Thank you so much sir :)
    See more | Go to post

    Leave a comment:


  • It Works! Thank you thank you thank you sir!

    but the thing is. I can't use the textbox as a search box? uhmm when I enter a value. It will filter to 300 data. not including the one I putted?
    See more | Go to post
    Last edited by spideynok; Mar 20 '12, 03:35 AM. Reason: It works. Just another question.

    Leave a comment:


  • Thank You Sir NeoPa.

    BTW I changed some names as what you said. I came up with this.

    LEGEND
    • Text24 = Textbox where I will input the value that I want to search.
    • Card_Number = Name of the column where the data stored that I want to search.

    Code:
    Private Sub Command26_Click()
    
        Dim strFilter As String, strFilters() As String
        Dim intX As Integer
         
        strFilters
    ...
    See more | Go to post

    Leave a comment:


  • Search Multiple Data : Textbox and Search Button in Form

    Hi! I had a code that can search, just enter any keyword like. If I want to search "Access" I can put Acc only and then it will show me all record that has "Acc" on the database like Access, Accelerate, etc.

    My question is. It is possible if I also do that in multiple search? Using comma as a separator?

    For example : I will put [Acc, Ex] on my textbox. Is it possible for it to show me the record like....
    See more | Go to post

  • spideynok
    started a topic Search/Filter Working but has some error

    Search/Filter Working but has some error

    Hi! I have a code..
    Code:
    Private Sub Command18_Click()
    'Update the record source
        Me.SMS_ValidateSubform.Form.RecordSource = "SELECT * FROM SMS " & BuildFilter
            
        ' Requery the subform
        Me.SMS_ValidateSubform.Requery
    End Sub
    and..

    Code:
    Private Function BuildFilter() As Variant
        Dim varWhere As Variant
        Dim
    ...
    See more | Go to post

  • spideynok
    replied to Search/Filter
    Yes filtering.. and also like i use it as search. i had a unbounded text box.. and a find record button where i put that code.. and its like when.. example.. im looking for a card number 12345678 for me to show that data.. i need to put exact data like 12345678.. and i want to do is when i put 1234567.. all data that has 1234567 will show.. like 12345671, 12345678, 12345679.. like that..

    Again thank you sir :)
    See more | Go to post

    Leave a comment:


  • spideynok
    replied to Search/Filter
    can i ask sir NeoPa what code i need to put on it?
    See more | Go to post

    Leave a comment:


  • spideynok
    started a topic Search/Filter

    Search/Filter

    Goodmorning!

    i have a code
    Code:
    Private Sub btnFilter_Click()
        Dim strFilter As String
      
        With Me
            If .txtFindCardNumber > "" Then
                strFilter = Replace(.txtFindCardNumber, ", ", ",")
                strFilter = "[Card_Number] In('" & Replace(strFilter, ",", "','") & "')"
            End
    ...
    See more | Go to post

  • spideynok
    replied to MOD Function in MS ACCESS
    Thanks Rabbit but im a little bit confuse on how can i use it as an operator?
    See more | Go to post

    Leave a comment:


  • spideynok
    replied to MOD Function in MS ACCESS
    but am i able to use that operator on that kind of computation?
    See more | Go to post

    Leave a comment:


  • spideynok
    started a topic MOD Function in MS ACCESS

    MOD Function in MS ACCESS

    Hi. I'm a newbie regarding the use of MS Access and i have some problem that i would like to ask for a help or an answer..

    i use this EXCEL formula
    Code:
    =IF(ISBLANK(I5),"",(NETWORKDAYS(F5,I5,HolidayList)-1)*(DayEnd-DayStart)+IF(NETWORKDAYS(I5,I5,HolidayList),MEDIAN(MOD(I5,1),DayEnd,DayStart),DayEnd)-MEDIAN(NETWORKDAYS(F5,F5,HolidayList)*MOD(F5,1),DayEnd,DayStart))
    then i create the same system on MS Access....
    See more | Go to post
No activity results to display
Show More
Working...