473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can I scan an open table for CRLF's with Edit/Find or CTRL-F?

MLH
And if I cannot, what is the best way to look for occurrences of CRLF
pairs in a text field? Of course, I'm talking about Chr$(13) and
Chr$(10).
Mar 12 '06 #1
2 1830

Make a bit of VBA-code, and use the build-in constant vbCrLf .

If you need to do it more often, you can create a macro that calls the
routine (and remember to write it as a function then)
Bas Hartkamp.


"MLH" <CR**@NorthState.net> schreef in bericht
news:9a********************************@4ax.com...
And if I cannot, what is the best way to look for occurrences of CRLF
pairs in a text field? Of course, I'm talking about Chr$(13) and
Chr$(10).

Mar 14 '06 #2
MLH
Thanks Bas.

I found this would work:
SELECT tblVehicleJobs.VehicleJobID, tblVehicleJobs.VehicleMake,
InStr(4,[VehicleMake],Chr$(13) & Chr$(10),1) AS CRLFposn FROM
tblVehicleJobs;

But this would not:
SELECT tblVehicleJobs.VehicleJobID, tblVehicleJobs.VehicleMake,
InStr(4,[VehicleMake],vbCRLF,1) AS CRLFposn FROM tblVehicleJobs;

Was hoping that with an open table, I could tab to a particular field,
press CTRL-F and put some magic into the criteria field & PRESTO!
But I see that ain't gonna happen.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Tue, 14 Mar 2006 09:42:33 +0100, "HS Hartkamp"
<ha**************@wanadoo.nl> wrote:

Make a bit of VBA-code, and use the build-in constant vbCrLf .

If you need to do it more often, you can create a macro that calls the
routine (and remember to write it as a function then)
Bas Hartkamp.


"MLH" <CR**@NorthState.net> schreef in bericht
news:9a********************************@4ax.com.. .
And if I cannot, what is the best way to look for occurrences of CRLF
pairs in a text field? Of course, I'm talking about Chr$(13) and
Chr$(10).


Mar 17 '06 #3

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

Similar topics

3
by: Marcus | last post by:
Hi I have a very complex sql query and a explain plan. I found there is a full table scan in ID=9 9 8 TABLE ACCESS (FULL) OF 'F_LOTTXNHIST' (Cost=84573 Card=185892...
1
by: Just Me | last post by:
Table A contains a list of colors (example red, blue, green) Table B contains a variation of the colors in Table A (example light-red, medium-red, dark-red) To add a color variation to Table...
15
by: Tony Williams | last post by:
I have two forms, frma and frmb, both are for inputting new records and are based on a table, tblmonth, both have two controls, txtmonth and txtmonthlabela which are based on the fields in the...
3
by: chris f | last post by:
In my table (ASP.NET 2) that is dynamically generated I have a cell that initially will only display N rows of text and hide the rest. (This is so that the rows have a small height and I can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have 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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.