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 - DonRidley

Pages: [1] 2 3 ... 40
Web Server - Ask For Help / Re: Error in site JavaScript
« on: June 13, 2019, 08:16:25 AM »
Regarding this:

The display of the web-page is also not formatted the same as on the local machine.

Do you have the Settings controls added to your web server? (see attachment)

If you do, make sure the paths for your web folder is correct.  Sometimes that path can be incorrect when copying your files from one machine to another.


Cool!  Thank you!

Web Server - Ask For Help / Re: How to colspan
« on: May 30, 2019, 02:22:32 AM »
If you just want to inject colspan=3 for that one field check out the variable loc:extra.

Go into value::nombre.  Then to the embed just above where the input field is created. 

You can set loc:extra as loc:extra = 'colspan=3' and it will be added to the generated HTML.

This is a pretty clever way to add specific customization to your fields.  Thanks Bruce!


Open your browser's developer tools and watch the traffic between the browser and server.  Specifically, watch the parameters.  The browse is listening for a specific chain of events to trigger a refresh. 

Give me a few minutes and I'll post some screenshots of things to look for.

BTW, I see a pencil on the inline browse button.  Is that button an "other" button, change, delete?


Hey Ashley,

Are you using popups with this app?

Hey, give me a call later when you have time.

See ya!


Web Server - Ask For Help / Re: Question on NetRefresh on a webapp.
« on: May 29, 2019, 02:11:19 AM »
From the docs:

Triggering a table change from the WebServer

You now have browses watching the Host-Table value, and refreshing themselves when that changes. If the table changes via the web interface, or via another desktop app with NetRefresh (on the same LAN as the server) then you are done.

But what if the table changes via some other mechanism - like perhaps code in the WebServer procedure? In this case, in the web server procedure you can use
s_web.SetTableValue('tablename',today() & '-' & clock())

If you are in a WebHandler procedure (like WebHandler, or any NetWebBrowse, NetWebForm etc) then you can use
p_web.SetTableValue('tablename',today() & '-' & clock())

This will trigger a refresh event to the browses that are monitoring the table value.

Web Server - Ask For Help / Re: Insert Link
« on: May 24, 2019, 04:07:06 AM »
LOL.  Yeah, I have been writing a lot of methods lately.  Too accustomed to parentheses...

Web Server - Ask For Help / Re: Insert Link
« on: May 24, 2019, 02:03:51 AM »
Look in your WebHandler's SetCustomHTMLHeaders method. I place mine before the parent call.

You can do something like:

self.MetaHeaders('<link rel="stylesheet" href="" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous"><13,10>')

Web Server - Ask For Help / Re: NetTalk 11 template variables?
« on: May 22, 2019, 02:12:48 AM »
I think they are related to the auto documentation feature in the sync procedures.

Do you have those in your app?  sync and syncSomeTable


Web Server - Ask For Help / Re: Form not saving fields
« on: April 21, 2019, 02:07:39 AM »
You probably need to do a refresh on the calculated field to display the new value.

Loc:LinesPaid = Billing.PayLines(pChrs,pChrsPerLine)
Do Refresh::CVF:LinesPaid

Hello Casey,

I think you'll have to look at the browse's Validate::YourTagField  Routine. 

Add code to change that field's value after you have clicked your Tag All button.

Then when you refresh your browse it re-validates that field with the new value.

Hope that helps,


Hello Nelson,

I'm also working with totals.  I'm doing some work with running balances as well.

The only thing I have found so far that consistently works, with decent speed, is using Views with very focused filters and keys.

I create my own local procedures, call the procedure, and get a return value.

I can honestly say, and you'll probably agree, totals and running balances are a pain the....well you know.  ;D


Web Server - Share Knowledge / Re: NetTalk and OnsenUI Example
« on: April 08, 2019, 03:15:52 PM »
I appreciate the vote of confidence but I really didn't do anything other than copy and paste.

I'm anxious to experiment with NT browses and forms with this framework. 

I would be happy to do a webinar once I have few more pieces of the puzzle put together.

See ya!


Web Server - Ask For Help / Re: User option GUID
« on: April 08, 2019, 05:17:52 AM »
I don't know if you're using TPS or SQL but...

From the FM3 docs:

To prime a GUID field

AutoUP will automatically prime each empty GUID field it finds during upgrade. The field must be named GUID, or PRE:GUID and must be a STRING(16). NOTE: Not available for SQL files at the time of writing this doc.

Requirements for disconnected apps:  (From the NT Docs)

The logic behind these requirements are discussed below, but this is the checklist of requirements (for a Clarion app):

    Each table needs a GUID field - type String(16)
    Each table needs a GuidKey, marked as unique, on the GUID field.
    Each table needs three TimeStamp fields, all of type Real, TimeStamp, ServerTimeStamp and DeletedTimeStamp. These should have external names of ts, sts and dts respectively.
    Each table needs a ServerTimeStampKey key on the ServerTimeStamp field. The key is not unique.
    Each table needs a TimeStampKey on the TimeStamp field. The key is not unique.
    Whenever a record is updated, TimeStamp must be set to the current time stamp. In Clarion apps this is usually done with the NetTalkClientSync global extension template.
    Whenever a record is updated on the parent server, ServerTimeStamp must be set to the current time stamp.

Remember the GUID field has two strict rules.

    The contents of the field must NEVER be changed.
    Any attempt to populate it using other data should be avoided. It should contain pure randomized characters.

I hope this helps you,


Web Server - Share Knowledge / NetTalk and OnsenUI Example
« on: April 08, 2019, 05:05:31 AM »
Thought y'all might like this.


If you want to play around with different OnsenUI elements, check out the following link.  Select an element from the drop down.

Example app:
Clarion 11.0.13401
NT 11.07
StringTheory 3.06


Pages: [1] 2 3 ... 40