hi,
i think LUpdate() does not work any more, so how can i find out if Data was updated ?
// C:\FWH\SAMPLES\JIMMYUPD.PRG
#include "FiveWin.ch"
FUNCTION Main()
SET CENTURY ON
SET DATE BRITISH
SET EPOCH TO YEAR( DATE() ) - 30
USE CUSTOMER NEW
? LUpdate()
CLOSE DATABASES
? Date()
USE Sales NEW
? LUpdate()
APPEND BLANK
? LUpdate()
CLOSE DATABASES
USE Sales NEW
? LUpdate()
/* This example uses an aliased expression TO access LUpdate()
FOR a DATABASE FILE opened in an unselected work area: */
USE Sales NEW
USE Customer NEW
? LUpdate(), Sales->( LUpdate() )
RETURN NIL
// Library is rdd
// FIN / END
// C:\FWH\SAMPLES\JIMMYDTH.PRG
#include "FiveWin.ch"
FUNCTION JimmyDtH()
LOCAL cFile, aDir, dDBF, dDBF2, dDBF3, dDBF4 // etc...
SET CENTURY ON
SET DATE BRITISH
SET TIME FORMAT TO "HH:MM:SS"
SET EPOCH TO YEAR( DATE() ) - 30
IF FILE( "CUSTOMER.DBF" )
cFILE := "CUSTOMER.DBF"
aDIR := Directory( cFILE )
dDBF := aDIR[ 1 ][ 3 ] // date
dDBF2 := aDIR[ 1 ][ 4 ] // Hours
? "Date: ", dDBF, "Hours:", dDBF2
ENDIF
RETURN NIL
// FIN / END
karinha wrote:Jimmy, simples:
// C:\FWH\SAMPLES\JIMMYDTH.PRG
Otto wrote:Have you read this thread? I think this is the same topic as your problem.
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43815&p=264715&hilit=commit&sid=a9b493c30fe2a83c1ea7cdf13c1b86dd&sid=a9b493c30fe2a83c1ea7cdf13c1b86dd#p264715
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 58 guests