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

Pages: [1] 2
1
Web Server - Ask For Help / c8/nt6.14 Using New Radio as buttons
« on: January 15, 2012, 07:00:45 PM »
Hi folks,

I have used the new looking Radio control along with an initially hidden drop down, to allow the user to choose a radio button option and on selection make the drop down visible with an appropriate question.  The drop down has OK?|Yes|No as it's options(acting as a confirmation) and as soon as the choice is made the drop down and it's prompt disappear.  The combination works very well and is pleasing to the eye(mine at least).  To the user it looks like clicking a button,  a confirmation question appears, confirmation is given or denied and the confirmation disappears.  It works fine, however, one of the options is to print(in this case a GOODS INWARDS COUNTING SHEET).  What I do not know how to do is to open a new _blank tab and have the print preview appear therein.  I can run the report ok but the print preview appears on the webserver.

Could someone tell me how I can get the result I desire, please? 

Using the normal BUTTON is ok because the effect is all wrapped up in the template.  If push comes to shove, I will remove the print option from the Radio Button and set up a BUTTON to do the print - but I really do not want to.

Thanks in advance,
Hilton.

2
Web Server - Ask For Help / Strange behaviour of Browse/Update c8nt6.13
« on: January 08, 2012, 03:50:14 AM »
Hi Bruce,

After loading nt6.13 (perhaps before, but certainly since nt6), I noticed that when I CHANGED a record from a BROWSE, the details were not placed in the fields of the UPDATE. I fiddled around but to no avail until I decided to change the way the UPDATE was loaded ie from a form to a popup.  Lo and behold! everything worked fine - the UPDATE fields were populated.  I tried the same on a few sets of BROWSE/UPDATE and found that the behaviour was consistent.  As I am in the process of changing all UPDATES to be loaded as popups, it does not affect me.  However, it may be of concern to others.

Bye,
Hilton.

3
Web Server - Ask For Help / c8/nt6.07 lookups not working
« on: December 03, 2011, 07:52:21 PM »
Hi Bruce,

I have been fiddling some more and something struck me as strange - probably because I do not understand the finer points of programming, but here it is:

1. I put a TRACE in the 'afterlookups' in the calling program to reveal which rep if any was passed back from the lookup
2. I put a TRACE in the 'rowClick' to reveal the rep:recordid's obtained (also because I did not really know what I was doing)
3. I put a TRACE in the 'CallClicked' to show which rep:recordid was selected.

As you can see from the attached trace results, on the surface the results seem to be out of order.
The 'rowclicks' are fine as they show the records being obtained by the lookup program.
Then I get the calling program's results (nothing returned)
Then on another thread the result of clicking on the select button in the lookup browse row on another thread.

To the layman, namely me, it seems a bit strange.

I hope I am not wasting your time, but it may be of interest.

Bye,
Hilton.

[attachment deleted by admin]

4
Web Server - Ask For Help / c8/nt6.06 Lookups not working
« on: December 01, 2011, 03:47:09 AM »
Hi Bruce,

I am plodding thru' the differences between nt5.41 and nt6.?? and have found that a few things did not work, however, I see that you have now fixed the locator problem - it seems to be working now - thanks.  Unless I am doing something wrong, all of my lookups have stopped working.  The ? button sometimes does not respond, other times the procedure loads but the selection does not come through and at other times the wrong one comes through.

I never did expect a perfect transition and am quite happy to work thru the problems as ultimately we will have more.  So when you have time, have a look at the lookups.

Thanks,
Hilton.

5
Web Server - Ask For Help / c8/nt6 _ParentProc
« on: November 24, 2011, 10:25:15 PM »
Hi Folks,

I have a customer enquiry that show fields depending on the Parent process.  The code I use is:
If (p_web.GetValue('_ParentProc')='CustEnqBalTran') then etc.........

It worked well in nt5, but I noticed that when I inserted a trace, debugview showed that the property _ParentProc returns nothing.

Any ideas - Thanks,
Hilton.

6
Web Server - Ask For Help / C8/nt6 Menu and Click on Browse
« on: November 24, 2011, 03:28:31 AM »
Hi Folks,

I have installed nt6 upgrade (previous nt5.41) and changed my chrome menu to double drop.  It worked fine, however, the character size is ENORMOUS.  How do I change the size? (I know nothing about css by the way).

The second thing is that when I click on a browse, instead of the items in the reset list for this browse being reset and therefore refreshed, I get (on DebugView) error 404 FileRequest=[customermaintenance_browsecustomers_customermaintenance_value] repeated four times.
Customermaintenance is the NETWEBFORM that hosts the NETWEBBROWSE browsecustomers as well as the others(two browses and a display variable) that I want refreshed when browsecustomers is clicked.  The CallClicked routine is being called ok.

The above was fine under nt5.41.

Thanks,
Hilton.

7
Web Server - Ask For Help / Locator Date Picker c8/nt5.39
« on: November 09, 2011, 03:04:59 AM »
Hi Folks,

The locator that appears for DATE fields is very small (about 2 characters width).  Furthermore, when choosing a date from the date picker, the date is never transferred to the locator field.  If I type the date into the small locator field, the locator works fine and Positions the browse to the correct date.

This was a problem with nt5.38 as well.  I simply mention it so it can be fixed (unless I am doing something wrong of course).

Bye,
Hilton

8
Web Server - Ask For Help / c8/nt5.38 Lookups not initiating validate::
« on: October 25, 2011, 01:43:12 AM »
Hi Folks,

I am probably doing something wrong or missing something. 
1. I have a stock file and a separate file of stockonhand in multiple warehouses.
2. On my order line input form I have product code with a lookup
3. If you enter the product code without using the lookup the validate:: routine is fired which results in obtaining the stock on hand.
4. If you use the lookup, the product code and description arrive with the cursor sitting in the product code field.
5. When you tab off the field, the validate:: routine is not fired which means that the stock on hand does not arrive, or worse you see the stock on hand that has been left over from a previous attempt to get the correct product.
6. I understand that this is probably a manifestation of the js saying "Aha the field has not changed so I will not fire validate::"

The question is - how do I use the lookup AND have the validate:: routine do it's thing.

Thanks,
Hilton.

9
Web Server - Ask For Help / Browser Tabs and Nt5.38
« on: October 20, 2011, 01:37:05 AM »
Hi Folks,

I am lacking in understanding and would appreciate some help.  I thought that if I used ctrl-T and opened a new tab in a browser that I would be able to start a new session of my application. However, I noticed that the app in the new tab thinks it is loggedin and has the same SessionId as the other one.

The question is - Is it possible to have an instance of the app in each tab working independantly of the other tab???  If the answer is yes, how can I achieve that.  If not - such is life.

Thank you,
Hilton.

10
Web Server - Ask For Help / Locator Date Picker c8/nt5.38
« on: October 15, 2011, 08:25:59 PM »
Hi Folks,

The locator that appears for DATE fields is very small (about 2 characters width).  Furthermore, when choosing a date from the date picker, the date is never transferred to the locator field.  If I type the date into the small locator field, the locator works fine and Positions the browse to the correct date.

Is there something that I have not taken into account or not done to cause the above?

Thank you,
Hilton.

11
Hi folks,

Is there any way that I can get the Validate:: routine to fire when tabbing off a field when the value has not changed.  There are circumstances where there are dependant fields that need to be recalculated when tabbing off one field.  At present, unless I change the original, tab off it, come back and change it back then tab off it, Validate:: does not happen.

Thanks,
Hilton.

12
Web Server - Ask For Help / c8/nt5.33 Repeat Inserts Funny
« on: September 01, 2011, 01:35:56 PM »
Hi Bruce,

I have noticed another funny when doing multiple inserts.  Whilst I have a workaround for the problem, it struck me that it might be of interest to you.

I have a Netwebform that contains:
1. a field for entering a customer code
2. a field for entering a date
3. a NetwebBrowse to show customer adjustments from the date entered for the customer entered.  If no customer entered, then all adjustments.
4. the browse has a related updateprocedure
5. if a specific customer is entered in 1 above then the update form will use this code assuming that this is the customer for which you want to enter the adjustment(if not you can change it).
6. if we assume that you want to enter 3 adjustments for the same customer, the first insert is fine, the second insert is fine, however, after the second insert both the fields in 1 and 2 above are cleared which means that the customer in the update form reverts to zero.

I spent quite a lot of time trying to fathom it out but could not.  At no stage in the code do I clear the fields in 1 and 2 out.  I am letting you know just in case it rings a bell with you with other reported happenings.  As I said, I have a workaround, but I can see that it could be problematical.  I will keep my eyes wide open to see if it happens in similar circumstances as I will be using the technique again.

Bye,
Hilton.

13
Web Server - Ask For Help / Priming and Multiple inserts
« on: August 11, 2011, 11:44:44 PM »
Hi Bruce,

In a couple of my programs, I allow multiple inserts in the update that hangs off a browse.  I noticed that when the second transaction was entered, the priming was not done again.  I embedded code as follows in the PostInsert embed:
 p_web.InsertAgain('CustRecUpd')
 Clear(cTran:Record)
 do PreInsert
 exit
  ! End of "On Insert : Form ends : following disk write"
  p_web.InsertAgain('CustRecUpd')
  Clear(cTran:Record)

Obviously, I simply copied the generated code below mine, added a Preinsert and exited to avoid the generated code.  I thought you may want to contemplate allowing an embed point after the last generated line of code or adding the PreInsert.

Bye,
Hilton.

14
Web Server - Ask For Help / error in site javascript C8 NT5.29
« on: July 13, 2011, 02:59:48 PM »
Hi Folks,

The above error came, went and seems to have returned permanently. I have checked other posts, however, the "this is a header" solution does not apply.

When converting from Cv7.3 to Cv8, I imported the procedures and noted that all <39> in filters were changed to " ' ", but I have changed those and now the compile is clean.

Any ideas?

Bye,
Hilton.

15
Hi,

Just in case this saves someone some anxt.  When converting to new clarion version and importing procedures, please be aware that where ever <39> is used in filter expressions in browses (and I guess elsewhere), it is changed to " ' " which causes compilation errors.

Bye,
Hilton.

Pages: [1] 2