Re: PRINT SETTINGS Not setting OK to 1

2019-12-12 Thread Tim Nevels via 4D_Tech
On Dec 12, 2019, at 1:25 PM, John J Foster wrote: > This is just weird! > > If I trace it and look to see the value of the OK button it’s alway zero. > > If I place this code: > > PRINT SETTINGS > If (OK=1) > ALERT("Print OK=1") > Else > ALERT("Cancel OK=0") > End if > > It corr

Re: PRINT SETTINGS Not setting OK to 1

2019-12-12 Thread John J Foster via 4D_Tech
Hi Tim (et al), This is just weird! If I trace it and look to see the value of the OK button it’s alway zero. If I place this code: PRINT SETTINGS If (OK=1) ALERT("Print OK=1") Else ALERT("Cancel OK=0") End if It correctly displays ALERT("Print OK=1”) although in TRACE OK=0.

Re: PRINT SETTINGS Not setting OK to 1

2019-12-12 Thread John J Foster via 4D_Tech
Hey Tim (et al), Some curious facts: 1. Placing PRINT SETTINGS in the on load works and returns OK=1 if Print or PDF selected. 2. Once the form is loaded and a button is clicked - really any button - the same PRINT SETTINGS command will be equal to 0 (zero) no matter what is selected. 3. The

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread Tim Nevels via 4D_Tech
On Dec 11, 2019, at 4:28 PM, John J Foster wrote: > So created a new db with only this code appears to work: > > PRINT SETTINGS > If (OK=1) > ALERT("Print!") > Else > ALERT("Cancelled!") > End if > > So there is something in our application that has caused this behavior. > > So I

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hey Tim, So created a new db with only this code appears to work: PRINT SETTINGS If (OK=1) ALERT("Print!") Else ALERT("Cancelled!") End if So there is something in our application that has caused this behavior. So I’ll have to figure a way to troubleshoot. I guess that’s prog

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread Tim Nevels via 4D_Tech
On Dec 11, 2019, at 3:38 PM, John J Foster wrote: > Well I did fail to mention I ma running Windows 10 Pro on parallels 15.1. > > But my client is also running Windows 10 Pro but on a windows only computer. > > I’ll test your ideas - as always very reasonable - and let you know. Hi John, I’m

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hi Tim, Well I did fail to mention I ma running Windows 10 Pro on parallels 15.1. But my client is also running Windows 10 Pro but on a windows only computer. I’ll test your ideas - as always very reasonable - and let you know. Appreciate, John… > On Dec 11, 2019, at 12:53 PM, Tim Nevels wr

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread Tim Nevels via 4D_Tech
On Dec 11, 2019, at 2:00 PM, John J Foster wrote: > So it appears that my client (in Michigan) and I (in Seattle) with running > the current versions of Windows 10 Pro and 4D v17.2 64-bit are the only > developers experiencing this issue? > > 4D Tech Support do you have any ideas? Suggestions?

RE: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread Dennis, Neil via 4D_Tech
> So it appears that my client (in Michigan) and I (in Seattle) with running > the current versions of > Windows 10 Pro and 4D v17.2 64-bit are the only developers experiencing this > issue? I tested with 4D v17R6... Windows 10 64bit OK is set to 1 for me. Are you saying this comes back as zer

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hi All, So it appears that my client (in Michigan) and I (in Seattle) with running the current versions of Windows 10 Pro and 4D v17.2 64-bit are the only developers experiencing this issue? 4D Tech Support do you have any ideas? Suggestions? Seen the issue? I looked at 4D v17.3 64-bit but the

PRINT SETTINGS Not setting OK to 1

2019-12-10 Thread John J Foster via 4D_Tech
Hi All, We are running 4D v17.2 64-bit on Windows 10 pro and we have noticed that… PRINT SETTINGS is Not setting OK to 1 And thus code and pronging is not happening. I’m not sure if it’s everywhere or just in the single method? Nothing fancy about the code: QUERY([Reports];[Reports]Rep Set ID