NetTalk Central

Recent Posts

Pages: [1] 2 3 ... 10
Web Server - Ask For Help / Basic Mobile Example-app
« Last post by Rene Simons on April 19, 2019, 12:27:00 PM »
Hi Bruce,

I am trying to get to grips creating a mobile app.
The most sensible thing to do seems to me is using the (BasicMobile) in the NetTalk examples.
Loading and compiling the results in browses not being shown and errors in the console.
The Insert-button for the browses are being shown. But the browses are not.
I checked the countries.tps file and there are records in that file to be shown. But the browse isn't.
See BrowseCountries.png

Using the insert-button shows a popup form for entering a Country-record.
See InsertCountry.png

Filling out the form and clicking the Save-button results in a lot of errors in the console. And no new data in the countries.tps .
See ConsoleErrors.png

Kind regards,
Web Server - Ask For Help / Re: Form not saving fields
« Last post by broche on April 19, 2019, 06:41:20 AM »
Thanks Robert,

Here is what I did

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

Billing is a little class I wrote to learn, it just returns lines paid.

Web Server - Ask For Help / Re: Form not saving fields
« Last post by Robert Iliuta on April 19, 2019, 02:25:42 AM »
Hallo Brian!

After calculated fields did you put the results on sessions?

TBL:LinesPaid =  TBL:Tax+100

To understand how it works, see the source code on validate.

Web Server - Ask For Help / Form not saving fields
« Last post by broche on April 19, 2019, 01:56:17 AM »
Cl 11
NT 11.07

Regular form coming from a browse
On Update I do some calculations within the form and the correct numnbers are generated and the fields refreshed.  See the image.
When I save the the form the two calculated fields revert to zero?  Using debugview++ I have checked the fields and they all look correct.  Looked at ValidateRecord in case there was something going on there but there is not.

Looks like saomething is happening after I click the Save button but I have no ideas what?

Web Server - Ask For Help / GSV vs GetValue
« Last post by broche on April 18, 2019, 10:33:11 PM »
CL 10
NT 11.07

Hi All, sorry I know this is has been rehashed a few times but for some reason I still get confused as to when to use different calls.

The Session View (GSV and SSV): Exist on a specific thread?
GetValue and SetValue are used when?
If I am on a form populated from a table and changing values on that form dependent on other field changes, can I use the direct field name without the above?

Problem solved, because all 3 buttons have the same name ('print_btn').

Thank you
Ok Bruce, will try to do some research and see. Thanks!
NetRefresh, in this context, would require NetTalk 11.

Web Server - Ask For Help / Re: Printing to a bluetooth printer from a mobile device
« Last post by Bruce on April 17, 2019, 11:06:22 PM »
Hi Vic,

I've not tried with NetTalk Apps at all (ie from an "app") so not sure if that's possible or not. I guess you could research that.

If you can't print from the browser on the phone though then presumably then it's not going to work from a web app.


Hi Bruce,

Basically I need to print a report or some form of texts. Normally a script can handle the printing from a desktop browser webapp to a printer but not sure how to do it for a bluetooth connected printer. A native app on the device can print to it but not from a webapp. There are info that I have to use a cloud based driver but that is not an option as it's not connected to the internet. So was thinking whether there's a path from nettalk apps to the driver of the mobile device?

Pages: [1] 2 3 ... 10