473,473 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How did my users do this?

Doing an export to text file thing for the courier company's labels. Which
wants text delimited by | records by CrLf.

Some of the records have a CRLF in one field. Try as I might I can't get one
in from the user interface by typing. I want to make sure that doesn't
happen again. Apart from pasting from another app, is there any other way
they could have got crlf into a field?

Thanks, Mike
Nov 13 '05 #1
5 1339
Cntl+Enter puts a CrLf into a field.

Or simply pressing Enter if the text's box's EnterKeyBehavior is set to New
Line In Field.

You may be able to use the Replace() function to locate Chr(13) & Chr(10),
and replace with something else.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Mike MacSween" <mi************************@btinternet.com> wrote in message
news:41*********************@news.aaisp.net.uk...
Doing an export to text file thing for the courier company's labels. Which
wants text delimited by | records by CrLf.

Some of the records have a CRLF in one field. Try as I might I can't get
one in from the user interface by typing. I want to make sure that doesn't
happen again. Apart from pasting from another app, is there any other way
they could have got crlf into a field?

Thanks, Mike

Nov 13 '05 #2
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41***********************@per-qv1-newsreader-01.iinet.net.au...
Cntl+Enter puts a CrLf into a field.
Of course, I forgot. I kept trying Shift+Enter, but that's the 'soft new
line' thingy in Word and such like.
Or simply pressing Enter if the text's box's EnterKeyBehavior is set to
New Line In Field.


Enter's always next field, apart from memos.

Mmmm. I'd forgotten about Ctrl+Enter. I don't really want to trap for CRLF
on every field.

Then again, I only found 2 across 9 fields in 4270 records when I just did a
query. It's probably low down the urgency list. Especially if I:

1. Warn the users about it
2. Run my check query once a month.

Thanks, Mike
Nov 13 '05 #3
Mike MacSween wrote:
Apart from pasting from another app, is there any other way
they could have got crlf into a field?


Ctrl-Enter

It's what I used to do on text boxes for memo or large text fields and
in fact put instructions for users to do so for line breaks in my status
bar text before I discovered the Enter Key Behaviour property.... 8)

--
Tim
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #4
[Ctrl] + [Enter]

HTH.

~ Duane Phillips.

"Mike MacSween" <mi************************@btinternet.com> wrote in message
news:41*********************@news.aaisp.net.uk...
Doing an export to text file thing for the courier company's labels. Which
wants text delimited by | records by CrLf.

Some of the records have a CRLF in one field. Try as I might I can't get
one in from the user interface by typing. I want to make sure that doesn't
happen again. Apart from pasting from another app, is there any other way
they could have got crlf into a field?

Thanks, Mike

Nov 13 '05 #5
Mike MacSween wrote:
Doing an export to text file thing for the courier company's labels. Which
wants text delimited by | records by CrLf.

Some of the records have a CRLF in one field. Try as I might I can't get one
in from the user interface by typing. I want to make sure that doesn't
happen again. Apart from pasting from another app, is there any other way
they could have got crlf into a field?


I won't mention Ctrl+Enter as it's been mentioned b4.... D'Oh!

When exporting, I use Replace([field],VbCrlf,"\n") then do the reverse
on the import to the next system.

--
This sig left intentionally blank
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: tcm-users-request | last post by:
This pre-recorded message is being sent in response to your recent email to tcm-users-request@listserv.cs.utwente.nl. All routine administrative requests (including subscriptions and...
16
by: Wayne Aprato | last post by:
I have several Access 97 databases which are split into front end and back end running off a server. The front end mde is shared by 2 or 3 - absolute maximum of 6 concurrent users. This scenario...
3
by: Shane Suebsahakarn | last post by:
I have a rather odd problem that I'm at a loss to explain. The mdb is in A2K2 format, and has many tables linked to around 3-4 different back end mdbs. It is running on a Win2K3 server (set up as...
2
by: Paul Steele | last post by:
I am developing a client/server app and would like to use .NET Remoting to allow the server to communicate with clients. I've been able to test this with a single client, but .NET Remoting seems to...
14
by: John | last post by:
Hi We have an SBS2000 server which has an access database running internally, supporting around 20 users. The server is connected to a broadband connection. Is it viable for us to run an asp.net...
3
by: Philip Tepedino | last post by:
I'm having an odd problem. My website's session state is getting shared between users! This problem only happens when a user tries to access the site from inside our corporate LAN. The user,...
1
by: Nita Raju | last post by:
Hi, In my application i have to use different XML files for different users. I use the cache dependency for the Xml file with the dataset. When multiple users are accessing the site will there...
8
by: rodchar | last post by:
hey all, my vb.net program creates a file a the c:\root but when the users run it they get denied. what are some different ways to resolve this authority issue? what's the best way to do this? ...
4
by: Ofer | last post by:
Hi All, We use the ASP.Net end-user management system. How to "Suspend" and "UnFreeze" end users? Our web app should have a web form that allows our customers to temporarily suspend one of...
6
by: Matt Adamson | last post by:
Guys, I'm unsure how to use windows authentication in an intranet application. I'd like to user existing windows account to identify users however the issue I have is how to then add settings to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.