> I need to replace a TPS on the target machine but only if it has no records.
> Any way to do it?

You can write and compile a DLL in LIB mode so the RTL is included and
you can run it from within the install. This DLL could open the file
and check the record count and you can use the returned value to
decide what to do or let the DLL do that for you too.

Look at these two items in the SB help...

1. #include support file
2. Call DLL Function

Lee White

RPM Report Viewer.:
Report Faxing.....:
---Enroll Today---:

Creative Reporting:

Product Release & Update Notices

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"