Search results

  1. editolis

    How to delete linked tables programmatically

    I Use this code: Function RemoveLinkedTables() On Error Resume Next Dim db As Database Dim tdf As TableDef Dim intCount As Integer, intPos As Integer Set db = DBEngine(0)(0) intCount = db.TableDefs.Count - 1 For intPos = intCount To 0 Step -1 Set tdf =...
  2. editolis

    Hide / Unhide All forms - reports - Modules

    Here in this forum i find out how we can hide/unhide the qry's. Can we do someyhing similar with forms-reports-modules? The code for the qry's: ====================== Function HideQuerys() Dim qry As QueryDef Dim x As Integer For Each qry In CurrentDb.QueryDefs If...
  3. editolis

    Hide / Unhide All forms - reports - Modules

    Dear Dave There is no any particular reason. I am just curious to find out. So do have any suggestion?
  4. editolis

    Hide / Unhide All forms - reports - Modules

    Hi all, Can someone show me how we can hide / unhide with a command button: all forms, reports and modules from a database? Thank you in advance.
  5. editolis

    Column Closest number

    Jdraw, Fantastic work... Thank you
  6. editolis

    Column Closest number

    jdraw Please check out this thread for extra ideas to solve my problem: http://www.access-programmers.co.uk/forums/showthread.php?t=149930
  7. editolis

    Column Closest number

    That's Correct Brian. Brian i am waiting for your opinion here....
  8. editolis

    Column Closest number

    Thank you both for the help but this is not what i am looking for. "It only does 1 Nid at a time". This is ok but i need with one qry to show me all the 3 rows from the closest number based on the nID. So i don't want to have a parameter. If i pull out the parameter then it show's me only...
  9. editolis

    Column Closest number

    Hi All, I Need a help with a qry. I have 2 tables and they are connected by nID. The table 2 is made by previous qry. The first table have 200 rows and the second have 50.000 rows. Each one have a column named DiffA with double numbers like: 2,02 – 7,89 – 15,01 etc… I Want from...
  10. editolis

    Only have the .accde file for our database

    I Suggest you to hire Uncle Gizmo. Is one of the TOP developers on this forum.
  11. editolis

    Long text as default value for memo field

    I am guessing that you trying to copy the 'memo field' when you have opened the 'zoom box'. I see that bug only on access 2007. The best solution is to mark the total field with your mouse and then use the ctrl+c to COPY and then paste it with ctrl+V.
  12. editolis

    Specific FILTER

    OK FINALLY THIS IS: Me.frmISSNSub.Form.RecordSource = "SELECT TOP 1 qryISSN.* FROM qryISSN " & BuildFilterSpec _ & " ORDER BY Abs(DiffB-" & str(Me.DiffB) & " );" Thank you wiklendt. Do you have paypall account for the 3$?
  13. editolis

    Specific FILTER

    OK here is the situation: when i use 1 of this 2 examples everything is ok: ============================================================= Me.frmISSNSub.Form.RecordSource = "SELECT * FROM qryISSN " & BuildFilterSpec ========================= OR ==================...
  14. editolis

    Specific FILTER

    [code] str(Me.DiffA - Me.txtMargin) & " AND " & str(Me.DiffA + Me.txtMargin) & " AND " Thank you for your reply Wiklendt. I am one step further now. Here is the SOLUTION i have but i am trying to figure out how i am going to do it and put them all together because this sql change...
  15. editolis

    blank query results convert to 0

    Check your DB and inform if i have fix your problem and this is your solution.
  16. editolis

    blank query results convert to 0

    Can you post a database with the apropriate tables and the qry? Your issue is simple to found a solution.
  17. editolis

    blank query results convert to 0

    Create a module and put this function: '====================================== Function NullToZero(varValue As Variant) As Variant If IsNull(varValue) Then NullToZero = 0 Else NullToZero = varValue End If '========================================== End Function...
  18. editolis

    Specific FILTER

    I found this and is ok for now but is not exactly what i am looking for. If Me.chkDiffA = -1 Then varWhere = varWhere & "[DiffA] Between " & _ str(Me.DiffA - 0.25) & " AND " & str(Me.DiffA + 0.25) & " AND " End If Some times the numbers are bigger or smaller. I need the...
  19. editolis

    Specific FILTER

    Hi All, I am using the following filter on my form to see some results from a sub form when I press a button. ====================================================================== If Me.chkGrand = -1 Then varWhere = varWhere & "[GrandSyn] = " & str(Me.GrandSyn) & " AND "...
  20. editolis

    acSavePrompt

    What is this? A Joke? If this is not a joke try this: Docmd.close acform, me.name Docmd.quit
Back
Top Bottom