Results 1 to 8 of 8

Thread: [RESOLVED] Command Button hyperlink property from Record

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Bentonville, Arkansas
    Posts
    15

    Resolved [RESOLVED] Command Button hyperlink property from Record

    I am trying to assign a hyperlink field in my table to a command button on a form. I realize I could easily use a text box and show the field's value, but want the asthetics of a command button instead.

    The form's record source has the field included in the field list. However, I can't figure out how to assign the command button's hyperlink address property to the corresponding record's hyperlink value.

    Any thoughts?

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Command Button hyperlink property from Record

    What do you mean by "hyperlink field in my table"? Is it a grid in vb6 or an access db table or an Exccel link, etc.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Bentonville, Arkansas
    Posts
    15

    Re: Command Button hyperlink property from Record

    Sorry for the confusion. I have a table in Access with the hyperlink address as a field. The form is based on that table. I just want to assign that hyperlink field to the hyperlink address property of a command button.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Command Button hyperlink property from Record

    Is your form an Access form too then?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Command Button hyperlink property from Record

    Quote Originally Posted by jtnelso
    Sorry for the confusion. I have a table in Access with the hyperlink address as a field. The form is based on that table. I just want to assign that hyperlink field to the hyperlink address property of a command button.
    There is no hyperlink property to a VB command button.

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Bentonville, Arkansas
    Posts
    15

    Re: Command Button hyperlink property from Record

    Yes, the table, queries, and forms are all in Access.

    Hack, in Access, a command button has a "hyperlink address" property. That is what I am trying to populate using the table the form is bound to.

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Command Button hyperlink property from Record

    Quote Originally Posted by jtnelso
    Yes, the table, queries, and forms are all in Access.

    Hack, in Access, a command button has a "hyperlink address" property. That is what I am trying to populate using the table the form is bound to.
    Ahhh....then this really should be in the VBA/Office Development section. Otherwise, you are probably going to get more posts like mine wondering what the heck is going on?

    Moved to Office Development.

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Location
    Bentonville, Arkansas
    Posts
    15

    Re: Command Button hyperlink property from Record

    Thanks for the move...sorry. I didn't see this forum listed when I posted.

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