DriveSoft wrote:

Pay attention, in the latest version introduced a new protection that will stop the project after a while if you used crack.


there is no problem

DriveSoft wrote:

Crack don't work with version 1.52 ? smile

work crack smile

http://s017.radikal.ru/i420/1507/fa/d5b58356ff34.jpg

Please sent
My Visual DataBase 1.51 Setup file

4

(2 replies, posted in Reports)

Thanks

5

(2 replies, posted in Reports)

arasında [Report."strftime('%d', date(invoicedb.contractdate)) || ' ' || (case strftime('%m', date(invoicedb.contractdate)) when '01' then 'Yanvar' when '02' then 'Fevral' when '03' then 'Mart' when '04' then 'Aprel' when '05' then 'May' when '06' then 'İyun' when '07' then 'İyul' when '08' then 'Avqust' when '09' then 'Sentyabr' when '10' then 'Oktyabr' when '11' then 'Noyabr' when '12' then 'Dekabr' else '' end) || ' ' || strftime('%Y', date(invoicedb.contractdate))"]-ci il tarixində bağlanmış [Report."contractnumMT"] nömrəli müqaviləyə [Report."extracount"] saylı ƏLAVƏ

[Report."contractnumMT"]     -  how to doing bold ?

http://s009.radikal.ru/i309/1506/d8/dc91c99ef3a1.jpg

6

(10 replies, posted in SQL queries)

tcoton wrote:

Please find a simple example with one Table Employee and one table logs.

To see and edit the triggers, you will have to use an external tool SQLStudio
Have fun!! wink

Thanks Tcoton wink

7

(10 replies, posted in SQL queries)

tcoton, Please example project sent me smile


tcoton wrote:

I finally managed to get it working with a trick smile

I use a table to store the username captured by Dmitry's script and then I added a select in my trigger to get the last username_id.

Into MVDB scripts:


Setting the variables

// Global variables declarations
var

   sUserName: string;

Saving the username with current date into Table "WindowsID" when starting the application

// Load automatically information into grids in form1 + operator tracking
procedure Form1_OnShow (Sender: string; Action: string);
var
sCurrentDate: string;
begin
    sCurrentDate := '"' + FormatDateTime('yyyy-MM-DD hh:nn:ss.000', now) + '"';
    SQLExecute ('INSERT INTO WindowsID (DateTime, AccountID)' + 'VALUES (' +sCurrentDate+', '+ sUserName +')');
    Form1.LastUser_Grid.dbUpdate;
  

end;

Getting the current Windows username

Begin
// get current windows user login 

    sUserName := '"'+GetUserName+'"';

End.

And then, using SQLiteStudio, I create my triggers to log as much information I want:

Insert trigger:

INSERT INTO logs  (    
    Change_date,
    New_Id_user,            
    sqlAction         ,
    New_usr_Name       ,
    New_firstname     ,
    new_UsrID    ,
    new_dpt            ,
    New_Room      ,
    new_id_costcenter   ,
    New_id_computer ,
    src,
    Username      
        
    )

          values (DATETIME('NOW','localtime'),new.id,'INSERT',new.Name,
                  new.Firstname, new.UserID,
                  new.Dpt,new.Room,new.id_CostCenter,
                   new.id_Computers, 'Users',(select AccountID from WindowsID where id= (select max(id) from windowsID))
                 );


Update trigger:

INSERT INTO logs  (    
    Change_date,
    New_Id_user,            
    old_ID_user            ,
    sqlAction         ,
    Old_usr_Name       ,
    New_usr_Name       ,
    Old_firstname     ,
    New_firstname     ,
    old_UsrID   ,
    new_UsrID    ,
    old_dpt            ,
    new_dpt            ,
    old_Room     ,
    New_Room      ,
    old_id_costcenter   ,
    new_id_costcenter   ,
    Old_id_Computer       ,
    New_id_computer  ,
    src ,
    Username    
        
    )

          values (DATETIME('NOW','localtime'),new.id,old.id,'UPDATE',old.Name,new.Name,old.Firstname,
                  new.Firstname,old.UserID, new.UserID,old.Dpt,
                  new.Dpt,old.Room,new.Room,old.id_CostCenter,new.id_CostCenter,
    old.id_Computers,new.id_Computers,'Users',(select AccountID from WindowsID where id= (select max(id) from windowsID))
                 );

Delete trigger:


INSERT INTO logs  (    
    Change_date,            
    old_ID_user            ,
    sqlAction         ,
    Old_usr_Name       ,
    Old_firstname     ,
    old_UsrID   ,
    old_dpt            ,
    old_Room     ,
    old_id_costcenter   ,
    Old_id_Computer ,
    src ,
    Username        
        
    )

          values (DATETIME('NOW','localtime'),old.id,'DELETE',old.Name,old.Firstname,
                 old.UserID,old.Dpt,
                  old.Room,old.id_CostCenter,
    old.id_Computers, 'Users',(select AccountID from WindowsID where id= (select max(id) from windowsID))
                 );

Thanks Dmitry

how to scrollbar mouse middle , up and down ? help


http://s015.radikal.ru/i332/1506/98/f0d9f57c94f0.jpg

10

(2 replies, posted in General)

Thanks Dmitry wink

11

(2 replies, posted in General)

How to Panel scrollbars ?  or Form1

http://s49.radikal.ru/i125/1506/ac/a36e5f7b2f17.jpg

12

(2 replies, posted in Russian)

pha1984 wrote:

Как скрыть пароль в виде hash?


example
http://myvisualdatabase.com/forum/misc. … download=1

Thanks