Re: Checking for All-Different Characters

2016-07-18 Thread Gene Wirchenko
At 08:49 2016-07-18, Ted Roche wrote: Hey, spoiler alert! Guess you'll need to subscribe to Gene's newspapers to find the solution. Or run my program. By inspection, I can come up with at least one date closer than that. Go ahead. So, let's think about the *algorithm* to solve

Re: Checking for All-Different Characters

2016-07-18 Thread Gene Wirchenko
At 09:20 2016-07-18, Ken McGinnis wrote: How about 3456-01-23 The month can only be 01-12 and the day can only be 01-31 so I would start there since the year can be almost anything. Your solution is incorrect. Note the duplicate 3's. Well, no, the year cannot be almost anything s

RE: Checking for All-Different Characters

2016-07-18 Thread Tracy Pearson
Ted Roche wrote on 2016-07-18: > Hey, spoiler alert! > > Guess you'll need to subscribe to Gene's newspapers to find the solution. > > By inspection, I can come up with at least one date closer than that. > > So, let's think about the *algorithm* to solve the problem in minimal > time,

Re: Checking for All-Different Characters

2016-07-18 Thread Ted Roche
Hey, spoiler alert! Guess you'll need to subscribe to Gene's newspapers to find the solution. By inspection, I can come up with at least one date closer than that. So, let's think about the *algorithm* to solve the problem in minimal time, rather than the answer. On Mon, Jul 18, 2016 at 12:20

Re: Checking for All-Different Characters

2016-07-18 Thread Ken McGinnis
How about 3456-01-23 The month can only be 01-12 and the day can only be 01-31 so I would start there since the year can be almost anything. On 7/17/2016 11:11 PM, Joe Yoder wrote: Here is a simple brute force approach with the same count m.cnt = 0 m.Cdate = {^1900-01-01} DO WHILE m.Cdate <

RE: Generate a report in local language (India)

2016-07-18 Thread José Enrique Llopis
You can find a sample here of how to print a rtf content inside a FoxPro report https://support.microsoft.com/en-us/kb/246088 It works for me in Russian language, I use XFRX libs and reports in Russian are converted to pdf and other formats without problems. RTF admits languages different than E

RE: Generate a report in local language (India)

2016-07-18 Thread Kurt Wendt
Ajoy - I understand its Only the printing of the Gross Salary which you want to change to a different language. I remember doing something years ago in an app I worked on for a job. Don't remember Exactly the details and what exactly I was trying to print. I DO Remember that the characters wer

Re: Generate a report in local language (India)

2016-07-18 Thread Ajoy Khaund
I have no idea how to write an access program (sob). Anyway Thanks On Mon, Jul 18, 2016 at 4:27 PM, Man-wai Chang wrote: > BTW, don't forget about Micro$oft Office. OLE automation to print to > Excel? Calling an Access program that just print reports? > > On Mon, Jul 18, 2016 at 6:12 PM, Ajoy Kh

Re: Generate a report in local language (India)

2016-07-18 Thread Man-wai Chang
BTW, don't forget about Micro$oft Office. OLE automation to print to Excel? Calling an Access program that just print reports? On Mon, Jul 18, 2016 at 6:12 PM, Ajoy Khaund wrote: > Thanks all of you. > -- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /

Re: Generate a report in local language (India)

2016-07-18 Thread Man-wai Chang
I don't know whether VFP 9 could send Unicode strings as to print to an HTML file or maybe a PDF file. Crystal Report isn't cheap, and you possibly need to use older versions. On Mon, Jul 18, 2016 at 6:12 PM, Ajoy Khaund wrote: > > Man-wai Chang: Yes I am sure crystal report will be the best to p

Re: Generate a report in local language (India)

2016-07-18 Thread Ajoy Khaund
Thanks all of you. Ted from google I did read the link you have given. That will be be the first step I have to cross. Jose Enrique Llopis: I will try to download your demo and check Man-wai Chang: Yes I am sure crystal report will be the best to print. Infact I was checking the price. Lets see

RE: Grid scrollbars

2016-07-18 Thread Dave Crozier
Sytze, We had the same problem here as well as not being able to control the on-screen keyboard and drop down main menu's are almost impossible to control with any accuracy. You definitely need to redesign your apps to use them efficiently on tablets. Not impossible or very difficult to do but i

Re: Checking for All-Different Characters

2016-07-18 Thread Joe Yoder
Here is a simple brute force approach with the same count m.cnt = 0 m.Cdate = {^1900-01-01} DO WHILE m.Cdate < {^-12-31} m.str = dtos(m.cdate) FOR m.x = 1 TO 8 IF OCCURS(SUBSTR(m.str, m.x, 1), m.str) > 1 EXIT ENDIF ENDFOR IF m.x = 9 m.cnt = m.cnt + 1 * WAIT window