And while we are at it , why doesn't this work , meaning the gmyEditLine remains emptyIs 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.
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
Sarah
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
