I changed it to:
SELECT customer, id FROM customer WHERE !EMPTY(customer) ORDER BY
customer INTO cursor acustomer
and now it works.
Go figure. Thanks for your help.
On 2/9/2015 11:46 AM, Richard Kaye wrote:
Just curious, you got rid of it in both the column list and the WHERE clause?
When does the cursor get created? Could this be similar to changing the data
source of a grid after its initial creation?
--
rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Jeff Johnson
Sent: Monday, February 09, 2015 1:42 PM
To: [email protected]
Subject: Re: VFP Love/Hate Relationship
Same result Richard. I exclusively use arrays as my rowsources so I will try
an array and report back.
Thanks,
On 2/9/2015 11:39 AM, Richard Kaye wrote:
Since your select is on a single table, try removing the table.field ref?
--
rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of
Jeff Johnson
Sent: Monday, February 09, 2015 1:18 PM
To: [email protected]
Subject: VFP Love/Hate Relationship
Okay, I've been working with FoxPro since 1992. Seems every day I run
into a snag where something reliable does not work. Here is an example:
In the Requery() of a list box:
DODEFAULT()
SELECT customer.customer, id FROM customer WHERE
!EMPTY(customer.customer) ORDER BY customer, id INTO CURSOR
csrcustomer LOCATE
RowSource is csrcustomer
RowSourceType is 2 - Alias
I get a 'field' phrase is not found. I've read Barbara Peisch's write
up on this and still don't see what is wrong. Except for the fact
that the programmer named a field the same as the table.
Wassup?
--
Jeff
Jeff Johnson
[email protected]
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675
www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.