|
-
Feb 22nd, 2006, 01:33 AM
#1
Thread Starter
Addicted Member
Data Display in Access Form
HI all,
i have one DB in which i have one access table name Customer.
fileds of this table are CustomerID,CustomerName,CustomeAddress,CustomerCity
now i want to Display all Recods by four button First,Next,Last,Privous
so user can navigate all records Database is also in access and form is also in access can any one tell me how to do this ??
thanx in advance...
Nilesh Thakur. 
-
Feb 22nd, 2006, 01:38 AM
#2
Re: Data Display in Access Form
To start, set the recordsource property of your form to the table Customer. Then set the Record Selectors property to Yes. Then set the Navigation Buttons property to Yes. If you have any textboxes on your form set their Control Source property to the desired Field.
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 
-
Feb 22nd, 2006, 01:58 AM
#3
Thread Starter
Addicted Member
Re: Data Display in Access Form
Hi RobDog,
thanx for your help but i am totaly new in Access, so i have no idea in which editor i need to write my program, and how to start it...
i have worked in VB and access so can you pls tell me how do i start ??
one more thing is i have no of controls on my form each control are for no of fileds in table customer like text box and all and i have four button on my form like first,last,privous,next to navigate how do i wok on it ??
thanx ..
Nilesh Thakur. 
-
Feb 22nd, 2006, 02:07 AM
#4
Re: Data Display in Access Form
This form is in Access correct? If it is then view your form in Design view and click the menu View > Properties. In this properties window you will see the properties I listed. Make sure the properties window is displaying the data for the Form object.
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 
-
Feb 22nd, 2006, 02:37 AM
#5
Thread Starter
Addicted Member
Re: Data Display in Access Form
hi RobDog,
sorry i dont know your name that's why i use your username( RobDog ) only..
thanx for your help i have done all the steps as you tell me and it show me the Data from data base only one thing i have one label i want to display the data in this filed also as you told me from db how can i do this ??
do you know any best site which help as sample example and articale or forum for access ??
thanx onece again
Last edited by nileshhthakur2004; Feb 22nd, 2006 at 02:50 AM.
Nilesh Thakur. 
-
Feb 22nd, 2006, 02:50 AM
#6
Re: Data Display in Access Form
I am working on finishing my FAQ for this site soon so stay tuned and we get allot of traffic here with allot of knowledgeable members.
You can not bind a label control to a control source via a property setting. Can you use a textbox control instead?
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 
-
Feb 22nd, 2006, 02:57 AM
#7
Thread Starter
Addicted Member
Re: Data Display in Access Form
ok i will use the TextBox for Displaying CustomerID insted of using Label..
now i want to create one form which having ComboBox in it,which is bind with db table when user will select perticular records from ComboBox then Data related to it should be display in othere control's how can i do this ??
Nilesh Thakur. 
-
Feb 22nd, 2006, 03:08 AM
#8
Re: Data Display in Access Form
When you add a combo box control to yoru form a wizard should popup and give you three options. Select the bottom one that says - "Find record on my form based on the value I select in the combobox" and follow the steps in the wiz.
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 
-
Feb 23rd, 2006, 07:45 AM
#9
Thread Starter
Addicted Member
Re: Data Display in Access Form
hay RobDog,
thanx for you answer and help.....
yes i got it now i have one form on which i have two button's "Delete" and "ADD" when i clieck on edit button one form will opening "frmAddDelForm" form contain two button on it one for Delete and other for Add if i navigate form "frmAddDelForm" through Delete then on form "frmAddDelForm" only Delete button should display and add button is get visible false ... same for Add button how can i do this ??
thanx in advance...
Nilesh Thakur. 
-
Feb 23rd, 2006, 11:49 AM
#10
Re: Data Display in Access Form
Create a Public boolean variable in a Module so you can set it to True to display a button and False if not from the first form. Then in the Form_Load of the second form you can check it and act accordingly.
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 
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
|