NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - terryho

Pages: [1] 2
1
Web Server - Ask For Help / Re: unknow function label on dformat(NT11)
« on: August 10, 2019, 07:33:09 PM »
Thanks your hints

2
Web Server - Ask For Help / unknow function label on dformat(NT11)
« on: August 02, 2019, 10:58:12 PM »
Hi

   Is there I missing something which only has compile error on web server appliaction on "FRBReportRequiresEE" or pdf report web application?

   When compile it has error on "p_web.dformat" of unknow function label or field not found.

   Regards

Terry Ho

3
Hi,

    How can I set the Netweb server browse page to runtime on Pag eload or file load of record?

    Regards

Terry Ho

4
Hi,

   Does there a file size limit to upload a large XML file(over 100m) to a Nettalk SOAP server?

   Is it use FTP server is better?

   regards

Terry

5
Web Server - Ask For Help / Re: SOAP SERVER UPLOAD FILE
« on: November 29, 2013, 07:41:57 AM »
Hi Bruce,

    Attach is the my SOAP server, which include upload and download of image file

    In the Download tab it will download a file from the SOAP server. Which work in C6, but don't why not work in C9
 
    In the Upload tab which can upload a file to the SOAP server, but only the file name can add in the tps file. The image file can not add in the the tps file.

     I think it is because missing of the last part of the xml file.

     May be I use wrong method to do it.

     Regards

Terry Ho

[attachment deleted by admin]

6
Web Server - Ask For Help / SOAP SERVER UPLOAD FILE
« on: November 28, 2013, 08:43:29 AM »
HI,

   In the client application, I use the following code to upload the file to NetTalk SOAP server.

   UPXM:Role = 'upload'
   UPXM:FileName = Loc:UploadFile
   UPXM:Number = 1
   st.loadfile(Loc:UploadFile)
   st.base64NoWrap = true
   st.Base64Encode()
   st.ToBlob(UPXM:SaveFile)
   ADD(UploadXML)
   xml.save(UpLoadXml)
   PostString = xml.xmldata
   do SendPost

   * The "UploadXML" file is a inmemory file driver

   If the file is not attach, the xml tree will show correctly and can pass to the SOAP server. But if attach with the file, the xml tree will broken after the blob file. Which missing the following data,
   
</SAVEFILE>
  </group>
</data>
</soap:Body>
</soap:Envelope>

   Did I missing something? or this is not the right method to upload file to SOAP server.

   Regards

Terry Ho

   The following is my working environment :


   clarion 9 (9.0.10376) with NetTalk 7.31 and xfile 1.93

7
Web Server - Ask For Help / Re: before print report
« on: May 31, 2011, 08:45:52 PM »
Hi Bruce,

    Thanks your hints.

    Now I can make normal clarion report to work with wpdfcontrol template. The following is the process :
    1. in normal clarion report, just like NetTalk web server pdf example.
    2. Add wpdfcontol template in program global extension (this is for license control)
    3. In the report procedure, add wpdfcontrol template into the procedure extension
    4. Use default value and pdf file name
    5. In the following embed point
 
        ThisWindow.AskPreview PROCEDURE

        ! Start of "WindowManager Method Executable Code Section"
        ! [Priority 1000]
 
        PDFname = clip(p_web.site.WebFolderPath) & '\' & loc:PDFName  ! tell the wpdfcontrol to save on this path and file name
        KS:SaveToPdf = 1   ! tell wpdfcontrol to save in pdf file

 
     6. add the above two line
     

     With the above input, you can make normal clarion report support with wpdfcontrol template.

     After I can make wpdfcontrol to work with FRB, then I will make a sample under the above method for the newsgroup reference.

     Thanks your help.

     Regards

Terry Ho 

8
Web Server - Ask For Help / Re: before print report
« on: May 23, 2011, 11:54:57 PM »
Hi Kelvin

    Thanks you advise. But I still can not make it, would you mind to provide some example to follow!

    What I current working on.

    I create a NetWebPage procedure, the the "process code" embed point, I put the following code :

       Glo:PrintfileName = 'C:\TEMP\FILECOVERRPT.PDF'
   Loc:PrintFileName = CLIP(Glo:PrintfileName)
   Loc:RefNo = p_web.GetSessionValue('CLT:RefNo')
   Glo:FRBFilter = 'CLT:RefNo = ' & Loc:RefNo
   CLT:RefNo = Loc:RefNo
   IF NOT ACCESS:CLIENT.FETCH(CLT:RefNo_key)
      FIL:CODE = CLT:FileType
      IF NOT ACCESS:FILETYPE.FETCH(FIL:KFIL_CODE)
         IF FIL:FileCoverName <> ''
            CLEAR(FRB::ReportSearchPath)
            FRB::ReportFileName = CLIP(FIL:FileCoverName)
            FRB::ReportEditAction = FALSE
            START(FileCover,25000)
           
         END
      END
   END

   After running the above code, a blank page is display on the browse. It is because the "FileCover" procedure is still running. The report does not create at the moment. My "FileCover" procedure is using FominTools report builder (FRB) to build the report and use WpdfControl to make the PDF file.
After close the blank page, the report will make and in the temp directory.

    I don't know how to make the report make first and then call the NetWebPage procedure to display the pdf file. I try different method and can not figure out.

     Regards

Terry Ho

9
Web Server - Ask For Help / before print report
« on: May 23, 2011, 08:54:57 PM »
Hi

    I make a print button in the browse box. After I push the print button, I want to do something before the report procedure. Which is I want after push the print button, do some procedure to prepare the report, print the report in pdf and then display the pdf report in web page.

    I had work on various embeds point in browse procedure and the print procedure and can not figure out.

    Would you mind to advise what I can do?

    Regards

Terry Ho

10
Hi Charl

>I found it easier to just re-import the Page-Header, Page-Footer, Login and-out Forms from the >BasicBrowse(1) example, even the Index Page.  I did not know enough (back then, maybe still now) >to get all the stuff to 'just' work.  Then simply put your old code in the right places.
Thank your help. I had export all my major procedure and import into a new one as your suggestion. Which all problem go away.

>If the NetWebBrowse Settings, go to CSS Classes and click twice on the Override Global Settings
>(leave it on) checkbox, all the settings that are allready there will be blanked out.  That worked for >me.  Maybe it will also sort out your point 3 below.
Thanks with the above suggestion. Every problem go away and I will try your method to make different style in each browse box.

Regards

Terry Ho

11
Hi Bruce

>>I'm guessing you just need to refresh the cache in your browser.
I had try this before, but it does not work. I export all my major procedure and create a new web application which under NetTalk 5 example. After I import all the procedure and run it. Now everything work again without any problem. I think the problem cause by the upgrade from NetTalk 4 to NetTalk5, which some parameter is missing.


>Regarding the second bug - I think it's a bug in Clarion 7 or 8. What version of Clarion are you testing >with?
The clarion 7 version is 7.3.8222. which I had mention in the subject.

>Comment or Prompt, but then you can edit the field and remove prompt and comment. I'll see if I can >narrow it down enough to report it to SV.
I hope this help you.

Regards

Terry Ho

12
Hi Bruce,

    Attach is the web directory for your reference.

    Yesterday I run on this web directory cannot login in, but today I can. I don't know what cause this problem.

    I will try on another machine to make sure it is work.

    Also I think there is a bug in the this, following below step :
    1. In a netweb browse form
    2. Add a field for input say "select year" and add a procedure for browse table say "BrowseSO"
    3. In the "Select year" input field, when some value change in it, it will reset the "BrowseSO"
    4. Then in the client-side tab of "Select year", I can not add the reset of "BrowseSO"
        Once I add this it will not display in the reset list. Except when I add in the reset, I also check on "Prompt"  and "value".
        If only check on "Value" it will not display on the reset list.

   Regads

Terry Ho

[attachment deleted by admin]

13
Web Server - Ask For Help / NT5.23 problem on C7.3.8222 and C6.3
« on: May 06, 2011, 09:14:14 PM »
Hi

   I upgrade my web application to NT5.23 (from 4.5 to 5.23) and have the following problem in both C7 and C6, can anyone help me to fix it :

   1. In old version of NetTalk It does not have problem in the first login screen, after input the login name, password and login button, it will not jump to the content page. Finally I find out the problem, because the script error in the login page, which stop to process and jump to the content page. The following is my step to make my application work :

       a. Run the Accesslevel web server application, if I can login in the example application, then it mean it fix or pass the script error problme.
       b, Then run my web application server, then I can login in my web application without problem
       c. Without step a, If I run my web application server, I can not login my web application


   2. The browse box header can not see, because the background color is white and the header text color is white. Before I upgrade, I don't have this problem. How can I change the browse box header text color to black?

   3. The browse box content background is black, how can I change it to white?

    I attach my app, dct and data for your reference. If the script file is need, please let me know, I will post it later.

    Regards

Terry Ho

[attachment deleted by admin]

14
Web Server - Ask For Help / Re: NetTalk web server work with SecWin
« on: April 25, 2011, 07:09:15 AM »
Hi Bruce,

    Thanks. It is a good news. The bad news is I need to upgrade to NetTalk 5.

    But it is worth to upgrade it. If there is a promotion, then it is fantastic.

    I attach my application which build under C7.2

    This application is to use web page to start and stop the firebird service, which use NetTalk web server with WinEvent.

     In this example it also demo how to use Firebird SQL server in NetTalk.

     Hope this help the commuinty.

     Regards

Terry Ho


   

[attachment deleted by admin]

15
Web Server - Ask For Help / NetTalk web server work with SecWin
« on: April 24, 2011, 06:22:23 AM »
Hi Bruce,

    Is there a planning to make Secwin to work with NetTalk web server?

    I hop to use SecWin in NetTalk web server, because most of my application use Secwin. Now I want to switch my application into web, without support of SecWin, Then it will a huge problem to me.

    Regards

Terry Ho

Pages: [1] 2