thank you Dmitrij.

I version 2.8

How can I enter a space and between € 20.00?
see example in Annex.

304

(1 replies, posted in General)

how do I view reports in PageFooter?

thank you! mathmathou

all done thanks !!

the project was sent booby email

to delete this message? "list index out of bounds"

309

(5 replies, posted in General)

Uso questo:


procedure Form1_tablegrid1_OnChange (Sender: string);
var
   i,c: integer;
    begin
      c := Form1.TableGrid1.RowCount - 1;
      for i := 0 to c do
     begin
     Form1.TableGrid1.Cell[0,i].TextColor := clGreen;
      end;
end;

310

(2 replies, posted in General)

Grazie!   Dmitry.

311

(2 replies, posted in General)

colored text in TableGrid?

how can I create one with a license screen?

313

(6 replies, posted in General)

thanks jean!

314

(6 replies, posted in General)

clean TableGrid in form1

315

(6 replies, posted in General)

how to create a reset button form1?

316

(9 replies, posted in FAQ)

perfect thanks!!

317

(9 replies, posted in FAQ)

you can add administrator rights and do not?

318

(2 replies, posted in General)

How can I add a date?

319

(2 replies, posted in General)

[codeprocedure Form1_Button6_OnClick (Sender: string; var Cancel: boolean);
var
   OpenDialog: TOpenDialog;
   sl: TStringList;
   arrStr: array of string;

   i,c: integer;
   q: integer;
begin
     OpenDialog := TOpenDialog.Create(Form1);
     OpenDialog.InitialDir := ExtractFileDir(Application.Exename);

     if OpenDialog.Execute then
     begin
          sl := TStringList.Create;
          sl.LoadFromFile (OpenDialog.FileName);
           c := sl.Count - 1;
          for i := 0 to c do
          begin
               arrStr := SplitString(sl[i], ';');

               // prodotto
               if arrStr[0] <> '' then arrStr[0] := ''''+ ReplaceStr(arrStr[0], '''', '''''') + ''''
                   else arrStr[0] := 'NULL';

               // categoria
               if arrStr[1] <> '' then arrStr[1] := ''''+ ReplaceStr(arrStr[1], '''', '''''') + ''''
                   else arrStr[1] := 'NULL';
               // prezzo
               if arrStr[2] <> '' then arrStr[2] := ''''+ ReplaceStr(arrStr[2], '''', '''''') + ''''
                   else arrStr[2] := 'NULL';
               // pezzi
               if arrStr[3] <> '' then arrStr[3] := ''''+ ReplaceStr(arrStr[3], '''', '''''') + ''''
                   else arrStr[3] := 'NULL';

              q := SQLExecute('SELECT COUNT(*) FROM prodotti WHERE prodotto=' + arrStr[0] + ' AND  categoria='+ arrStr[1] + ' AND  prezzo='+ arrStr[2]+ ' AND  pz='+ arrStr[3] );
              if q > 0 then Continue;

               SQLExecute ('INSERT INTO prodotti (prodotto, categoria, prezzo, pz) VALUES ('+ arrStr[0] +','+ arrStr[1] +','+ arrStr[2] +','+ arrStr[3]+')');


               Form1.Label1.Caption := IntToStr(i+1) + ' of ' + IntToStr(c+1);
               Application.ProcessMessages;
          end;
                                                        


          sl.Free;
          Form1.TableGrid5.dbUpdate;
     end;
     OpenDialog.Free;

end.

320

(1 replies, posted in General)

when I print the report the images do not come out
version 2.3

321

(6 replies, posted in General)

perfect! Thank you!

322

(6 replies, posted in General)

Ok sent

323

(6 replies, posted in General)

does not work

324

(6 replies, posted in General)

when I opened the project with version 2.3

325

(2 replies, posted in General)

Grazie