|
-
Feb 22nd, 2005, 10:10 AM
#1
Thread Starter
Addicted Member
How to add static labels to form
Hello there,
I have a Company table and Order table. While showing the Order form I want the company information to be displayed at the top and should be static. How do I do it?
Regards,
Piyush
Last edited by pbuddy_8; Feb 23rd, 2005 at 07:46 AM.
-
Feb 22nd, 2005, 12:13 PM
#2
Re: How to add static labels to form
What type of Form are you using? You should be able to add a label from the toolbox and either type
in the text or change it to a textbox and assign the controlsource to one of your fields in
your company table.
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, 2005, 09:21 PM
#3
Thread Starter
Addicted Member
Re: How to add static labels to form
Thanks this works fine when the DataEntry property of form is set to No i.e. the form opens in edit mode. But when it's set to yes then I get those textboxes blank and as soon as I enter a record they are filled.
-
Feb 23rd, 2005, 12:25 AM
#4
Re: How to add static labels to form
If you form is being presented in a DataSheet view for data entry then you can not do it
this way. You need to set up a main form with the static lables on it and an area for a subform.
This subform will be the DataSheet data entry form so to speak.
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, 2005, 07:42 AM
#5
Thread Starter
Addicted Member
Re: How to add static labels to form
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
|