|
-
Mar 29th, 2006, 07:51 AM
#1
Thread Starter
Addicted Member
how to link buttons within access
i need to know how to link a button which is on a form to bring up a database within access.
thankyou
-
Mar 29th, 2006, 07:59 AM
#2
Re: how to link buttons within access
How is this related to reporting?
What do you mean by "bring up a database"?
-
Mar 29th, 2006, 08:03 AM
#3
Thread Starter
Addicted Member
Re: how to link buttons within access
erm like click on a button then that loads up a table or form
-
Mar 29th, 2006, 08:15 AM
#4
Re: how to link buttons within access
Are you doing this in VB6 or Access only, or ???
What do you mean by "bring up" or "load"?
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 
-
Mar 29th, 2006, 08:20 AM
#5
Thread Starter
Addicted Member
Re: how to link buttons within access
i am doing it in Access only. By "bring up" i mean" i want to click on a button and a database will appear
-
Mar 29th, 2006, 08:24 AM
#6
Re: how to link buttons within access
The same database or a different one?
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 
-
Mar 29th, 2006, 08:27 AM
#7
Re: how to link buttons within access
Access VBA question moved to Office Development.
So, you want to load the contents of a table into a....
Listbox?
Combobox?
What?
-
Mar 29th, 2006, 08:34 AM
#8
Thread Starter
Addicted Member
Re: how to link buttons within access
-
Mar 29th, 2006, 08:37 AM
#9
Re: how to link buttons within access
You really need to explain a bit more of how and what your trying to acomplish.
If its the same database then its already displayed.
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 
-
Mar 29th, 2006, 08:59 AM
#10
Hyperactive Member
Re: how to link buttons within access
I think what he wants if im not mistaking, is to show the data in the table? Like he pushes a button...and the same thing happens as it would if you double clicked 'tblWhatever' in the tables tab.
Code:
If LostAngel.Tag = "Programming" then
LostAngel.Caption = "Awake"
Else
LostAngel.Caption = "Dreaming of Code"
End If
-
Mar 29th, 2006, 09:02 AM
#11
Re: how to link buttons within access
VB Code:
Private Sub Command1_Click()
Application.DoCmd.OpenTable "Table1", acViewNormal, acReadOnly
End Sub
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 
-
Mar 29th, 2006, 10:43 AM
#12
Hyperactive Member
Re: how to link buttons within access
That's it Rob...oh...I guess thats what *she* wanted....didn't see 'helen'.
Code:
If LostAngel.Tag = "Programming" then
LostAngel.Caption = "Awake"
Else
LostAngel.Caption = "Dreaming of Code"
End If
-
Mar 29th, 2006, 10:48 AM
#13
Thread Starter
Addicted Member
Re: how to link buttons within access
right i want a text box that searchers for something within a database when inputted.
for example i want to search within 2 databases for the word "helen" this will work via a button
Last edited by helen85; Mar 29th, 2006 at 11:00 AM.
-
Mar 29th, 2006, 11:23 AM
#14
-
Mar 29th, 2006, 11:50 AM
#15
Frenzied Member
Re: how to link buttons within access
When you write "databases" do you actually mean tables in a database? It would be considerably more work to search 2 separate databases than to search 2 tables in one database.
Tengo mas preguntas que contestas
-
Mar 29th, 2006, 11:57 AM
#16
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
|