dbTalk Databases Forums  

Re: UI Locate syntax problem...?

comp.databases.paradox comp.databases.paradox


Discuss Re: UI Locate syntax problem...? in the comp.databases.paradox forum.



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

Default Re: UI Locate syntax problem...? - 03-21-2007 , 09:02 AM






Use a UIObject name that's bound to the table instead of the form name:
fieldName.locate("invNumber",InvNumberVal)

Kenneth wrote:
Quote:
On Wed, 21 Mar 2007 10:24:50 -0400, Kenneth
usenet (AT) soleSPAMLESSassociates (DOT) com> wrote:

On Wed, 21 Mar 2007 09:49:46 -0400, Kenneth
usenet (AT) soleSPAMLESSassociates (DOT) com> wrote:

Ooops,

I see now that I had too many quotes, sorry...

Hello again,

I have not corrected the problem...

To decrease confusion, I renamed one variable from
"InvNumber" to "InvNumberVal", and I removed what I thought
to be the problem quotes, so now, the line looks like this:


If not InvoiceForm.locate ("invNumber", InvNumberVal) then
errorShow() endIf


but, it still gives me the error:

'Locate' failed because it has the wrong number of arguments
supplied.

My apologies for the repetition, but I could use some help
on this once again.

Sincere thanks,

Reply With Quote
  #2  
Old   
Tony McGuire
 
Posts: n/a

Default Re: UI Locate syntax problem...? - 03-21-2007 , 10:03 AM







Is InvoiceForm a form variable, or tableframe or ????

HELP: locate searches a table frame, multi-record object, record object, or
field object

So, if as the name suggests, you are using a form variable I'd suggest
attaching a uiObject variable to one of those objects (TF, MRO,FIELD) and
using it to do your locate.

--
---------------------------------------------------------
Tony McGuire



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.