PDA

View Full Version : Find Question



Joe Coley
4-Feb-2005, 03:31 PM
I have the following code for where I want to do a "find GE" of the
Inventry_DD
<snip>
Send Request_Clear to Inventry_DD
Move sValue to Inventry.Location
Move Product.Product_id to Inventry.Product_id
Send Request_Find to Inventry_DD

<snip>
My Request_Find creates an error message, and I've determined that I am not
giving it the arguments that it is expecting. How do I determine the values
of the arguments that the request find is looking for?
(i.e. Integer eFindMode Integer iFile integer iIndex )

David Martinko
4-Feb-2005, 03:38 PM
Joe,

The answer can be found in the help. You are sending Request_Find of a
DataDictionary object, so the arguments are those that you specified.
iMode is EQ, GT, LE, GE, LT
iFile is the main file of the DD, or it's file number.
(Main_File(Inventory_DD)) or Inventory.File_number
iIndex is the index number that should be used... you have to know this.

Another way of handing this is to send Request_Find of a DBForm. Then it
will use the index associated with that field.

HTH

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com


"Joe Coley" <sjoec@charter.net> wrote in message
news:nUGR%23hvCFHA.1952@dacmail.dataaccess.com...
>I have the following code for where I want to do a "find GE" of the
> Inventry_DD
> <snip>
> Send Request_Clear to Inventry_DD
> Move sValue to Inventry.Location
> Move Product.Product_id to Inventry.Product_id
> Send Request_Find to Inventry_DD
>
> <snip>
> My Request_Find creates an error message, and I've determined that I am
> not
> giving it the arguments that it is expecting. How do I determine the
> values
> of the arguments that the request find is looking for?
> (i.e. Integer eFindMode Integer iFile integer iIndex )
>
>
>

Joe Coley
4-Feb-2005, 03:52 PM
I had previously posted this question using "Find Question" as my subject.
I kept expecting that I would see my post appear and I didn't see it.
(Posted here twice on 2/1 under this previously posted "Find Question" -- a
fact I discovered only because I did a "find" for my subject line in my
email program, "just in case" something strange happened.

Should this be happening??? I was trying to post a new message that had
nothing to do with the MK post, and was unaware of the duplication of
subject line, yet my "new" message was treated like a response to the
previously posted message. Seems like a weird behavior to me. (I wouldn't
have designed it that way :-) !).

Ian and Dennis, thanks for your replies that I didn't find until just now.


"Joe Coley" <sjoec@charter.net> wrote in message
news:nUGR%23hvCFHA.1952@dacmail.dataaccess.com...
> I have the following code for where I want to do a "find GE" of the
> Inventry_DD
> <snip>
> Send Request_Clear to Inventry_DD
> Move sValue to Inventry.Location
> Move Product.Product_id to Inventry.Product_id
> Send Request_Find to Inventry_DD
>
> <snip>
> My Request_Find creates an error message, and I've determined that I am
not
> giving it the arguments that it is expecting. How do I determine the
values
> of the arguments that the request find is looking for?
> (i.e. Integer eFindMode Integer iFile integer iIndex )
>
>
>