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

Pages: [1] 2 3 ... 12
1
Web Server - Ask For Help / Re: Forms behave strangely in version 14.17
« on: February 12, 2024, 02:25:48 AM »
Thanks Bruce. Not a problem.

I will do more investigation later this week. NetTalk14.16 is great for the time being.

I will start a new thread if required.

2
Web Server - Ask For Help / Re: Forms behave strangely in version 14.17
« on: February 09, 2024, 11:24:24 AM »
I also have an Issue with NetTalk 14.17.

Mine is with Forms also where fields have moved.

Maybe Span Prompt Value Comment or

refactoring Form Cell Start / End Code

Switched back to NetTalk14.16

3
Hi

In your Code

p_web.SetSessionValue('Rep:WhichReportPrompt','What you want the prompt to be')
p_web.SetSessionValue('Rep:WhichReportTip','What you want the tip to be')


Form Fields

Field  Rep:WhichReport
Equate Rep:WhichReport
Prompt p_web.GetSessionValue('Rep:WhichReportPrompt')
ToolTip p_web.GetSessionValue('Rep:WhichReportTip')


4
Prompt and Tips are Session Values

Prompt = 'abcde'
SetSessionValue('Prompt ',Prompt)

And the Prompt is a session value

p_web.GetSessionValue('Prompt')

5
Thanks for reply.
I guess you may not of deployed all required files from your dev system.
Maybe

CLAnet.dll | Dated May 2023
libcrypto-1_1.dll  | Dated Feb 2023
libsssl-1_1.dll | Dated Feb 2023
CARoot.pem | Dated Nov 2022
OpenSSL.exe | Dated Feb 2023
Just a my toughts
Cheers
Vinnie

6
Maybe check

Requires StringTheory 3.56 or later

OpenSSL updated to version 1.1.1.20 (1.1.1t)

Cheers
Vinnie

7
Web Server - Ask For Help / Re: Single field on form
« on: July 31, 2023, 01:51:27 AM »
Hi Ken

Just make the extra field a hidden field.

The first field user presses enter jumps to hidden field and jumps back to first field.

This is normal in my system.

Option two is the set the barcode to tab after read not enter. Not the best option.

8
Web Server - Ask For Help / Re: Hyperlink from EmailMessageHtml
« on: July 25, 2023, 10:41:46 PM »
Thanks for reply.

localhost is only good for your device no good if you are going to email this to someone but for testing on your device OK.

But yes I see you issue when you compare the links in your post


Link 1: http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061">

Link 2: http://localhost:88/ws_informe?dsn=orida&informe=w_informe_florida&idestadogrupoinf=idgrupoinf=idprotocolo061


<p><a href="http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061">Click here to download</a></p>

To email you I use this format in my code.

'<h4><span style="color:#999999"><em>To download please use this link  </em> <a href="http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061)&'" target="_blank">Click here to download<br></a></span></h4>'

Hope this is of some use.

Cheers
Vinnie





9
Web Server - Ask For Help / Re: Hyperlink from EmailMessageHtml
« on: July 24, 2023, 10:35:48 PM »
http://localhost:88/ws_informe?dsn=orida&informe=w_informe_florida&idestadogrupoinf=idgrupoinf=idprotocolo061

At first glance Does not look right.

http and localhost is not look right  - should: be https://domainname

&idestadogrupoinf=idgrupoinf=idprotocolo061 does not look right either  - should be: &idestadogrupoinf=idgrupoinf & something=idprotocolo061



10
Web Server - Ask For Help / Re: View uploaded files
« on: June 15, 2023, 12:31:31 AM »
Yes Media Field will work as a View PDF and Download on a PC.
Only download when using an Android Tablet.
Cheers

Vinnie

11
Web Server - Ask For Help / Re: Next freezes browse
« on: June 13, 2023, 10:36:16 PM »
Also you can check that HTML Scipts are checked on in the WebServer Extensions Tab
 Scripts Tab
Check TinyMCE HTML Editor

Just a tought
Cheers

Vinnie



12
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 03:50:30 AM »
OK so I do this also.
I have a separate Windows exe which prints reports.
The webserver just adds a job to the list and the compiler prints.
Seamless for the user.

13
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 12:37:40 AM »
After creating an Invoice I also create a PDF file copy of the invoice which the user can download at any time.
I never print the PDF file but if the user wanted to they could not sure why.


14
Hi Sean,

I am happy to help.

This is what I do.

NetwebForm - (Memory)

Create Local Variable -  ScannedItemField  (name as your require - string 30)
Create Local Variable -  EmptyField ((name as your require - string 1)

Note the extra field is only there so after the first field completes focus moves to the extra hidden field.  You move the focus back to the first field later.
Not 100% sure all this is required now but I have done it this way for so long.


Add Local Variable ScannedItemField to NetwebForm - Type String
Add Local Variable EmptyField to NetwebForm - Type Hidden

Add Procedure to NetWebForm - BrowseProcedure - Show the data entred.

code for  ScannedItemField
     Use NetTalk Template - on  ScannedItemField - Client-Side tab - Server Code - ( I guess you know this)
   
     Do Your code -
   
      If Left(p_web.GetSessionValue('ScannedItemField'),3)='200'
        Access:Scanned.Open()
      Access:Scanned.UseFile()
      Clear(SCA:Record)
      SCA:GUID             = Glo:ST.MakeGuid()
      SCA:ScanDate      = Today()
      SCA:ScanTime      = Clock() 
      SCA:ItemScanned = p_web.GetSessionValue('ScannedItemField')
      Access:Scanned.TryInsert()
      Access:Scanned.Close()   
      End  !If Despatch Note
    
     You can play a sound of Good or Bad entry - you make the sounds
    
          p_web.Script('ntPlay("/sounds/good.mp3");')
         or
          p_web.Script('ntPlay("/sounds/bad.mp3");')


      Refresh the BrowseProcedure - Use NetTalk Template

Save Form
Look at Code using Embeditor - Find your code  and add the bottom line after to BrowseRefresh template code. Ie next embed point down.

  do Refresh::ItemsInThisBox  !(GenerateFieldReset)
  p_web.ntForm(loc:formname,'ready')
  ! Start of "After Validate New Value, After sending replies"
  ! [Priority 5000]
 
  p_web.SetValue('SelectField',clip(loc:formname) & '.' & p_web.NoColon('ScannedItemField'))  !!  This puts the focus back to entry field
 
 Hope this give you an idea but if not I can make an example but good to try yourself.
 
 Cheers
 Vinnie

15
Hi

If I am understanding your problem correctly this is how I do this.

MultiTenant - You select and open the file for that tenant. ( I guess you have that working)

Create a Memory Form.
Add a ScanItemFiled. (to read the barcode or keyboard entry)
Add a Procedure BrowseItemsScanned. - (to show Item scanned)

After you scan the barcode your code gets the record from Mutli Tenant data and saves to the ViewseItemsScanned.

At the end of you code
Refresh the BrowseItemsScanned
Jump back to the ScanItemFiled.  - p_web.SetValue('SelectField',clip(loc:formname) & '.' & p_web.NoColon('ScanItemFiled'))


Just an Idea.

Pages: [1] 2 3 ... 12