Home Forums Programming Powershell Unable to pass the values between functions (in Grid, no data is being displayed) RE: Unable to pass the values between functions (in Grid, no data is being displayed)

  • not an expert on powershell, but i certainly use it a bit.

    i'd be thinking the issue is scope;

    it looks to me like none of your functions accept parameters.(AcceptedFeatures,Process,ShowinOutGrid).

    what specific variables do you expect the functions to use?

    i think $action(in AcceptedFeatures) and $ACTION(in ShowinOutGrid) kind-of /sort-of looks like you want to be passed, but it's not returned, so are you assuming it exists in both the ShowinOutGrid and gets modified in AcceptedFeatures?

    i don't think that will happen. to me, i think thye get initialized as blanks, and not passed back.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!