Use this script.
Var
x : string;
Begin
x := application.User.Username;
End.
No procedure or function required...
My Visual Database → Posts by blackpearl8534
Use this script.
Var
x : string;
Begin
x := application.User.Username;
End.
No procedure or function required...
var
timer:TTimer;
procedure Form1_OnShow (Sender: TObject; Action: string);
begin
timer:=TTimer.Create(Form1);
timer.Interval:=1000; //1000 for 1 sec
timer.Enabled:=True;
timer.OnTimer:=@updateGrid;
end;
procedure updateGrid ;
begin
Form1.TableGrid1.dbUpdate;
end;
Hello Dmitry
I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like thisform1.frxreport.print;
But not works...
Great updates... thanks...
Please add frxreport.print class for quick print by scripted reported..
Open regedit from run
Open current user
Open softwares
Find Myvisualdatabasetrail
And Delete it.... if it not work then add new user account. Log on to new account .
hello friends... how to Write Registry in Local_Machine
procedure Nozzles_OnShow (Sender: string; Action: string);
var
Timer1,Timer2: TTimer;
reg: TRegistry;
iDays: integer;
sKey: string;
begin
sKey := '';
Reg := TRegistry.Create;
reg.RootKey := HKEY_LOCAL_MACHINE ;
reg.Access := KEY_ALL_ACCESS;
reg.OpenKey('Intel\Inter®\'+APP_NAME,true);
if not reg.ValueExists('StartFrom') then reg.WriteDate('StartFrom', (Now+15)); // trial period is 30 days
iDays := Trunc(reg.ReadDate('StartFrom')) - Trunc(Now); // time left days
sKey := reg.ReadString('Parameters');
RegKey.edKey.Text := sKey;
reg.CloseKey;
reg.Free;
if sKey<>'' then
begin
if CheckKey(sKey) then Exit;
end;if (iDays < 1) or (iDays > 15) then
begin
RegKey.lbTrial.Caption := 'Trial period is over.';
RegKey.ShowModal;
Nozzles.Close;
Exit;
end;
isAllowRun := True;
RegKey.lbTrial.Caption := 'Demo version. Time left: ' + IntToStr(iDays) +' days.';
RegKey.ShowModal;
end;
Thanks . but i am talking about QuickPrint Using Script...
Hey friends.. any solution for quickprint by script using frxreport
How to Get Quick Print using frxreport Script....
I am Using Multi Datasets...
This Script Doesnot Works'
// Form1.frxReport.ShowReport; Disabled Show Report
Form1.frxReport.PrepareReport;
Form1.frxReport.Print;
Thanks but i need this function in script... because i am using multi data sets...
QuickPrint Type Is Added In Class
How To Use in Script
Maybe Dmitry can do this... but i think he is very busy...
Thanks George... but i need script because i am retrieving data from another source
Also tried this ... not works
I am generating report using script.. how can i get quick print and avoid preview..
I am scripting like this
form1.frxreport.print;
But not works...
Hi... can you attach an example project ... i want to know how to connect mariaDB.. thanks
Sometime it works.. You can Check on Calculator ... But i Want to check that sql server is running or not.. and this code does not works on sql server running state
Where is Dmitry... i have not seen him on forum many day
You are right... its a service.. but every service run an exe file.. i think
Not working on sqlservr.exe
How to implement a loop on this script ... i mean system check condition if result is yes then break loop
My Visual Database → Posts by blackpearl8534
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi