dbTalk Databases Forums  

Extracting specific fields in a table including a Memo field

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Extracting specific fields in a table including a Memo field in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alexandra
 
Posts: n/a

Default Extracting specific fields in a table including a Memo field - 09-25-2003 , 08:30 AM






I have a table with a list of customers and a bunch of fields with
various info. One of the fields is a memo field used to log notes for
the sales people (when they open the memo field it automatically
inputs the date and their initials) and they just type in and save
their comments.

I want to extract out all the customers where the memo field contains
"JB" - so I can see which clients a sales person has been loging calls
for. The unique fields is the customer code (CCODE) and I want to do
something like select * from tablename where salesmemo contains
"JB"...... but do not think this is right

I am not a programmer and get a bit confused with syntax so go gently
with me!!!

thanks....

Reply With Quote
  #2  
Old   
Eric den Doop
 
Posts: n/a

Default Re: Extracting specific fields in a table including a Memo field - 09-25-2003 , 09:06 AM






Hello, Alexandra!
You wrote on 25 Sep 2003 06:30:27 -0700:

A> I want to extract out all the customers where the memo field contains
A> "JB" - so I can see which clients a sales person has been loging calls
A> for. The unique fields is the customer code (CCODE) and I want to do
A> something like select * from tablename where salesmemo contains
A> "JB"...... but do not think this is right

A> I am not a programmer and get a bit confused with syntax so go gently
A> with me!!!

SELECT * ;
FROM tablename ;
WHERE "JB" $ UPPER(salesmemo) ;
INTO whatever

Note that filtering memo fields can be slow if you're querying against a
large table.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.