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.
10471
Web Server - Ask For Help / Re: Requesting number of rows to display on every form.
« on: January 04, 2009, 09:24:22 PM »
Hi John,
There are a number of questions here.
a) you can of course set the records-per-page on the template to be an expression. So in your case something like;
p_web.GSV('linesperpage')
b) you'd then be able to set linesperpage on any form. Presumably then having the browse as a "reset field" of this.
c) I've never tried it, but I think embedding a form in the header is possible. So that's ok. BUT
d) embedding a generic reset form would not allow you to "reset the browse when the form field changed" - or at least not from the template setting. so this is the thing that's gonna stump you.
So I don't think the "generic" approach will work.
Cheers
Bruce
There are a number of questions here.
a) you can of course set the records-per-page on the template to be an expression. So in your case something like;
p_web.GSV('linesperpage')
b) you'd then be able to set linesperpage on any form. Presumably then having the browse as a "reset field" of this.
c) I've never tried it, but I think embedding a form in the header is possible. So that's ok. BUT
d) embedding a generic reset form would not allow you to "reset the browse when the form field changed" - or at least not from the template setting. so this is the thing that's gonna stump you.
So I don't think the "generic" approach will work.
Cheers
Bruce
10472
Web Server - Ask For Help / Re: cancel button cancels parent form
« on: January 01, 2009, 11:15:51 PM »
Hi John,
I tried duplicating the effect in the Accounts (31) example. This has a procedure UpdateInvoices, which contains the LineItems browse - hence an Insert button to add line items.
However if I cancel the LineItem it does not cancel the Invoice I am updating.
So I think it may be specific to your situation. Specifically;
a) the button you are using to call the form or
b) the URL-on-Cancel that the form is set to.
If you don't figure it out, can you please post an example here of your approach, and I'll see what's happening inside that.
Cheers
Bruce
I tried duplicating the effect in the Accounts (31) example. This has a procedure UpdateInvoices, which contains the LineItems browse - hence an Insert button to add line items.
However if I cancel the LineItem it does not cancel the Invoice I am updating.
So I think it may be specific to your situation. Specifically;
a) the button you are using to call the form or
b) the URL-on-Cancel that the form is set to.
If you don't figure it out, can you please post an example here of your approach, and I'll see what's happening inside that.
Cheers
Bruce
10473
Web Server - Ask For Help / Re: tabs not wrapping properly
« on: December 30, 2008, 10:05:11 PM »
Hi John,
I didn't know the tabs could wrap. I'll look into it, but I'm not terribly hopeful. I suppose your best option s to "manually" move the browse down by adding a blank "display" field before it on the form.
Cheers
Bruce
I didn't know the tabs could wrap. I'll look into it, but I'm not terribly hopeful. I suppose your best option s to "manually" move the browse down by adding a blank "display" field before it on the form.
Cheers
Bruce
10474
Web Server - Ask For Help / Re: Pr28 - missing Template update.
« on: December 30, 2008, 10:00:41 PM »
Sorry about that Poul, I've made sure the fix is in today's build.
Cheers
Bruce
Cheers
Bruce
10475
News And Views / Re: Version 4.31 PR 19 uploaded
« on: December 30, 2008, 03:23:14 AM »
PR 28 is up. This fixes the problem encountered by IE users.
10476
Web Server - Ask For Help / Re: PR27 serious problem
« on: December 30, 2008, 03:18:36 AM »
PR 28 is up.
10477
Web Server - Ask For Help / Re: cancel button cancels parent form
« on: December 30, 2008, 02:01:09 AM »
Hi John,
I'll look into it.
Cheers
Bruce
I'll look into it.
Cheers
Bruce
10478
Web Server - Ask For Help / Re: PR27 serious problem
« on: December 30, 2008, 02:00:18 AM »
Hi Guys,
Sorry for that - it is caused by a bug in IE (documented here http://support.microsoft.com/kb/927917)
which appears to have been fixed in at least some versions of IE7. Apparently there is an MS patch out for this, so I suspect it'll kick in for some IE users, but not for others. (I'm running a reasonably up-to-date IE7 on Vista and did not get the problem.)
The good news is that a work-around is fairly straight-forward, so I've implemented that and am busy doing the PR28 release now.
Cheers
Bruce
Sorry for that - it is caused by a bug in IE (documented here http://support.microsoft.com/kb/927917)
which appears to have been fixed in at least some versions of IE7. Apparently there is an MS patch out for this, so I suspect it'll kick in for some IE users, but not for others. (I'm running a reasonably up-to-date IE7 on Vista and did not get the problem.)
The good news is that a work-around is fairly straight-forward, so I've implemented that and am busy doing the PR28 release now.
Cheers
Bruce
10479
Web Server - Ask For Help / Re: send value to server appears not to be working for buttons
« on: December 30, 2008, 01:22:02 AM »
Hi John,
I tested this in example 28.
(note: I had to add "text" to the Change button on the browse, which then allowed me to go to the form.)
There's a server button on the form, and the server code contains a STOP statement (which you will have to UNCOMMENT to see working...). That all seems to be working here, so here is the checklist for your server-side form button:
Type: MUST BE Button
Must nave a Name.
Hyperlink: Must NOT have anything set
Client-Side: Must be "Send new value to server" on.
And obviously, your embedded STOP statement must be in the right place.
cheers
Bruce
PS - some people have suppressed MESSAGE statements completely in their web apps, using MessageBox or something like it, and then forget this, and then of course using MESSAGE as a debug tool leads to some confusion....
I tested this in example 28.
(note: I had to add "text" to the Change button on the browse, which then allowed me to go to the form.)
There's a server button on the form, and the server code contains a STOP statement (which you will have to UNCOMMENT to see working...). That all seems to be working here, so here is the checklist for your server-side form button:
Type: MUST BE Button
Must nave a Name.
Hyperlink: Must NOT have anything set
Client-Side: Must be "Send new value to server" on.
And obviously, your embedded STOP statement must be in the right place.
cheers
Bruce
PS - some people have suppressed MESSAGE statements completely in their web apps, using MessageBox or something like it, and then forget this, and then of course using MESSAGE as a debug tool leads to some confusion....
10480
Web Server - Ask For Help / Re: Strange PR 25 behavior
« on: December 28, 2008, 11:22:46 PM »
Fixed in the latest update.
10481
Web Server - Ask For Help / Re: Strange PR 25 behavior
« on: December 25, 2008, 09:30:22 PM »
Thanks John - I'm looking into this.
Cheers
Bruce
Cheers
Bruce
10482
News And Views / Re: Version 4.31 PR 19 uploaded
« on: December 24, 2008, 02:32:01 AM »
PR 26 is up.
Fixes the bug reported by John here...
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=693.0
Fixes the bug reported by John here...
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=693.0
10483
Web Server - Ask For Help / Re: Locator not refreshing browse on a second tab
« on: December 24, 2008, 02:30:43 AM »
PR 26 is up.
10484
Web Server - Ask For Help / Re: Locator not refreshing browse on a second tab
« on: December 23, 2008, 11:17:06 PM »
Hi John,
ok, I've fixed the problem, and am uploading PR26 now.
I'll post here as soon as it's up.
Cheers
Bruce
ok, I've fixed the problem, and am uploading PR26 now.
I'll post here as soon as it's up.
Cheers
Bruce
10485
Web Server - Ask For Help / Re: Locator not refreshing browse on a second tab
« on: December 23, 2008, 10:06:58 PM »
Hi John,
I've just made a small test of your situation, and I'm getting the same effect as you.
Also - it's not just the locator, the Next, Previous etc buttons also don't cascade "up" to the parent, and hence don't update the related browses.
I'm looking into it to see if a simple fix is possible.
Cheers
Bruce
I've just made a small test of your situation, and I'm getting the same effect as you.
Also - it's not just the locator, the Next, Previous etc buttons also don't cascade "up" to the parent, and hence don't update the related browses.
I'm looking into it to see if a simple fix is possible.
Cheers
Bruce