|
-
Oct 17th, 2005, 11:58 AM
#1
Thread Starter
New Member
[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?
-
Oct 17th, 2005, 12:13 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Oct 17th, 2005, 12:22 PM
#3
Thread Starter
New Member
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.
-
Oct 17th, 2005, 12:23 PM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Oct 17th, 2005, 12:44 PM
#5
Re: Command Button hyperlink property from Record
 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.
-
Oct 17th, 2005, 12:50 PM
#6
Thread Starter
New Member
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.
-
Oct 17th, 2005, 12:55 PM
#7
Re: Command Button hyperlink property from Record
 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.
-
Oct 17th, 2005, 12:58 PM
#8
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|