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

Pages: 1 [2] 3 4 5
16
Web Server - Ask For Help / Wizard - Resize/Grow as needed
« on: October 14, 2015, 01:19:55 PM »
Hi Bruce,

At the moment (Accounts example attached, add an Invoice, then add Line Items to see the issue) the Wizard doesn't grow with any growth of information in the tabs (ie a child browse with records added to it).

Any chance this could get sorted out in NT8?

Stu

[attachment deleted by admin]

17
Web Server - Ask For Help / Autocomplete list hidden on popup window
« on: September 23, 2015, 12:35:46 AM »
Hi Bruce/Folks,

(I know you're away Bruce, and I've got a whole pretty bunch of things to hit up on here come mid Oct, but wanted to put this out here to see if someone else has fixed it up)

Screen attached.

Basically, when in a popup form where the autocomplete field is near the bottom, the list goes below the popup form.

Have been fiddling with the css, and all that I've come up with is to set

.ui-autocomplete { position:relative; }

Not great, but it pushes the popup form bottom down to show the whole autocomplete list, and when you select the popup form goes back to normal size.

Any ideas what css/jquery might be good to solve this?

Stu

[Edit 1] I tried "z-index:9999;" in the css, didn't seem to solve the issue.

[attachment deleted by admin]

18
(Note: Once logged in I can't access the original thread, just get a blank page)

Continues this thread, http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=6454.0;prev_next=next.

Just thought I'd give an update in case anyone else runs into this issue.

It's FM3 setting the sql collation string on a guid unique key field. It changes from whatever it is to SQL_Latin1_General_CP1_CS_AS (search for that here, http://capesoft.com/docs/fm3/fm3.htm, see the history log for Version 4.91).

So I'm guessing at some stage the combination of FM3 and using MSSQL and then whatever clarion and the sql driver is doing in next(SetView) that causes the error (taken from original post):

Code: [Select]
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CS_AS" and "Latin1_General_CI_AS" in the equal to operation. Statement(s) could not be prepared.

Geoff (Capesoft) has given me a work-around for the moment, which I'm about to test. Manually set the collation using ds_SetOption('casesensitivecollation',MyCaseSensitiveCollation) - as in the 4.91 build notes for FM3.

A strange and long-winded issue this one is.

19
Web Server - Ask For Help / 2 radio fields on same page with same values
« on: August 07, 2015, 07:21:39 PM »
Hi Bruce/Folks,

I've got a popup form with two radio fields on it, and each of those fields have the same set of values (see screen 1).

When you load up the page with firebug running, you get:

Code: [Select]
Error: cannot call methods on button prior to initialization; attempted to call method 'widget' (see screen 2).

Googling this led me here, https://forum.jquery.com/topic/uncaught-error-cannot-call-methods-on-button-prior-to-initialization-attempted-to-call-method-widget - the answer on this seems to be saying it's something that jquery can't handle.

Any ideas how I might be able to get around this?

EDIT: Am thinking I could try using different values in the second radio field, although that won't be ideal (I'll have to manually change them back on saving the record).

Stu

[attachment deleted by admin]

20
Hi Folks,

First things.

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5696.0
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=4406.0

Have gone over both of these.

Now, to the problem.

With tonight's build, the following error occurs:

Code: [Select]
[596] [NetDLL] [1] RunTimeLoadProcedures_SSL() : Warning. Could not load SSL functions (libeay32.dll, ssleay32.dll, libssl32.dll, msvcr90.dll). API Error = 126
Checks:

* All four files are there, and they are the same ones that were there previously today before I installed this latest build.
* The difference is I upgraded Nettalk to 8.55 - am not saying this is the cause, just that it's what changed.
* This does not happen on my dev machine, only on the live server. IMPORTANT

Screenshot of the debugview log attached.

* I've also tried removed the msvcr90.dll file and making sure of the 2008 runtime install. Neither things (or a combination of removing/having the dll in the folder) solved this issue.

Any ideas?

Stu

[attachment deleted by admin]

21
Hi Bruce/Folks,

Have had an issue with SSL and mobile android/chrome for a while now.

Thankfully, someone has solved it!

http://stackoverflow.com/questions/27892873/ssl-cert-err-cert-authority-invalid-on-mobile-chrome-only

So my question is, where would the *.conf file be, or the equivalent?

Is it something internally in the nettalk ssl functionality maybe?

Cheers,

Stu

[attachment deleted by admin]

22
Hi Bruce/Folks,

So I'm trying to put a custom url into a browse field.

But at the moment, no matter what options I select, I can't seem to get the template-code to not wrap it in a CreateHyperlink() call.

Screens attached.

Am I missing something basic?

[attachment deleted by admin]

23
Hi Bruce/Folks,

Right. So in order to prove to you that the enhancement of nettalk's autocomplete functionality to allow for adding records from the field itself, in order to prove this to you I need some help. From you. Ho ho.

At some point, probably the Accepted embed on the autocomplete field makes the most sense, how would you / can you call a popup form depending on the autocomplete value clicked?

IE, let's say I have a bunch of values, one of which is "Add a new one".

This is basically what I want to do:

Code: [Select]
If (p_web.GetValue('Value') = 'Add a new one') then CALL POPUP FORM .
Possible?

Cheers,

Stu

24
Hey Folks,

Has anyone noticed this?

Clarion 10 (latest), Nettalk 8.51, MSSQL files.

1. Browse + alias file.
2. Browse shows records.
3. M:1 relationship field added to browse.
  * [EDIT] It's not adding the field to the nettalk browse that causes this, it's adding the related file to the file dialog tree .. whether the field is in the browse or not, the problem happens.
  * [EDIT] The "Inner" file dialog template option is definitely not ticked, but if ticked doesn't stop problem.
4. Browse stops showing records.

Have tried to replicate in an example, but the examples (TPS) are working fine.

Thought I'd ask if this is something people have seen / know what I'm doing wrong / etc.

Cheers

25
Hi Bruce/Folks,

Have got:
- parent memory form
- file browse, set in the parent memory form template settings, in a tab
- custom button, calls a popup form procedure
- form is a memory form
- code creates a new record in the browse file
- in browse button template options, have "refresh browse" ticked

Have also ticked "send stuff to debugview" on the browse template - screen attached of the flow, which includes my own custom debug()ing.

The browse doesn't refresh the way I'm hoping it will - ie, full refresh where the custom filter will be called.

1. The parent form + browse is called, you can see the custom filter debug() getting called.
2. I click the custom button, popup memory form opens.
3. I click the save button, the validaterecord debug() happens, and we go back to the browse.
4. The final two template debug() lines show the browse gaining focus.

The new record is not shown on the browse.

Am thinking it might be because of the parent memory form.

Any thoughts?

[attachment deleted by admin]

26
Hi Bruce/Folks,

Okay, here goes.

I've been having problems with a browse+form with COPY functionality, using MSSQL files (using aliases), on the production server.

Two things can happen:
1. Fields in the source record can be altered.
2. The destination record is exactly the same as the source record regardless of what is changed in the (copy) form.

The first one doesn't always happen.

At the moment, the second one seems to always be happening (on test server definitely, not sure about live, I got a different report this morning from a user).

TODAY:
- I created a brand new browse + copy-only form, using the base files (not aliases).
- Have got a custom filter on the new browse, but the rest is pure template driven goodness.
- In the copy form have got "always prime regardless of .." because if I don't have that ticked, an empty record is always created. Always.

With this new browse+copy form I was hopeful, thought it might have something to do with using aliases. Nope.

ISSUE: The destination record after clicking save on the copy form is exactly the same as the source record.

I'm at a loss as to how to do this up in an example, given it's sql. The Accounts (31) example copies fine. No worries. Works great.

Anyone had these issues, or something like it, with SQL?

27
Hi Bruce,

NT 8.47
Clarion 10 (latest)

Attached is the "Accounts 31" example app+dct files.

Changes:

1. Added the Invoice browse as a child to the Customer browse.

Replicate:

1. On the Customer browse, click Insert.
2. InvoiceItem (child to Invoice browse) browse shows Locator and Navigation fields when they should be hidden.

Let me know if there's anything else you need.

Screenshot attached.

[attachment deleted by admin]

28
Hi Bruce,

I've got a form that has a problem where the focus shifts a fair way down the page to the first control (button).

Have searched around (this thread, http://www.nettalkcentral.com/forum/index.php?topic=6090.0, and some others).

But specifically, I'd like to know how to either TURN OFF all focuses in the form, or TURN ON focus to a field that's not a button.

More specifically, I have a display field at the top of the form, it's a big one, more than a screen-height for sure. And I'd like to make sure it has the focus.

Or, just to load so that nothing has the focus, so the browser just sits at the top of the page (which is the "turn off" thing I guess, not sure).

Any thoughts/help?

29
Web Server - Ask For Help / Re: Report Progress Problem - SOLVED (red-face)
« on: December 11, 2014, 08:47:23 PM »
This is very bizarre.

Was visiting offices today, and saw this happening realtime.

It's cross-browser (saw it happen in chrome, firefox and IE 11).

But what's boggling my mind is that I saw it not work, then work, then go back to not working all on the same computer (but different instances of the browser).

Oh, and my issue is slightly different to OP.

1. Person clicks on the "print pdf" start button.
2. Timer gif appears, code runs, but the "start progress never appears, and the link never appears.

30
Hi Bruce/Folks,

Have got a bit of a wierd one.

There's a specific way to get a memory form on a nettalk webserver to have a different session id between loading and clicking a button.

At the moment, I have no idea how it's done.

Basically.

1. An email is sent out to contacts, at the bottom is an unsubscribe link.
2. Person clicks on unsubscribe link.
3. On loading, p_web.GetValue() retrieves the guid etc that I need.
4. Shows information to the user, and gets them to verify with a button click (yes, I could just do it on load, and tell them it's done .. This is probably what I'll end up changing to, but for the moment humor me).
5. On button click, the p_web.SessionID value is different from the value on page load.

When I test on desktop and mobile device, everything works fine.

But from the public webserver logs, I can see it happening every now and again. The session id changes between page loading and button click.

Any idea how this could happen?

Pages: 1 [2] 3 4 5