On 5 Feb 2004, at 11:39 am, hershrev wrote:

And while we are at it , why doesn't this work , meaning the gmyEditLine remains empty

global myQuery,mySelectedLine,myDbId,myEditLine
on mouseUp
put line mySelectedLine of myPkid into myEditLine
put "SELECT company,last_name FROM contacts WHERE (pk ='"& myEditLine &"')" into myQuery
put revDataFromQuery(,,myDbId,myQuery)into field "find Field"
end mouseUp


And if i do it in the message box: put line mySelectedLine of myPkid into myEditLine, it does work

Is myPkid a global variable also? It looks like this script doesn't know that it is, so it can't get any data from it.

Sarah

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to