Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Tai Nguyen
  Where is Tai Nguyen?
 
 United States
 Tai Nguyen
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: Unicode (hex) is not supported by Foxpro
Thread ID: 232400 Message ID: 232786 # Views: 23 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Thursday, June 25, 2009 11:21:49 PM         
   


> >
> > ******************************************************************************************
> > ******************************************************************************************
> >
> > Now we're on the same page. I'm glad. Field DMI is a character column and it should record something like " = 19 and = 32". I need to have this whole string in the field dmi. If I can't get this to work, then I may have to tell them to use " <= 19 and >= 32" instead. I do agree with you that we can't have 2 fonts for the same field because then it won't make any sense. I can use FoxFont to store the "Less than or Equal to" and "Greater than or Equal to" signs in the table and show them on the GUI. But I can't get them to show on the report. My guess for the table that didn't store the "Greater than or Equal to" symbol right would be that the table already had some superscript characters in it. It worked just fine when I created a new table. This might be a gitch for MVFP. I don't know how to convert from foxfont in the table to symbol on the report using chrtran(). I'm about to give up because I have no solutions for this. I have been searched and I can't find another font that has both of those symbols. Thanks.
> >
> > Tai Nguyen.
>
> Tai,
>
> dont give up, you are almost there, just understand a few things.
> 1. you can't use 2 different fonts in one textbox
> 2. you can't for the same reason concentate two different fields with different fonts to one field/variable without seeing glibiss if the charactes are different in the two fonts.
> In your case you are a lucky guy since chr(48) till chr(57) will give you, like in most other fonts 0 - 9
> So the only thing you have to do, no chrtran or whatever fancy transforming in your report, set the font on that particular textbox to "Symbols" and you are done.
>
> Try in the command window
>
>
>

> clea
> FOR n = 48 TO 58
> ?? CHR(163)+CHR(n)+'- ' font "Tahoma"
> next
> ?
> FOR n = 48 TO 57
> ?? CHR(163)+CHR(n)+'- ' font "Symbol"
> next
>

>
> you will see your famous GreaterThanAndEqualsTo plus a number in the last row = (symbol font) Britsih Currency + Symbol in first row (Tahoma)
>
> Alternatively but than you are restricted to 2 to 4 decimal digits to transform the figure to currency aplying your GreaterThanAndEqualsTo as a currency, making a logic to show LesserThanAndEqualsTo currency if needed. This way you dont have to store the chr(163) in your table only a logic. Doubtfull if the guy after this will be happy when he sees that coding. But it should work. Try the first solution first.
>
> Remember anything can be done in FoxPro, what ever. You would like to have a by you selected one colored gradient picture in FoxPro no problem. You want special characters ? Can be done.
>
> Regards,
>
> Koen

*************************************************************************************
*************************************************************************************

Hi Koen,

First of all, I want to say "Thanks" to you for your encouragement and all. I will keep thinking why the table itself won't accept the "superscript 3" character. Most of our tables work just fine but some are not. What could it cause this "³" to change to this "3" in the table? I already tried with font Tahoma but still though, the font stored this "3" in the table anyway and instead of this "³". If I could fix the table somehow then no matter what font I use, everything should work and it's done. The table I want to insert the "Greater than or Equal to" sign is having an conflict somehow you know. I got the "Less than or Equal to" sign worked just fine because it stored the "pound" sign in the table fine (this is a pound sign "£" ). I don't know what to do than to think harder and harder. Also in hoping God will send an angel to me, maybe you're my angel, hehehe. I know how it feels when I'm almost there.

Tai Nguyen.



COMPLETE THREAD
Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/22/2009 8:54:40 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Borislav Borissov @ 6/22/2009 9:08:46 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/22/2009 11:22:18 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Yousfi Benameur @ 6/23/2009 12:32:51 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/23/2009 2:44:13 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Yousfi Benameur @ 6/23/2009 11:05:54 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/23/2009 5:27:22 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Yousfi Benameur @ 6/23/2009 6:36:33 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/23/2009 8:13:22 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/23/2009 10:18:05 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/23/2009 11:01:56 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/24/2009 12:15:29 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/24/2009 2:54:07 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/24/2009 9:46:03 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/24/2009 3:07:02 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Anders Altberg @ 6/25/2009 11:46:12 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/26/2009 2:09:35 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/24/2009 10:26:44 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/24/2009 11:32:24 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/25/2009 12:11:55 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Yousfi Benameur @ 6/24/2009 1:50:01 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/24/2009 2:42:59 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/24/2009 10:27:48 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Yousfi Benameur @ 6/25/2009 2:49:28 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/25/2009 4:04:33 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/25/2009 8:57:34 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/25/2009 7:18:21 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/25/2009 9:19:10 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/25/2009 11:21:49 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/25/2009 11:43:13 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/26/2009 2:53:26 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/26/2009 9:46:15 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/26/2009 2:58:41 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/26/2009 4:32:52 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/26/2009 5:25:16 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/26/2009 10:59:36 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/27/2009 2:02:54 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/27/2009 7:54:02 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/27/2009 10:58:15 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/28/2009 12:02:57 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/28/2009 12:23:12 AM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/28/2009 8:47:51 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Tai Nguyen @ 6/28/2009 9:41:20 PM
RE: Unicode (hex) is not supported by Foxpro Posted by Koen Piller @ 6/29/2009 12:03:18 AM