Hi Everyone

Part of the functionality of the Command Bard Office Button is that it
can show the most recently used files AKA Word shows the most recent
Documents saved. Also it allows you to open them from there.

The following code will only mean something to anyone who has played
with the control.

I want to use the recent files list to show the most recent Purchase
orders which have been created by the logged on employee.
I have changed the code in the "onBuildRecentFileList" and the Office
button shows the correct Purchase Order No's.
In taItems[ lnCount, 3] I have put the following command so the code
reads

taItems[ lnCount, 3] = "ThisForm.EditPo(cPoNo)"

This should pass the purchase order no. The example code from the
examples supplied by Arg Software displays a message box which says
"ItemNo # selected". And modified displays "Purchase Order No. 8138"

The code in the example is: taItems[ 3, 3] = "MessageBox( 'Recent File
#3')"

I have created a method in the form called EditPo and placed: 

LParameters cPoNo
MessageBox("Edit this PO no " + cPoNo)

My problem is that this gives an error "Cannot find cPoNo"

Any Ideas

Peter


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af04c...@server.peterhartcomputers.local
** 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.

Reply via email to