Author Archive for sapphire
Have you wondered how to attach files to your favourite DataEase 7 application? Well, view the attached .avi (make sure you have Windows Media Player installed, first) to see how you can achieve this!
http://dataease.com/dataeaseblog/files/AttachFiles.avi
By deafult, DataEase rounds UP a calculated numeric field (which is set to 1dcp or more).
Therefore, if field X = a + b + c and fields a, b & c is of 2dcp or more with each having a derivation of 1/3, DataEase rounds the calculated value to 1 instead of 0.99 (recurcive, depending on the […]
Use the “FileExist” function (which references the CDFS2.dll library) and not the “IsFile” function (which references the OSFUNC.dll library) to check if a file exists on your workstation or server!
Here’s a nice little utility that allows you to change your default printer.
Step 1:
Create the following CDF’s:
——————————————–
Function Name: GetDefaultPrinterA
CDF Library Name: Winspool.drv
Return Type: Long
Parameters:
prtNameBuffer – Long
prtNameSizeBuffer – Long
——————————————–
Function Name: SetDefaultPrinterA
CDF Library Name: Winspool.drv
Return Type: Long
Parameters:
prtName – String
——————————————–
Function Name: RecordSave
CDF Library Name: dfwacts.dll
Return Type: Int
After creating the above CDF’s, close and re-open your application. This simply […]
De7, with its built in libraries, is now capable of printing your reports to PDF format, without the need for 3rd party utilities.
Simply design your report so that it displays the print dialog window when run, run the report and select the location to output the report in PDF format.
Search
About
Archive for sapphire.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Archives
Categories
- DataEase 7 (24)
- DataEase 7 Lite (1)
- Technical Tip (1)
- Uncategorized (2)
- Welcome (1)