dcsimg
Results 1 to 4 of 4

Thread: Cannot insert the DataGrid control into a form

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2019
    Posts
    2

    Cannot insert the DataGrid control into a form

    Hello,

    I want to use the DataGrid control in order to show some MS SQL table data into a form, but I'm getting the message:
    "The subject is not trusted for the specified action".
    Please suggest a solution, as I cannot get rid of this message.
    I'm using VB for Applications 7.1.
    Sorry for posting into VB 6, but I didn't find anything about VB 7 or VB 7.1

    Initially I used the ListBox control which worked OK, but I noticed that it's limited to 10 columns and my table has 11..

    Thanks for your support.

    Kind regards,

    Emil

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    33,885

    Re: Cannot insert the DataGrid control into a form

    VB for Applications is generally called VBA, though I've never heard it named quite as explicitly (down to a version number) as you have done. For that reason, I moved the thread to Office Development, as that is the forum for VBA. It may turn out that the move was incorrect, if so, just report it, and we'll get it to the right place.
    My usual boring signature: Nothing

  3. #3
    Frenzied Member jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    1,378

    Re: Cannot insert the DataGrid control into a form


  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2019
    Posts
    2

    Resolved Re: Cannot insert the DataGrid control into a form

    Hello,

    The solution suggested in the second link worked for me.

    Thanks a lot for your support.

    Kind regards,

    Emil

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width