RE: Checking for All-Different Characters
This will give you all the dates that have a unique set of digits 1900 to - probably more efficient ways to do it but this runs sub second on my machine and spits out 44,640 values. Have not done any testing or checking but it'll give you at least an idea. CREATE CURSOR w_dates (uniquedate D) FOR lnYear = 1900 TO STORE 0 TO lnCheck STORE .F. TO llDuplicate *- Check the year part for duplicate number usage STORE STR(m.lnYear, 4) TO lcYear FOR n = 1 TO 4 STORE VAL(SUBSTR(m.lcYear, n, 1)) TO lnVal IF BITTEST(m.lnCheck, m.lnVal) STORE .T. TO llDuplicate EXIT ELSE lnCheck = BITSET(m.lnCheck, m.lnVal) ENDIF ENDFOR IF m.llDuplicate LOOP ENDIF STORE m.lnCheck TO lnCheckYr *--- *- Process Months *--- FOR lnMth = 1 TO 12 *- Check the mth + year part for duplicate number usage STORE .F. TO llDuplicate STORE PADL(m.lnMth, 2, "0") TO lcMth FOR n = 1 TO 2 STORE VAL(SUBSTR(m.lcMth, n, 1)) TO lnVal IF BITTEST(m.lnCheck, m.lnVal) STORE .T. TO llDuplicate EXIT ELSE lnCheck = BITSET(m.lnCheck, m.lnVal) ENDIF ENDFOR IF m.llDuplicate STORE m.lnCheckYr TO lnCheck && Restore baseline to the year value LOOP ENDIF STORE m.lnCheck TO lnCheckYrMth *--- *- Process Days *--- *- How many days in the month ? lnDays = ICASE(; INLIST(m.lnMth, 1, 3, 5, 7, 8, 10, 12), 31, ; m.lnMth = 2, 28, ; 30) *- Is this a leap Year ? IF m.lnMth = 2 AND MOD(m.lnYear, 4) = 0 AND IIF(MOD(m.lnYear, 100) = 0, IIF(MOD(m.lnYear, 400) = 0, .T., .F.), .T.) STORE 29 TO lnDays ENDIF FOR lnDay = 1 to m.lnDays *- Check the mth + year + day parts for duplicate number usage STORE .F. TO llDuplicate STORE PADL(m.lnDay, 2, "0") TO lcDay FOR n = 1 TO 2 STORE VAL(SUBSTR(m.lcDay, n, 1)) TO lnVal IF BITTEST(m.lnCheck, m.lnVal) STORE .T. TO llDuplicate EXIT ELSE lnCheck = BITSET(m.lnCheck, m.lnVal) ENDIF ENDFOR IF NOT m.llDuplicate INSERT INTO w_dates (; uniquedate) ; VALUES (; DATE(m.lnYear, m.lnMth, m.lnDay)) ENDIF STORE m.lnCheckYrMth TO lnCheck && Restore baseline to the year + month value - check next day in month. ENDFOR STORE m.lnCheckYr TO lnCheck && Check Next Mth in Year ENDFOR ENDFOR -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Gene Wirchenko Sent: Monday, 18 July 2016 2:29 AM To: profoxt...@leafe.com Subject: Checking for All-Different Characters Hello: I write a logic/math puzzle each week. They appear in my blog (http://genew.ca/) and two local newspapers. Here is the latest problem: "Consider a date in -MM-DD format. What is the next date where all eight digits will be different?" I solved this by hand. I decided to verify my solution with a program. I often cook up something in GW-BASIC, but since VFP has date functions, I decided to go with it. It was very easy to set up the framework of the loop. What threw me for a loop is how to check that all of the digits are different. I ended up converting the date to string with dtos() and then testing the string with a rather ugly-looking condition. Is there something faster? * Start of Code * * 16s-16.prg * Date Puzzle * Last Modification: 2016-07-17 * * Consider a date in -MM-DD format. What is the next date where all * eight digits will be different? ? "*** Execution begins." ? program() close all clear all set talk off set exact on set century on set date ansi * local startdate startdate=date() ? "Start Date: "+transform(startdate) local trydate, looping trydate=startdate looping=.t. do while looping local trydtos trydtos=dtos(trydate) if right(trydtos,4)="0101" ? "Working on year "+left(trydtos,4) endif if; iif("0"$trydtos,1,0)+; iif("1"$trydtos,1,0)+; iif("2"$trydtos,1,0)+; iif("3"$trydtos,1,0)+; iif("4"$trydtos,1,0)+; iif("5"$trydtos,1,0)+; iif("6"$trydtos,1,0)+; iif("7"$trydtos,1,0)+; iif("8"$trydtos,1,0)+; iif("9"$trydtos,1,0)#8 trydate=trydate+1 else && solution looping=.f. endif enddo ? "Solution is "+transform(trydate)+"." * close all clear all ? "*** Execution ends." return * End of Code * Sincerely,
RE: Checking for All-Different Characters
Maybe something like .. STORE CAST(0 AS I) TO lnCheck lcDtString = STRCONV(DTOS(DATE()), 12) =ALINES(laValues, m.lcDtString, 0, CHR(0)) FOR lnPosn = 1 TO 8 STORE VAL(laValues(m.lnPosn)) TO lnVal ? lnVal IF BITTEST(m.lnCheck, m.lnVal) *- Have a duplicate number - do what ever =MESSAGEBOX(laValues(m.lnPosn) + " appears more than once.") EXIT ELSE STORE BITSET(m.lnCheck, m.lnVal) TO lnCheck ENDIF ENDFOR -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Gene Wirchenko Sent: Monday, 18 July 2016 2:29 AM To: profoxt...@leafe.com Subject: Checking for All-Different Characters Hello: I write a logic/math puzzle each week. They appear in my blog (http://genew.ca/) and two local newspapers. Here is the latest problem: "Consider a date in -MM-DD format. What is the next date where all eight digits will be different?" I solved this by hand. I decided to verify my solution with a program. I often cook up something in GW-BASIC, but since VFP has date functions, I decided to go with it. It was very easy to set up the framework of the loop. What threw me for a loop is how to check that all of the digits are different. I ended up converting the date to string with dtos() and then testing the string with a rather ugly-looking condition. Is there something faster? * Start of Code * * 16s-16.prg * Date Puzzle * Last Modification: 2016-07-17 * * Consider a date in -MM-DD format. What is the next date where all * eight digits will be different? ? "*** Execution begins." ? program() close all clear all set talk off set exact on set century on set date ansi * local startdate startdate=date() ? "Start Date: "+transform(startdate) local trydate, looping trydate=startdate looping=.t. do while looping local trydtos trydtos=dtos(trydate) if right(trydtos,4)="0101" ? "Working on year "+left(trydtos,4) endif if; iif("0"$trydtos,1,0)+; iif("1"$trydtos,1,0)+; iif("2"$trydtos,1,0)+; iif("3"$trydtos,1,0)+; iif("4"$trydtos,1,0)+; iif("5"$trydtos,1,0)+; iif("6"$trydtos,1,0)+; iif("7"$trydtos,1,0)+; iif("8"$trydtos,1,0)+; iif("9"$trydtos,1,0)#8 trydate=trydate+1 else && solution looping=.f. endif enddo ? "Solution is "+transform(trydate)+"." * close all clear all ? "*** Execution ends." return * End of Code * Sincerely, Gene Wirchenko [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/008801d1e083$0ffde490$2ff9adb0$@ozemail.com.au ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Grid scrollbars
Well, I have this small package working on a tablet, almost. (And I shouldn't say this without mentioning the great help from Bernard Bout) One aspect is annoying me though. It's almost impossible to scroll my grid. For the moment I've placed 2 big arrows/Command buttons on the Form The width of the scroll bar is pathetic and I think I've read somewhere that *gestures* simply won't work with a VFP application. Does someone want to comment (or otherwise assist me?) -- Kind regards, Sytze de Boer --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAG1nNy8A40kyGCzJDpWdjBs=mNHD40CA4=bmkuksxpbzs_y...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Checking for All-Different Characters
I may not be on-target with what you want but If you just want to increment increase/decrease dates by 1 I would suggest doing date math. dDateVal = dDaveVal + 1 If you have to work with a string as a source, you could convert it to date first. For example cteststr = "2019-12-31" ddateval = DATE(VAL(SUBSTR(cteststr,1,4)), VAL(SUBSTR(cteststr,6,2)), VAL(RIGHT(cteststr,2))) ddateval = ddateval + 1 (the above assumes you can ALWAYS really on the format to be "-MM-DD" - with no spaces - aka Feb 5, 2019 would be 2019-02-05) And then if you need it as a string coming out: cNewStr = str(year(ddateval), 4) + "-" + strtran(str(month(ddateval),2), " ", "0") + "-" + strtran(str(day(ddateval),2), " ", "0") (I put the "STRTRAN" in there to force the day result to a 2-character 0-filled value) -Charlie On 7/17/2016 12:28 PM, Gene Wirchenko wrote: Hello: I write a logic/math puzzle each week. They appear in my blog (http://genew.ca/) and two local newspapers. Here is the latest problem: "Consider a date in -MM-DD format. What is the next date where all eight digits will be different?" I solved this by hand. I decided to verify my solution with a program. I often cook up something in GW-BASIC, but since VFP has date functions, I decided to go with it. It was very easy to set up the framework of the loop. What threw me for a loop is how to check that all of the digits are different. I ended up converting the date to string with dtos() and then testing the string with a rather ugly-looking condition. Is there something faster? [snip] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/97c90945-76a8-dc39-c623-6e08ccae5...@verizon.net ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
RE: Generate a report in local language (India)
My Real Estate CRM prints reports in Russian and chinese, it works printing a RTF with a general field, you can find a lot of samples of how to print RTF content in a report in foxite. To save the rtf data I use the richtext activeX and content is stored in a general field. You can download a demo version from my Website: www.multilinkcrm.com and test if it works in Indian language. I'm now translating the interface to English but at this moment is only available in Spanish, perhaps in two month or so, sorry. Jose Enrique Llopis -Mensaje original- De: ProFox [mailto:profox-boun...@leafe.com] En nombre de Ted Roche Enviado el: domingo, 17 de julio de 2016 16:38 Para: profox@leafe.com Asunto: Re: Generate a report in local language (India) VFP was one of the first MS apps to support internationalization, but it was designed to work with the multi-byte character set (MBCS) and Code Pages that were the Microsoft solution, instead of the then-nascent Unicode efforts. Consequently, Unicode support in VFP is difficult and not the native behavior, so your success may depend on whether there is good support of Assamese in code pages and MBCS fonts. I've only done internationalization with European languages sharing their common character set, so I'm not sure of all the issues you may run into. The reference tool in the VFP world is Intl, http://stevenblack.com/intl/. Check out the GOTCHAS link and VFP International Issues" also listed on that page for some suggestions. Good luck! On Sat, Jul 16, 2016 at 11:26 AM, Ajoy Khaundwrote: > Dear All, > > I need to know if I can generate the payslip of a worker in my payroll > module in > Assamese (Local language of Assam in India). > > We are using English(UnitedStates) languge windows OS. > > Fonts for this local language are available. Is it possible to change > say the Gross Salary from English to another language while printing. > > Kindly point me in the right direction. > > Thanks all. > > -- > Regards, > > Ajoy Khaund > Neamati Road > Bhogdoi Mukh > Jorhat 785001 > Assam, India > > Tel: 91-376-2351288 > Cell: 91-94350-92287 > Mail: akha...@hotmail.com > Mail: akha...@gmail.com > http://teaanalyst.blogspot.com/ > > > "Walking on water and developing software from a specification are easy if > both are frozen." > - Edward V. Berard, "Life-Cycle Approaches" > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/5541335E87C54539ADE4CA46C41F711D@LENOVO1 ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Mscomm32.ocx on Windows 7?
Thanks Tracy and Ted, The link Ted provided was enough to register the ocx. Now I'll test the program. Cheers! Jose. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/1794833685.561629.1468773681173.javamail.ya...@mail.yahoo.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Checking for All-Different Characters
Hello: I write a logic/math puzzle each week. They appear in my blog (http://genew.ca/) and two local newspapers. Here is the latest problem: "Consider a date in -MM-DD format. What is the next date where all eight digits will be different?" I solved this by hand. I decided to verify my solution with a program. I often cook up something in GW-BASIC, but since VFP has date functions, I decided to go with it. It was very easy to set up the framework of the loop. What threw me for a loop is how to check that all of the digits are different. I ended up converting the date to string with dtos() and then testing the string with a rather ugly-looking condition. Is there something faster? * Start of Code * * 16s-16.prg * Date Puzzle * Last Modification: 2016-07-17 * * Consider a date in -MM-DD format. What is the next date where all * eight digits will be different? ? "*** Execution begins." ? program() close all clear all set talk off set exact on set century on set date ansi * local startdate startdate=date() ? "Start Date: "+transform(startdate) local trydate, looping trydate=startdate looping=.t. do while looping local trydtos trydtos=dtos(trydate) if right(trydtos,4)="0101" ? "Working on year "+left(trydtos,4) endif if; iif("0"$trydtos,1,0)+; iif("1"$trydtos,1,0)+; iif("2"$trydtos,1,0)+; iif("3"$trydtos,1,0)+; iif("4"$trydtos,1,0)+; iif("5"$trydtos,1,0)+; iif("6"$trydtos,1,0)+; iif("7"$trydtos,1,0)+; iif("8"$trydtos,1,0)+; iif("9"$trydtos,1,0)#8 trydate=trydate+1 else && solution looping=.f. endif enddo ? "Solution is "+transform(trydate)+"." * close all clear all ? "*** Execution ends." return * End of Code * Sincerely, Gene Wirchenko ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/ ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Mscomm32.ocx on Windows 7?
On Sun, Jul 17, 2016 at 10:12 AM,wrote: > Hi All, > Did you ever use the Mscomm32.ocx that ships with VFP9 on Windows 7?I wonder > if that's possible. > Thanks, > Jose. > It is possible. Of course, it depends on what it is you're trying to accomplish. There are some tricks with using 32-bit OS components on a 64-bit version of Windows, though. Here's the trick to getting it to register: https://social.msdn.microsoft.com/Forums/vstudio/en-US/1f00d6cc-00a9-4ca0-9698-535e2487af31/how-can-i-register-mscomm32ocx-in-64bit-os?forum=vbgeneral -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4u94z5akqyruvwojtsddnzbmpfrz1sdeg86aleet0v...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Mscomm32.ocx on Windows 7?
If memory serves, I used it to mock an SMTP server for testing. Works in Windows 7 and 8. I've not tested it in Windows 10. On July 17, 2016 10:12:55 AM EDT, jocerav...@yahoo.com wrote: >Hi All, >Did you ever use the Mscomm32.ocx that ships with VFP9 on Windows 7?I >wonder if that's possible. >Thanks, >Jose. > > -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/92a722b2-1ad4-4ab1-beca-9487bc3c7...@powerchurch.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Generate a report in local language (India)
VFP was one of the first MS apps to support internationalization, but it was designed to work with the multi-byte character set (MBCS) and Code Pages that were the Microsoft solution, instead of the then-nascent Unicode efforts. Consequently, Unicode support in VFP is difficult and not the native behavior, so your success may depend on whether there is good support of Assamese in code pages and MBCS fonts. I've only done internationalization with European languages sharing their common character set, so I'm not sure of all the issues you may run into. The reference tool in the VFP world is Intl, http://stevenblack.com/intl/. Check out the GOTCHAS link and VFP International Issues" also listed on that page for some suggestions. Good luck! On Sat, Jul 16, 2016 at 11:26 AM, Ajoy Khaundwrote: > Dear All, > > I need to know if I can generate the payslip of a worker in my payroll > module in > Assamese (Local language of Assam in India). > > We are using English(UnitedStates) languge windows OS. > > Fonts for this local language are available. Is it possible to change > say the Gross Salary from English to another language while printing. > > Kindly point me in the right direction. > > Thanks all. > > -- > Regards, > > Ajoy Khaund > Neamati Road > Bhogdoi Mukh > Jorhat 785001 > Assam, India > > Tel: 91-376-2351288 > Cell: 91-94350-92287 > Mail: akha...@hotmail.com > Mail: akha...@gmail.com > http://teaanalyst.blogspot.com/ > > > "Walking on water and developing software from a specification are easy if > both are frozen." > - Edward V. Berard, "Life-Cycle Approaches" > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4u6ornlwoqopewnxy16rikvpxf12oqinzowspph1qj...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Mscomm32.ocx on Windows 7?
Hi All, Did you ever use the Mscomm32.ocx that ships with VFP9 on Windows 7?I wonder if that's possible. Thanks, Jose. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/622663614.531426.1468764775718.javamail.ya...@mail.yahoo.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Generate a report in local language (India)
Unicode? Um... Crystal Report? On Sun, Jul 17, 2016 at 7:18 PM, Ajoy Khaundwrote: > Not sure about it. > I think I will need a field which will be able to store the data in the > format > which the local font will be able to read (in unicode in a blog field > maybe). -- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /( _ )\ http://sites.google.com/site/changmw ^ ^ May the Force and farces be with you! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAGv=MJDftz_EUtyz+=lbaqhnzhvxrckwxvbn298cbwtb_8g...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Generate a report in local language (India)
Not sure about it. I think I will need a field which will be able to store the data in the format which the local font will be able to read (in unicode in a blog field maybe). On Sun, Jul 17, 2016 at 4:40 PM, Man-wai Changwrote: > You can use IIF(m.language="E", "English", :"Assamese") where > m.language is a global variable. > > On Sat, Jul 16, 2016 at 11:26 PM, Ajoy Khaund wrote: > > Fonts for this local language are available. Is it possible to change > > say the Gross Salary from English to another language while printing. > > -- > .~. Might, Courage, Vision. SINCERITY! > / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) > /( _ )\ http://sites.google.com/site/changmw > ^ ^ May the Force and farces be with you! > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAPs4RvWdZN4_QRLnqbz=pneqvovxcb5g+671xa2jdjapm1b...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Generate a report in local language (India)
You can use IIF(m.language="E", "English", :"Assamese") where m.language is a global variable. On Sat, Jul 16, 2016 at 11:26 PM, Ajoy Khaundwrote: > Fonts for this local language are available. Is it possible to change > say the Gross Salary from English to another language while printing. -- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /( _ )\ http://sites.google.com/site/changmw ^ ^ May the Force and farces be with you! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAGv=mjbq459pdauqrg6nuokir3tgeqtqaxskekh6vc3a7fo...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.