Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Hasu
  • Order by date
  1. Hasu

    cbo/cbo filter small problem

    Try this, OnUpdate, 1st box: Dim sSecIDSource As String sSecIDSource = "SELECT SecID, MgrID, tckr, Description " & _ "FROM tblSecurities " & _ "WHERE MgrID = " & Me.combo18.Value Me.combo4.RowSource = sSecIDSource Me.combo4.Requery Hope this helps... :-) Hasu
  2. Hasu

    cbo/cbo filter small problem

    Hi Simon, Your code should work fine, there is no coding error. Could you explore more how did you code first combobox? Hope this helps... :-) Hasu
  3. Hasu

    filter assistance requested

    Hi cyberbob, sorry for delay! Que. 1 : could you please explain why your code worked and mine doesn't? Answer 1: in your code, option-1: Me.Filter = "[performer] like" & filname that should be Me.Filter = "[performer] like '" & filname & "'" text type always...
  4. Hasu

    opening database window

    Hi drewaman, place below code inside new button click event to open database window. DoCmd.SelectObject acTable, , True Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  5. Hasu

    filter assistance requested

    Hi cyberbob, try this: Private Sub FilPerformer_AfterUpdate() filname = DLookup("[performer]", "List of Surveillance_ Performers", "[IDnumber] = " & [FilPerformer]) MsgBox filname Me.Filter = "[performer] = '" & filname & "'" Me.FilterOn =...
  6. Hasu

    Making a form read-only

    Hi, Just one line of code will work perfect for you. Just open form in readonly mode like: DoCmd.OpenForm "Form1", , , , acFormReadOnly Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  7. Hasu

    How to check if there are other forms opened

    Hi, Following code will work for you, ------------------- Dim frm As Form For Each frm In Forms If frm.Name <> Me.Name Then MsgBox &quot;close other forms&quot;, vbInformation Exit Sub End If Next frm ------------------- Hope this helps... :-) Hasu (Trust on someone...
  8. Hasu

    &quot;No Hits&quot; Message for null recordset

    Hi You can get message when searches hits no records. Just changes/add couples of places and it will works. ---------------------------------- Dim sqlF As String If IsNull(Me!Formula) = True Then sqlF = &quot;((Formula) Like '*')&quot; Else sqlF =...
  9. Hasu

    Please help - view records based on user's selection(s)

    Hi Donna, I think you are looking for same as I written in this FAQ faq702-3924 Please go through this FAQ and if you needs more help I will help you by posting on Forum. Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  10. Hasu

    Input Mast Help

    Hi, Better to use Text as data type that will allow you to do any kinds of masking on your database. You can use Number data type with Double, but thats not goos way to store masking value into nnumber format. Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  11. Hasu

    Form Opens Without Showing Data

    Hi, set form properties: &quot;Data entry= No&quot; Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  12. Hasu

    Track date record modified

    set userfield of Required is no in your table. Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  13. Hasu

    Track date record modified

    Hi, use following code in Form Dirty event: Private Sub Form_Dirty(Cancel As Integer) dateField = Date() userField = strUser End Sub Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  14. Hasu

    Export Access record into Excel

    Hey Marko, You can create a Make-Table query to move selected records, this will create temp table and you can specify nos of fields, criteria in where clause. after creating query use below code to run and export into excel. DoCmd.SetWarnings (False) DoCmd.OpenQuery...
  15. Hasu

    having two drop down list.. related to each other

    File has to be zipped and less than 2MB. mail me on mistry.hasmukh@syncrude.com Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  16. Hasu

    Export Access record into Excel

    Hi Marko, try this, DoCmd.OutputTo acOutputTable, &quot;mytest&quot;, acFormatXLS, CurrentProject.Path & &quot;\mytestfile.xls&quot; Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)
  17. Hasu

    having two drop down list.. related to each other

    I tried your code as well. It's working fine. make sure you create adfterupdate event from comboRegion properties event box. -Hasu
  18. Hasu

    Running an excel macro inside access

    Hey guys, First of all create Macro1 in Book1.xla excel file and save it and then close that file. Now, create a button on access form and paste below code in button click event, this code will run macro of excel and after you can open excel fiel to verify. Private Sub cmdCallMacro_Click()...
  19. Hasu

    having two drop down list.. related to each other

    Sorry! I made a mistake. use school in place of region after distinct keyword. Private Sub Combo73_AfterUpdate() Combo35.RowSource = &quot; select distinct School from school where region ='&quot; & Combo73 & &quot;'&quot; Combo35.Requery End Sub Hope this helps... :-) Hasu (Trust on...
  20. Hasu

    Filtering using data contained in two combo boxes

    You might be get some idea from this FAQ faq702-3924 Hope this helps... :-) Hasu (Trust on someone, someone will trust you!)

Part and Inventory Search

Back
Top