I have a report of sales invoice in which I want to fill the page with blank spaces in the last page of invoice if data finishes in half page. Below is the sample that is required.
In image JB2 after data is completed blank space is inserted to cover full page
Every time I fetch data , Server response is different for the same url . So I want each time data to be fetched from web and not cache. How is it possible to do ? I have tries setting .setRequestHeader('Cache-Control','no-cache') also but still data is fetched from cache
Below Code is creating property name -> exp_vfpsafe_ instead of exp whereas JSON does not contain exp_vfpsafe_
Close All
TEXT TO Json
{"data":{"exp":[{"inv":[{"val":156420,"itms":[{"csamt":0,"rt":0,"txval":156420,"iamt":0}]...
In development environment, every thing is working fine while in runtime environment nfJsonCreate is creating error. Which setting am I missing in runtime which is creating proble. Below is the code where problem Variable ' ' is not found.
if m.bidim
xtabs = nivel(2)
este =...
Even though the width of textbox is sufficient to accommodate digits, then too as focus goes on textbox , digits in it shift to right. Alignment of textbox is 1.
What property should I set to avoid shifting?
Below is the image...
Below is the code that is compiled and giving no error but on running below code nesting error is soming. Where am I wrong in the code below.
Clear
Close All
Local lcJSON, oJSON
TEXT TO jSON...
I can login to govt. web portal using Id and Password and capcha provided and from there I download some reports. Is it possible to do that programmatically if Id and Password is available .
I have my json as
I want to create a cursor with fields as ->
I don't know what to write path expression for BOOK array for getting all records in a cursor.
For simple Json like
I write it as
I have used above mentioned library and place library in the same folder where exe is placed. But as soon as "Set Library to ..." is called , it gives error - "API Library is not found" . Even by adding library to project , same error occurs. MSVCR71.dll and MSVCP71.dll is distributed with exe.
In development environment, every thing works fine but when I make executable, 'error _runcodeerror.prg is not found ' comes. I found this code in _html.vcx used in htmltag's error method. Below is the code from error method of _htmltag
Lparameters nError, cMethod, nLine
Local lcMethod...
I have protected my application defox . As soon as user run that exe , it is deleted by windows security detecting as virus. Is there any way so that exe works fine on users site. I can't say users to turn off windows security.
I have a xml file. I am using 'MSXML2.DomDocument' to read the document. But if xml contains some invalid character , MSXML2.DomDocument generated parsing error. I used filetostr() and then strtran() function to replace string and then filetostr() but still that character is not removed.
I have 2 controls inside grid column - one is container and other is textbox which is controlled by dynamiccurrentcontrol property and sparse property. Grids's allowcellselection is false. It works fine but when that column is clicked with mouse, there is slight shifting of letters of textbox...
Imports System
Imports System.Management ' requires adding a reference to System.Management
Module Module1
Sub Main()
Try
Dim searcher As New ManagementObjectSearcher( _
"root\CIMV2", _
"SELECT * FROM Win32_ComputerSystemProduct")...
I create a exe with molebox encryption package. Since up till now exe was executed on a server in which VFP was installed , so there was no problem. But now When I am distributing it as zip for desktop version where VFP is not installed, exe simply doesn't execute.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.