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
16
Hi together,

I am trying to create an web disconnected app. As first step I prepare my dictionary. Bruce wrote in the documents in the 'Clarion dictionary tips' to create a global section and a variable st of type STRINGTHEORY.

Clarion Dictionary Tips
Add a Globals data section
Add a variable, st, to this section. Set the type to STRINGTHEORY

How can I do this? I created a global section. If I add a column st I only get the clarion data types, but not stringtheory as type.

Thanks for every help.

Cheers
Heinz

17
Web Server - Ask For Help / Call a QR code app
« on: January 12, 2018, 08:15:19 AM »
Hello,

is it possible to call a barode app from a web form procedure with a button click?
The QR-Code app is an app to read barcodes. Normally this app starts the camera, allows to scan a barcode, interprets the code and puts the code to the clipboard, calls an url coded in a QR code or does some other action.
What I want to reach, is to call the barcode app, read the code (in my case a simple 1-d barcode) and get the number it contains into a Variable or a Session Value.
In the moment I am using an app called QR Code reader for Android from google play store.

Thanks for every help.

Cheers
Heinz

18
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

19
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

20
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

21
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

22
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

23
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

24
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

25
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

26
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

27
Web Server - Ask For Help / Nettalk 9 App - File Upload
« on: June 20, 2016, 04:18:48 AM »
Hi,

I am using a file upload button on a form. This form is allowed for desktop and mobile.
It works well on a desktop (normal computer or a tablet). I activated 'Start upload when file selected'. This also works.

If I now try to use the same form on a smartphone (Samsung Galaxy SIII) its the following. At first I recognice I get additionally the buttons for start upload and delete file (no change in the routine or server!). If I press the button 'add file' I get acces to all files on the smartphone or to the camera and so on.
But equal which source I choose the file is not uploaded. I think the choosen file is not submitted to the upload script. I can press the start button, nothing happens and no filename is displayed below the buttons.

If I use the file upload button on a desktop in the way that I have to start manually the upload, the choosen filename is displayed below the buttons. This does not happen in the smartphone case.

Does someone has an idea what can be wrong?

Cheers
Heinz

28
Web Server - Ask For Help / Status after a Web Server timeout
« on: May 01, 2016, 11:53:24 PM »
Hello,

I am not sure how to handle a Web Server timeout correctly.
The situation is, a user opens a form to edit some record, goes away and the timeout occurs.
When he comes back he does not know about the timeout until he clicks on a button or something else.
The he is redirected to the login form. If he has logged in he is redirected back to the form where he left.
But there he gets the following error:

1. Record not found: (-2) Error 30

What do I have to do, that the user does not automatically is directed to the last form after logging in again, but instead has to take the way he normally does when logging in the first time?

Thanks

Heinz

29
Hi together,

on a normal web form I have entry fields, lookup fields (from a file), dropdown boxes (from a file) and also text fields (3000 characters).
I happens from time to time (for our main customer too often) that if he changes the content of a text field, afterwards changes the value of a drop down menu or a lookup field the changes of the text field are reset, in seldom cases the text field is emptied.
Very often it happens, that if he copies content into the text field (paste) an leaves the text field this changes are also reset, the copied content is deleted.
For the text field I have immediate validation, I send a new value to the server (without embed server code) and I refresh the value (Client side tab).

Does someone know what can be wrong here?

Thanks for every hint.

Cheers
Heinz

30
Web Server - Ask For Help / p_web.redirect produces error
« on: April 23, 2016, 03:20:18 AM »
Hello,
I have a not standard situation (not browse and form) to let the user enter data and save them.
I have a memory form with three save buttons for different situations. Each one calls a new page (UpdateDB) with an action parameter (UpdateDB?Action=xxx).
Depending on the action parameter the page works with data (from session values) and saves them to the db. this I do in the page setup of UpdateDB.
At the end of the page setup I redirect to different other pages dependend on the action parameter.
Sometimes, it happens, that the redirection does not work. The browser shows the message 'This page cannot be displayed. Check if the web adress is correct.'
This happens after updating the database, directly when calling the redirection to the next page.

But if I press F5 to refresh the browser the page is shown correctly.

This happens with IE, Chrome and Firefox, not exactly in the same situation but in all.

What can be wrong there?

Thanks for every help

Cheers
Heinz

Pages: 1 [2] 3 4