PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: eldonfsr on June 01, 2026, 12:36:19 PM

Title: Qry mistache i don't what i doing wrong..
Post by: eldonfsr on June 01, 2026, 12:36:19 PM
Hi i tried to start a query but i don't know exactly what i miss when run  test send me a error
you see i have table but why don't show up records..

Title: Re: Qry mistache i don't what i doing wrong..
Post by: eldonfsr on June 02, 2026, 09:35:15 AM
NOMAids don't get folder where is locate the project how i save qry to project location or settings to nomaids to folder of project location...

Thanks
Any help are welcome..
Title: Re: Qry mistache i don't what i doing wrong..
Post by: eldonfsr on June 02, 2026, 11:11:27 AM
After play and play i got working query only two things is possible add button for select and other thing where and how i can implement return value and assign to global varible...
Title: Re: Qry mistache i don't what i doing wrong..
Post by: Devon Austen on June 02, 2026, 11:30:35 AM
Is this what you are trying to do?

PROCESS "MY_QUERY","mylib.en", SelectedVal$
! After the query closes, SelectedVal$ holds what the user selected
IF SelectedVal$ <> "" THEN %MY_GLOBAL$ = SelectedVal$
Title: Re: Qry mistache i don't what i doing wrong..
Post by: eldonfsr on June 05, 2026, 02:44:44 PM
When you have select on ShowOption send that error just active classic query and works

ok well query has some options witch one is better to use for example return vals

and interfaces

1.- Return Vals 
    i create this could be works or not
    %C$=COMPANYCODE$,%NC$=COMPANYNAME$

2.- Option on interfaces clossing Process
     i need to have a program and then callen lik this ciasprocess "myquery","mylib.en"
         %C$=COMPANYCODE$,%NC$=COMPANYNAME$
       or inther assign the values to vars asu sad..