Default Avatar

Hedley

Hedley

About

Username
Hedley
Location
Peru
Joined
Visits
0
Last Active
Roles
Members

Comments

  • Hi Mick... thanks a lot with your guide ... i do a master detail report and it works fine, and in detail band put the crosstab thanks again Hedley
    in Crosstab Comment by Hedley December 2011
  • Mick.pl wrote: » Try a different way: 1. Make a simple query and a masterband for it. The query should give single row with room ID. 2. Force new page for this masterband. 3. Put a smaller Crosstab on each masterband for each room. Mick …
    in Crosstab Comment by Hedley December 2011
  • technisoft wrote: » Are you sure that the bar code reader is not programmed to add extra characters? noo... i connect the reader to usb port and to test i open the notepad and read the barcode nothing to configure
  • Dear Gordk : thanks a lot Hedley
  • thanks... i will try...
  • Anu de Deus : thanks a lot... but how i know the cardinals number for the other colours may be i use a numbers code from html text ? thanks again... Hedley
  • gordk wrote: » hedley much easier to create the function lib and use it then code would look like memo#.font.color := mycolor(); Gordk : would you send me some tips to create the function lib ? thanks hedley
  • Anu de Deus wrote: » You have 2 options, but both will mean you have to change your code or your table definition: 1) change the field type to longint or equivalent, store the the Tcolor value there, for example, dataset.fieldbyName('AS1C') := cl…
  • gordk wrote: » hedley font colors are colorconstants clred.claqua, etc. not strings so try alumEAS1.font.color := () Dear gordk : i tried but i obteained the same mess error could not convert variant of type (string) into type (boolea…
  • gordk wrote: » what you have written is not making sense to me, but i will try to explain, when inside a memoview object's memo,remember to treat [] as show the value of the expression contained within the braces. you are trying to get value1 the…
  • gordk wrote: » there are many number to text functions in 3rd party libs for converting, it is not simple as many things have to be considered numeric system european, usa, language being used. Dear gordk : is posible do that inside re…
  • gordk wrote: » you are changing the design paramaters untill the data meets another statement that changes the color value it will stay on the new color. you can reset it to a basic value in an "else" portion or use the oap event of the object. …
  • gordk wrote: » if the memo that displays NS is not being switched to red font color then your datafield is not returning "NS' since you have centered the text in the memo object it is possible that it may be returning something like ' NS' or 'NS…
  • gordk wrote: » you can't use case statements with strings Dear gordk : The Code for alum1mAS1:TfrxMemoView alum1mAS1OnBeforePrint begin if ()='NS' then alum1mAS1.Font.Color:=clRed else alum1mAS1.Font.Color:=clGreen end. but a…
  • gordk wrote: » if ='B' then alum1mAS1.Font.Color:=clRed else alum1mAS1.Font.Color:= clblack; this should work when used in the obp event of either the band or memoview. you will need an if statement for each possible value of the field alum1m."a…
  • gordk wrote: » no you changed your code from what you previously had. previous was [iif(blabla)] + [iif(blabla)] you now have [iif(blabla) + iif(blabla)] which is correct Dear gordk : you are rigth... i missed the extra ] [ in the las…
  • gordk wrote: » if you were using conditional highlighting editor you probably specified the color in the wrong section of the dialog Dear gordk : alum1mAS1OnBeforePrint content is begin alum1mAS1.Font.Color:=clRed end. and its w…
  • gordk wrote: » if using in a memoview add the [] [( + )] i try [IIF( = 'NS',1,0)+IIF( = 'NS',1,0)] but in that moment dont work.... i do again and it work... perhaps i do something wrong in that moment... sorry.. and thanks... …
  • gordk wrote: » read about the displaying expressions with the help of the text object, in the creating reports section of the use manual. when you work in a memoview [] tells the engine to calc the value contained inside the braces and display t…
  • gordk wrote: » either add code to obp event of band or object test datafield value and set font color accordingly or set the the objects conditional highliting props. see the user manual under formatting,highlight. Please, i tried but i o…
  • thanks Hedley
  • thanks a lot hedley