Search Memo Field Using Another Field

Nov 8, 2006

I have a database and I need to search in the body of the memo field for information in another tables field. Please help.

table 1
field Driveline
data : 805983D1755

table 2
field memo
data:
Turn on Speedometer Switches:
NO SPDO SWTCHS REQD
C/B D/L = 804248D1795
C/B Location @ 3204.0
ALUM STD 1810 3HOLE 16MM R036-226
X = 47.9
Y = 120.0
Ctr Brg Brkt = K257-223-11
Rear D/L = 805983D1755

View Replies


ADVERTISEMENT

General :: Search Form For Memo Field

Feb 7, 2013

I'm developing a program to search several fields. One of which is a memo field with large characters. Using wildcard in the search form I made, it only returns the record if the first word of the field is typed in the search box. I want to type any word in any part of the field to return the record.

This is my code

' Check for LIKE Subject
If Me.txtsubject > "" Then
varWhere = varWhere & "[subject] LIKE """ & Me.txtsubject & "*"" AND "
End If

subject is a memo field.

View 5 Replies View Related

Forms :: Using A Form To Search Keywords In Memo Field

Dec 6, 2013

Currently, I am trying to search a memo field on a table by having the user enter keywords on a form (up to 10 keywords can be entered). It works when just one keyword is entered, however it doesn't work if more than one is entered. How do I account for more than one keyword being entered to search the memo field and return the recors where any of the terms show up in that field. Each one of the keywords [KW1] ...etc are in a separate unbound box.

Current formula looks as follows:
Like "*" & [Forms]![KeywordInputForm]![KW1] & "*" OR "*" & [Forms]![KeywordInputForm]![KW2] & "*" OR "*" & [Forms]![KeywordInputForm]![KW3] & "*" OR "*" & [Forms]![KeywordInputForm]![KW4] & "*" OR "*" & [Forms]![KeywordInputForm]![KW5] & "*" OR "*" & [Forms]![KeywordInputForm]![KW6] & "*" OR "*" & [Forms]![KeywordInputForm]![KW7] & "*" OR "*" & [Forms]![KeywordInputForm]![KW8] & "*" OR "*" & "*" & [Forms]![KeywordInputForm]![KW9] & "*" OR "*" & [Forms]![KeywordInputForm]![KW10] & "*"

Should I be using AND?

View 14 Replies View Related

Modules & VBA :: Insert CR / LF In Memo Field Based On Search String

Jan 16, 2014

I import a CSV field which has not preserved the CR/LF when it was exported from BCM Remedy. There is no setting for that. The memo field prints on my report like this:

A custom solution would be developed, that once implemented, could become the standard product in similar situation. Normally would assign to Network Engineering, but will work with Ray and the IPT Team to cost out the solution and get approval to proceed. 2012/05/24 10:44:28 AM PCOLLINS Sent to Ray Massie for review to determine if a solution needs to be proposed, or if they can wait for the National IPT solution to be ready in 2013.

I want to add VBA code that inserts a CR/LF in the memo field before all but the first occurance of a string that looks like a date, the first occurance doesn't need it. I will do it right after I import the CSV file into the table, so it happens only once, and it always prints and displays the CR/LF.

The memo field is called "NBS Update" and the table is called "CCRR Remedy Data"Here is what I have, but don't actually know what to put in to find the date and add a CR/LF:

Code:
Dim db As DAO.Database

Code:
Dim db As DAO.Recordset
Dim srtSQL As String

[code]...

View 14 Replies View Related

Converting A Text Field To A Memo Field

Jan 4, 2006

I am in the process of changing over a text field to a memo field to generate more space (in 5 different databases :eek: ) Thanks to all the good info on several searches of this forum, I am pretty clear on how to do that.

The question is... when I convert a field that already has information in it, will I lose the current information?

TIA,

Darnys

View 2 Replies View Related

Memo Field - How To Stop Highlighting In Field

Aug 7, 2006

when i change records, my subform that has a memo field, shows the memo field data is "highlighted". i can make a mistake and hit any keyboard key and the memo field data will get erased.

is there a way to prevent such a problem?

if not, is there a work around. eg, hide the memo field until needed for more input? ideas on both issues?

View 1 Replies View Related

Forms :: Delete Search Field In Order To Point To Appropriate Field?

May 6, 2013

I am using access 2010. I technically have an unbound form but I am changing the record source by command buttons. Switching between 3 command buttons. My problem is that I have a subform that I was linking to the form to an unbound search field. Now I want to switch the master and child links to a field on the form when I switch the record source which happen to be the same field as the unbound search field; however; it still pulls from the unbound search field rather than the field on the form. Do I need to delete the search field in order to get is to point to the appropriate field?

View 1 Replies View Related

Truncating Memo Field

Jan 26, 2006

I am using

DoCmd.OutputTo to export a query but this truncates the memo fields, but in the db window,right clicking and choosing to export does not truncate the data.


How do I code to output all the data without truncating?

View 1 Replies View Related

Memo Field Not Showing More Than 255

Jun 23, 2006

Hi guys and Girls

I have a txt box on a report which should show comments..
In the background table the field this txt box is bound to has a data type of memo. Yet the txt box on the report stops showing any more than 255 characters! any clues? I know 255 is the field size set for my Txt fields but memo fields should be able to display 65000000000000000 trillion characters with no problems.

When I look at the table the memo field has all the txt in it, it just wont display all the txt on the report.

Thanks for any help guys.

View 1 Replies View Related

Text Vs. Memo Field

Jul 28, 2005

Are there any other advantages in using a text field verses a memo field other than memory allocation? Memory allocation seems like such a small issue these days.

View 3 Replies View Related

Imported Memo Field

Mar 1, 2007

Hi, i have a fox pro memo field that has bill of materials information in like so:EACH KIT COMPRISES

1 CR10070SW £29.60 HALLITE PRODUCT
1 RBS24690 £0.82
1 RBS354 £0.95
2 RBS345 £0.75
1 S95MMEXT £3.90


£36.77 PER KIT

I need to take out the carriage returns but keep the items delimited in some way so they all apear on the one line. These are the child parts for kits so i need to keep them on one line as i import them or via a query so i can see the parent part they belong to.

Many Thanks

View 3 Replies View Related

Memo Field Length

Mar 26, 2007

Hello,

If I read the documentation then memo field in a Access table can be 65.000 chars long.
I have three memo fields in a linked ODBC table which is filled by a append query from SQL-server database. The text in these field is cut off by 255 chars.
Does somebody know what the cause of this can be?

1. Is there a limitation/property where I can configure the length of Access memo field? DAO? I have read something about this but I don't understand this.

2. How can I trace that everything is send from the source? Maybe it's cut off at the source site. On this moment I don't know something about a Linked tabel.
Is there a sniffer or trace tool so that I can see what kind of data is realy send?

Thanks in advance

Nico

View 2 Replies View Related

Query A Memo Field

May 31, 2005

Greetings All -

Let me say first I am a novice Access user, just trying to teach myself a few things to make my job easier. So take it easy on me with any feedback.

This is my situation. I am using a web based help desk ticketing software that has an Access DB. I have created a couple of queries and linked them together that seem to be working and giving me the data that I want with one exception.

I am tring to query a memo field, which is the description of a ticket, and the output is only a small portion of what is actually entered in to the table. Is there a way either in my query or report builder to make a change that will output all of the data from the description field?

A couple of things that I've tried on my own are to change the data type for that field from memo to text, however that that puts limits on the amount of data that can be entered in and causes the help desk software to function incorrectly. I've also turned on Can Grow and Can Shrink for the text box for the output in my form.

Any help you can offer would be greatly appreciated.

Thanks.
Jason

View 1 Replies View Related

Memo Field Truncating :s

Nov 23, 2005

Hi,

Ok, firstly i have search google and this forum from top to toe and no-1 has an answer that works for me.

I am running a query, now i have completely simplified it. The query is now just picking up a field called recommendations. Recommendations is a memo field with no formating or index on at all. Now, when i run the query as normal it works fine... everything is there. But when i have to group by it. It cuts it off at 255 charactors. The thing is i need to do some sums and counts within the query aswell so it has to be.

I have checked microsoft and there suggestions are not any use.

Any ideas???

View 2 Replies View Related

How To Query A Memo Field?

Dec 8, 2007

Hello,

I have Custormers table.

Name : Text
Address : Text
BDate : Date
Notes : Memo

Sometimes, I need to query Memo field.

I have a CForm which has a field named Search.
I want to query all Notes fields in Customers table via CForm!Search field.

Should I make a query like this? I use IN but I doesn't work.

SELECT Customers.Notes, Customers.Name, Customers.BDate
FROM Customers
WHERE (((([Forms!CForm!Search]) In (Customers.Notes)));

Thank you for your help,

Osman

View 1 Replies View Related

Memo Field Limitations

Mar 26, 2005

I have a form with a memo field. This field is based on a table with a field set as a memo data type. The problem is that although the form field lets you type endlessly, it only saves 255 characters. A memo field is supposed to let you enter up to 64000 characters. Has anyone else ever had this problem, if so what was the solution?

View 1 Replies View Related

Memo Field Punctuation

Jun 8, 2005

I have a form set up where user's type in an explanation of how a claim is being appealed and resolved in a memo field.

One problem, for some reason management doesn't want these explanations to end with a period. But the users keep ignoring our request and keep using the period.

Is there a way that you can code this memo field to where it will allow punctuation throughout, except at the end?

View 1 Replies View Related

Memo Form Field

Jun 26, 2005

Hello All...
I've got an address multi-line field in my form. The user types his 1st line of address in the field, presses enter, types the 2nd line of the address, presses enter & so on....And submits the form. The problem is only the 1st line is uploaded into the access database. The field is a memo data type. Can anyone help me with this problem? Cheers...

View 2 Replies View Related

Memo Field Error

Nov 14, 2005

I'm using an append query to add a new record from a form.
The form has a text box and the contents get entered into a Memo field in the database. When I put more than 100 chars in the textbox and try to save to the database I get an "Invalid Argument" error.

If I use less than 100 chars then it appends fine. The error doesn't come from the textbox, I can put over 100 caracters in that, the error comes from the Append process.

In the append query I use this string.
Expr13: [forms]![additem].[description]

additem is the form
description is the textbox field.

Thanks for the help
Dwayne

View 7 Replies View Related

Memo Field Combo Box

Jan 19, 2005

i am using a memo field in a table that is being used in a form as a combo box.when i use the combo box drop down
the form is only bringing in the first 255 characters of the memo field, how can i change this?

View 1 Replies View Related

Help! - Memo Field Combo Box

Jan 20, 2005

i am using a memo field in a table that is being used in a form as a combo box.when i use the combo box drop down
the form is only bringing in the first 255 characters of the memo field, how can i change this?

View 1 Replies View Related

Automatically Add New Memo Field

Jun 27, 2011

My boss has been asking me to create forms in which he can add new records at any time. He has different review cycles for each company he owns (either monthly, quarterly, or annually). I have a form called "REVIEWS" where my boss wants to be able to add a memo with a time stamp each time the review cycle is updated.

How can I use the "addNew" function so that a new memo text box appears in the form each time the review cycle is completed? My boss wants to be able to see each of his notes for each time he reviews a company so I want to be able to keep the old memos as well.

View 14 Replies View Related

Selecting Memo Field From ComboBox

May 29, 2005

Hi All,
I am not sure if this is an easy one or not..
I have a field in a table named Stock_Alias. This field was originally set as a Number field. I have a combo box on a form, which contains the Stock_Alias numbers. When a number is selected, the remaining fields are shown in text boxes.
I have had to change the Stock_Alias field to a memo, to incorporate Numbers & Characters.
I cannot seem to hit on the right code to get the same results as i did when the field was a number field..


This was the code I was using to select the field as a number...

Private Sub Cmbo_Stock_Alias_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[Stock_Alias] = " & Str(Me![Cmbo_Stock_Alias])
Me.Bookmark = rs.Bookmark

End Sub

View 4 Replies View Related

Inserting A Text In To A Memo Field

Nov 8, 2005

Hello everyone - what I have is a a set of default text's that I need to be able to insert into a memo field - this is how I've set it up (Access 2000)

A table with the text fields in it called wordings
table comprises of
Id field
wordingnme (txt)
wording (Memo)
and I have a combo box on a form which looks up the wordingnme and hold this info - I need to have a button that will take this wordingnme and insert the wording that it relates to into the field of my record - Called Endor (memo)- I will have many text s say upto 50-60 but when I insert these into endor field I will probable only use say 5 or 6 at any one time on the record line so an example follows


line 45 in endor I wish to insert wordingnme "A" and then Wordingnme "B"
I also will do some free form type within this - any idea's :eek:

View 1 Replies View Related

Limiting Text In A Memo Field

May 25, 2005

Hi,

Probably a really simple question, but is causing me problems! I need to be able to limit the amount of characters that can be entered into a field. For text fields I can just enter the relevant field size, but can not find an equivalent for a memo field. Validation rule warns you that there are to many characters, but doesn't seem to actually limit you.

Any suggestions would be appreciated.

J

View 8 Replies View Related

Can I Merge 2 Txt Fields To 1 Memo Field

Apr 6, 2006

Hi,

I have an old database for generating service reports which has:
Report No
Date
Customer
Site

In separate fields which is fine

but also

wrk1
wrk2
wrk3
etc.

with a separate field for each printed line on the page
I would like to merge all these into one memo field while retaining the previous data which goes back 15 years (it came from a MSWorks 2.0 DOS db which is the reason for the weird structure I think)

Is there any way to write a macro or code to selectively merge some but not all fields in a table?

I've already copied the db and modified it after clearing all the old data, it works fine but I'd like to have access to the old data in the new format

TIA

Kim

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved