|
-
Feb 22nd, 2006, 04:52 PM
#1
[RESOLVED] Access 2K3 Textbox vbCrLf..??
I have some textboxes on a form.. the data comes from a table...
the field (ADDRESS) has a vbcrfl in it that is not being seen by the textbox??
if I copy/paste the data from the textbox to notepad I get the CrLf.. but in access it squashes the 2 lines together?
Example:
In Access I see this:
1000 West Orange
AveAnaheim, CA 12345 <<<NOTE: It word wraps due to the size...
in notepad...
1000 West Orange Ave
Anaheim, CA 12345
I dont see a multiline property? and the scrollbar shows....????
Thanks!
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Feb 22nd, 2006, 04:55 PM
#2
Re: Access 2K3 Textbox vbCrLf..??
and.. get this.. its IN there!??
msgbox instr(Form_frmMain.ADDRESS,vbcrlf) = 21
and.. if I put the cursor in the spot where it should be then add an "ENTER" to it.. it does this:
1000 West Orange Ave
Anaheim, CA 12345
????????????
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Mar 1st, 2006, 04:41 PM
#3
Re: Access 2K3 Textbox vbCrLf..??
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Mar 2nd, 2006, 03:37 AM
#4
Re: Access 2K3 Textbox vbCrLf..??
Set the "Enter Key Behavior" property to - "New Line in Field" and that is the equilivalent to a VB6 multiline textbox. If its left at "Default" it will tab to the next control in the tab order when you press the enter key.
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 2nd, 2006, 08:44 AM
#5
Re: Access 2K3 Textbox vbCrLf..??
I already have it set to that... doesnt make any differencethis is driving me crazy! lol
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Mar 2nd, 2006, 12:43 PM
#6
Re: Access 2K3 Textbox vbCrLf..??
Try it on a new textbox as it works fine for me also on 2003.
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 2nd, 2006, 01:46 PM
#7
Re: Access 2K3 Textbox vbCrLf..??
after many attempt and test... I finally wrote a function to show me what was in each field... the ones with problems had only vbLF in them... did a replace... all good now (except for a few where there is a vbCrLf after the street number... not sure how I managed that lol) thanks!!!!!!!!!!!
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
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
|