Results 1 to 3 of 3

Thread: Anyone Using Access Projects

  1. #1

    Thread Starter
    Hyperactive Member rplcmint's Avatar
    Join Date
    Jan 2001
    Location
    Stockton, CA
    Posts
    333

    Anyone Using Access Projects

    And are the set of libraries the same as a regular mdb app? I'm having a hard time locating a MSFlexgrid on a form in .adp. Anyone know any great websites that have tutorials.


    Is this another bogus tool that Microsoft tried to push but no one uses?

  2. #2
    Member
    Join Date
    May 2004
    Location
    Huntington WV
    Posts
    49

    I am using FLEXGRID

    I am using MSFLEXGRID on a project with a ADO connection. Though it is not well documented by Microsoft it does seem to work well. However, I do not understand your question. What are you trying to do?

  3. #3

    Thread Starter
    Hyperactive Member rplcmint's Avatar
    Join Date
    Jan 2001
    Location
    Stockton, CA
    Posts
    333
    Pretty much figured it out...auto syntax check wasn't working for a MSFlexgrid "msfg90DayQueue" sitting on my form (couldn't see the properties and methods), so I had to code this way:

    Public Sub Retrieve90Days()
    Dim cmd As ADODB.Connection
    Dim rs As ADODB.Recordset
    Dim ctrl As MSFlexGridLib.MSFlexGrid 'Create a Grid instance

    Set cmd = New ADODB.Connection
    With cmd
    .ConnectionString = sConn
    .Open
    End With

    Set rs = New ADODB.Recordset
    With rs
    .CursorLocation = adUseClient
    .CursorType = adOpenStatic
    .ActiveConnection = cmd
    .Open ("EXEC Check_90Days_TransDBOnly")
    Set .ActiveConnection = Nothing
    Debug.Print .RecordCount
    End With

    Set ctrl = Me.msfg90DayQueue.Object 'Set a reference to the form grid.

    Call PopulateGrid(ctrl, rs) 'Pass the control and recordset to the Subroutine

    Set rs = Nothing
    Set cmd = Nothing
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width