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.


Topics - hkalmbach

Pages: 1 2 [3] 4
31
Web Server - Ask For Help / Counting users which are logged in
« on: March 14, 2016, 08:59:39 AM »
Hello,

I am looking for a way to count active users a webserver.
With active I mean not active sessions but logged in users.
The active sessions are not good for me because if a user logs out actively he is redirected to the index page, but this redirects him to the login form and this already starts a new session.
Therefore I only want to count the logged in users. I can do this in the login form, also count the users who actively log out.

But how do I correctly get the users which are logged out with a timeout by the webserver or these ones which just close the browser?

Thanks in advance.

Heinz

32
Web Server - Ask For Help / session counting
« on: February 25, 2016, 10:19:56 AM »
Hello,

in the performance monitor of the WebServer you see the count of current sessions.

Is it possible to get the count of desktop sessions and mobile sessions separated? (As values in the webserver procedure)
The reason are license countings, which shoud be separated because of different functionalities.

Thanks for every hint.

Cheers
Heinz

33
Web Server - Ask For Help / WebForm does not work with Iphone
« on: February 04, 2016, 03:54:56 AM »
Hello,

I have a small NetWebForm (NetTalk 8) with entry and lookup fieds. Its not complicated and is for use with mobile devices.
With my Samsung smartphone it works, also with all kind of desktop devices including an iPad.
A customer tried the form with an iPhone (me I don't have one) and he has problems.

If he enters something in an entry field with the virtual keyboard and afterwards closes the keyboard (with the function on the keyboard or by clicking beside the keyboard)
he is no longer able to scroll the form up and down, also not the complete form is displayed.

If he reloads the form in the browser it displayed completely and accessible again.

This happends on the iphone with safari and chrome as well.

Does someone has an idea?

Thanks a lot
Heinz

34
Web Server - Ask For Help / NetWebForm placing fields
« on: October 29, 2015, 01:33:22 AM »
Hi together,

I try to build a form and to arrange the fields in the form.
What I would like to have are serveral columns of fields in one row, but at the bottom some text fields which cover the complete width of the form.
To do this I would need to get access to the <td> tag of this row and insert colspan="xxx".

Please have a look a the picture. The red marked field should continue below the second column of fields.

Thanks for every help

Regards
Heinz

[attachment deleted by admin]

35
Hello,
I have a normal NetWebBrowse and NetWebForm combination for listing and updating records.
Now I wanted to use the embed point 'After Opening files' to read additional data. I wanted to do this there because I didn't want it to do on procedure setup with is passed more than one time.

But then I recognized that this point is never passed?
There are three stages when OpenFiles is called:

Net:InsertRecord + NET:WEB:Populate
Net:ChangeRecord + NET:WEB:Populate
Net:ViewRecord + NET:WEB:Populate

I am changing records, but these stages are never active.

What is the routine 'Open files' good for? Why do I assign files to a Form if they are not opened?

Is there an overview which embed points are good for typical actions? In the nettalk book I didn't find (V2)

Thanks for every help.

Regards
Heinz

36
Web Server - Ask For Help / Child browses
« on: October 27, 2015, 04:34:07 AM »
Hello,

I have a netwebbrowse with a child browse, this again has a child browse.
All works well. But if I use the netwebbrowse as a lookup procedure (to select a data record of one of the levels), already the first child browse is suppressed.
If I look into the source code its suppressed by the line 'if loc:selecting = 0'

Where does this line come from? Is it necessary???

Children  Routine
! Start of "Before Calling Children"
! [Priority 5000]
 
! End of "Before Calling Children"
  if loc:selecting = 0
    If p_web.Ajax = 0 or p_web.GetValue('_cb_')
      do StartChildren
    Else
      do AjaxChildren
    End
  end
! Start of "After Calling Children"
! [Priority 5000]

Regards
Heinz

37
Web Server - Ask For Help / Embed code in webbrowses and webforms
« on: October 09, 2015, 02:39:58 AM »
Hi,

I have a general question to embed code in webbrowses and forms.
I found that if I perhaps enter code in a webbrowse at the embed point 'procedure setup' and then run the webserver this code is run twice opening the form.
I am not sure whats the sense of this and more important how to avoid it. Because sometimes I have to do time consuming things and don't want to slow down the server to much.

What can be done to avoid this?

Thanks in advance.

Heinz

38
Web Server - Ask For Help / Position of Close-button in webbrowse
« on: September 25, 2015, 06:07:00 AM »
Hi together,
is there a possibility to change the position of the Close button on a browse. I have only a change button and the close button and want to avoid that there are to lines for them. I would like to have the Close button behind the change button.

Additionally I would like to insert a manual button. My browse is called with a date as parameter. This date is used as filter for displaying the data records. The additional button should allow to choose a date and then the form should call itself with the new date as parameter (SSV).

Can anyone help?

Thanks a lot.

Heinz

[attachment deleted by admin]

39
Hello,
I am using Nettalk 8, have a Webserver with theme 'smoothness', a NetWebBrowse, and need very narrow collumns in the browse.
I only have text in the header line, in the other lines I only have cells with empty stringss with colored background.
The header text I insert as xHTML. There I tried to adjust the font-size, margins, borders,padding and so on.
So far it works. The only thing is than after the header text I have a right border or margin. I don't know what it is, but there is some space(4 or 5 mm) after the text.
See also the picture in the attachment.
I don't know where this is defined, but I need to get rid of it..
Can someone help me?

Thanks
Heinz

[attachment deleted by admin]

40
Web Server - Ask For Help / Set focus on a form field
« on: October 14, 2014, 04:17:27 AM »
Hi together,
is it possible to set the focus on a field of a webform which is not the first field of the webform?
I want to call the form with a parameter and dependent on the parameter set the focus to different fields of the form.

Thanks for every help.

Regards
Heinz

41
Web Server - Ask For Help / set focus to different fields on a WebForm
« on: October 12, 2014, 10:53:08 PM »
Hi together,
I have a WebForm, where I fill 3 (adress-) fields by some kind of a lookup. In fact it is not a lookup but also a form with buttons (designed for tablet computers) from which the user is selecting.
To distinguish which field in the original form has to be filled I send a parameter (PosNr) in the URL in both directions.

The filling of the field works well.
The only problem I have is to set the focus in the original form to the correct field after coming back from the selection form. The focus always is in the first field of the form.

I already tried to do it in the following way:

  CASE PosNr
    OF 2
      p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum2')
    OF 3
      p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum3')
  END

But it didn't work.
Does someone know how to do it or where is the correct embbed point for this?

Thanks a lot.

Regards
Heinz

42
Web Server - Ask For Help / Lookups suddenly don't work
« on: July 31, 2014, 05:48:38 AM »
Hi together,

I am using NetTalk 7.39 in the moment. I have an app with several netbrowses and netforms.
From time to time I have the problem, that after doing a change and recompiling the app all lookups don't work any longer. The browse which shows the records the user can choose from is shown, but the select does not react, if I use it the browse is reloaded, but I don't get back to the form from where I started the select. There is no way back.
I am not sure what kind of change is necessary to get this behaviour. I guess it happens if I touch the WebServer procedure itself, but I am not sure.

The only way to get the functionality back is to start from a saved previous version (where the lookups still work), do all changes again and hope that the problem does not occur.

I had this problem also with NetTalk 6.

It is browser independent, I check it with Internet Explorer (8-11), Chrome and FireFox.

Does someone know this behaviour?

Kind rgards,
Heinz

43
Web Server - Ask For Help / End user message using javascript
« on: April 14, 2014, 05:13:01 AM »
Hello,
according to an older topic and a hint of Bruce I

check out User Group Webinar #9 at approx 0:42
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

I tried to create an end user message after saving a record like the following:

PostUpdate      Routine
  ! Start of "On Update : Form ends : following disk write"
  ! [Priority 4000]
 
  !  p_web.Script('ntAlert("Auftrag gespeichert.","Auftragsbearbeitung");')
   p_web.Script('alert("Auftrag gespeichert.");')
 
Now I have the effect, that it does not work as expected:
- in Chrome it works
- with Internet Explorer 8 nothing happens
- with Internet Explorer 11 nothing happens
- with Firefox if the message is active I get displayed the html text in the browser??

I am using Nettalk 6.

Does someone know what goes wrong, what preference I have to change or what else to do?

Thanks

Heinz

44
Hi together,
is it possible to place embed code to write a log file if a user deletes a record in a browse list.
I have a delete button in every row.
Thanks a lot

Heinz

45
Web Server - Ask For Help / Second insert button
« on: March 22, 2014, 04:17:20 AM »
Hi,
i am looking for a solution of the following problem.
The user has a browse with an insert button which calls the udpate procedure. For normal cases he uses this to create a new record.
Now I need a way to tell the update procedure in some cases to do special priming of fields, but only in some cases.
I thought about creating a second insert button, but not really know how to do.
Or perhaps to have a check box on the browse and pass the value of the check box as parameter and then decide in the update procedure if some fields get special values or not.
But I also found no way.

Does someone has an idea?

Thanks a lot.

Heinz

Pages: 1 2 [3] 4