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

Pages: 1 2 [3] 4 5 6
31
Web Server - Ask For Help / Re: Manually created lookup button
« on: December 21, 2017, 02:18:27 AM »
Hi Bruce,

thanks for your answer.
But I am not quite sure if it helps.
I need two lookups for one field at the same time. The simple one with the browse and the other one with a form with several browses.
I already solved to use both ways, but not at the same time for one string field in the beginning form.

You have an idea for that?

Thanks
Heinz

32
Web Server - Ask For Help / Manually created lookup button
« on: December 20, 2017, 11:49:47 PM »
Hello,

I would like to create manully a button on a form that behaves like a lookup.
The reason is the following. There are two ways for a user to select the correct entry. The first way is done by a normal string field with lookup activated where the user selects from a browse. The usual way. The second way is different, in principle also a selection from a browse, but a browse with childs where the user can select from different levels.
But this is not the problem, the question is, is it possible to create manually a button which calls a browse in selection mode and fill a string field of the form after coming back with a selected record. (I can not use the normal lookup, because the field I want to fill is already a string with lookup, but this lookup chooses the first way of selection.)

I hope this is understandable.

Thanks for every help.

Cheers
Heinz

33
E-Mail - Ask For Help / Saving an Email in a msg or em file
« on: October 27, 2017, 05:43:39 AM »
Hello,

a customer who uses the smtp emails wants the emails be saved as MSG or EML file for documentation. That means directly before or after sending the email it should be saved as file.
Best would be if it could be saved in a common used format like MSG or EML.
Is this possible? How?

Thanks for help.

Cheers
Heinz

34
Web Server - Ask For Help / Using memory queues in a net browse procedure
« on: September 13, 2017, 12:55:25 AM »
Hello,

I have to make a net browse procedure with a complicated filter. The filter varies in a wide range, that means, the user can call the procedure with different parameters. In standard clarion I solve this in the way that I first (in the init, after opening files) evaluate the filter by filling a memory queue with the Id's of records that match the filter. Later in the filter of the browse I check if the actual record is in the memory queue.
No I am not sure how to do this in the net browse. Can I also use a memory queue for this or will there be a mixture if several users call this form at a time with different parameters?

If I can't use the memory queue: how could I save the values best in the session queue and delete them afterwards fastly? (That can be more than hundred values...)

Thanks for every help.

Cheers
Heinz

35
Web Server - Ask For Help / Re: Signature field breaks form
« on: January 04, 2017, 06:51:58 AM »
Hi Bruce,

the scrips are updated and the server is restarted

Cheers
Heinz

36
Web Server - Ask For Help / Re: Signature field breaks form
« on: January 04, 2017, 05:53:40 AM »
Hi Bruce,

thanks a lot for your help.

The scripts are copied to the folder .\web\scripts of the server 2337.

I don't really know what crashes. But sure is that after calling a form where there are data records on the tab 'Arbeitsänge' it is not possible to do a reset on the client only. Its not enough to clear the cache of the browser or to restart the browser. Its necessary to restart the server.
On the other side the server is still working, but you never get back to the point that it displays the tabs in the form correctly again.

Hope this helps.

Perhaps its would be faster to do other steps by email, because I faster get them.

Cheers
Heinz

37
Web Server - Ask For Help / Re: Signature field breaks form
« on: January 03, 2017, 01:29:02 AM »
Hi Bruce,

CTRL-F5 does not change things. On the development computer everything is ok, on the server CTRL-F5 does not solve the problem.

But I found out one more fact:
- the problem may be a problem of the complexivity of the form: there are several tabls on the form, the main tab for the fields of the table, the others for related informations (other web procedures)
- recently I added on more tab, this is a net browse procedure which shows related data
- if I restart the web server (on the server I spoke of) and first call the form with a record where no related data on the new tab exist all is displayed ok.
- if I call the form with related data on the new tab the form breaks (no tabs, all content is displayed on one page as in the picture)
- if I then go back to the first record (without related data) this also is not shown correctly.
- if I restart the server it works againg with this record.

I don't know, if you are interested, you can have a look a it.
The server is www.wartung-mobil.de. There are running two servers in the moment. On port 2338 the server where the signature field is deactivated, on 2337 with signature field. They are identical only in a ini file a condition for the field is defined different.
-If you connect you can login with q/q, then choose 'Rückmeldungen'.
-If you then first open order 7566 its displayed correct by both servers. The new tab is 'Arbeitsgänge'.
-If you open order 007561-Crash, the server 2337 crashes, server 2338 not.

Thanks for help.

Cheers
Heinz

38
Web Server - Ask For Help / Signature field breaks form
« on: December 31, 2016, 02:06:47 AM »
Hi together,

I have the problem that one form with tabs and a signature field breaks, see picture and error messages on it.
With my development computer it works, but if I run the webserver on another server the page breaks.
If I deactivate the signature field (include condition) then it works.
I copied the complete webfolder of my development computer to the server.

Does someone know what can be the reason?

Thanks for help.

Cheers
Heinz

39
Web Server - Ask For Help / Re: Different themes for sessions
« on: December 22, 2016, 07:30:50 AM »
Hi Bruce,

sounds good.

As a fast solution, is it possible to get the available screen width and height perhaps in the IndexPage of the WebServer assign it to a session variable and afterwards with this variables select the visible buttons the user can press? How?

Thanks.

Cheers
Heinz

40
Web Server - Ask For Help / Re: Different themes for sessions
« on: December 22, 2016, 02:58:00 AM »
Hi Bruce,

this I understood. I don't any longer want to use the mobile framework. I made some forms (smaller, less fields) for mobile devices in desktop mode and it works very well and with the theme 'seven' looks pretty good.

My question is, even if I want to use the desktop framework for all clients, I want to know if a client is mobile or desktop. This I want to know because I want to use different forms for desktop and mobile.

If I set the webhandler to desktop mode, the function p_web.IsMobile does not return 1 for mobile devices.
If I set the webhandler to detect mode, the function p_web.IsMobile does return the correct value but for mobile devices automatically the mobile framework and mobile theme is used.

Is it possible to detect if a client is mobile but always use the desktop framework?

Thanks a lot

Cheers
Heinz



41
Web Server - Ask For Help / Different themes for sessions
« on: December 20, 2016, 03:21:40 AM »
Hi together,

is it possible to use different themes in one WebServer depending on the sessions?
That means use one theme for desktop clients (p_web.IsMobile=false) and another theme for mobile clients (p_web.IsMobile=true)

I found a chapter in the NetTalk book where I can change the theme by p_web.ChangeTheme('ThemeName'). This works if you don't use the 'detect' setting in the web handler and it works for desktop always. But what I would like to do is to have the WebHandler in detect mode to see if the client is a mobile device or not and then change the theme to a non-mobile theme.

Is it possible to deactivate the detect mode for a session after one knows that the client is mobile or desktop?
Or can I change also the mobile theme it detection is active?

Thanks for help.

Cheers
Heinz

42
Hi together,

I am creating a mobile a with Nettalk 9 and there I have a simple form with some entry fields.
These entry fields have prompts as usual. In desktop mode the prompts are aligned left and in some kind of second column the entry fields are aligned left.
In mobile mode the entry fields are not aligned left, but begin shortly after the end of the prompt, that means at different positions.
This does not look well.
Is there are possibility to change this?

Second question: Is it correct that choosing different themes in a mobile web server procedure does not produce differences in the appearance of the forms?

Thanks in advance.

Cheers
Heinz

43
Web Server - Ask For Help / Browse a memory queue
« on: June 29, 2016, 03:58:16 AM »
Hi together,

is there a possibility to browse a memory queue in a web form (like browsing a file)?

Thanks.

Cheers
Heinz

44
Web Server - Ask For Help / JavaScript for form tabs does not work
« on: June 24, 2016, 03:49:21 AM »
Hello,

I have to WebServer apps which partly use the same browses and forms. These procedures are defined in a dll which is linked to both WebServer exe.
One form has four tabs. Calling it from one server its display correct. and also works (Save,...).
Called from the other server the content of the tabs is display not in tabs but under the tab before. So one the page you see no tabs, on top the content of the first tab, below the content of the second and so on... At the same time the Save button of the form does not work.
I have the same web folder, the same scripts are activated in the webServer extensions.

Does someone has an idea?

Thanks
Heinz

45
Web Server - Ask For Help / Focus of fields on form
« on: June 21, 2016, 05:11:13 AM »
Hi together,

I have a form with some entry fields and a browse (procedure field).

The user wants to use the form only with the keyboard if possible.
One field is an option field. If I get to it by tab I can make one change (cursor right). After this key stroke the focus is no longer on the field. I have to use tab (one time with chrome, firexfox, several time with IE or Safari) to get back to the option field and make more changes.
I tried it with empty field 'When accepted, set focus' and also entering the field itself here. No difference.

The same I have with a lookup field if the user enters the value field manually and does not use the lookup table.

Does someone know this behaviour? What can be done?
Is the browse responsible for that?

Thanks for every help

Cheers

Heinz

Pages: 1 2 [3] 4 5 6