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.
1
Web Server - Ask For Help / Re: Validating a form when [Enter] is pressed
« on: January 23, 2012, 01:13:13 AM »
Hi Devan,
Try somewhere in the ValidateRecord routine. I tend to put some final checking in there, particularly combinations of things (eg qty supplied or qty backordered must have a value). When enter is pressed, that routine is run which in turn validates each field.
Bye,
Hilton.
Try somewhere in the ValidateRecord routine. I tend to put some final checking in there, particularly combinations of things (eg qty supplied or qty backordered must have a value). When enter is pressed, that routine is run which in turn validates each field.
Bye,
Hilton.
2
Web Server - Ask For Help / Re: c8/nt6.14 Using New Radio as buttons
« on: January 16, 2012, 04:38:33 AM »
Hi Kevin and Bruce,
Many thanks for your replies, however, I probably did not describe the situation clearly.
1. I have added a button to the form that contains the RadioButtons/Drop Down and when clicking the new button the report pdf is created fine and appears in it's own browser tab - no problems.
2. I really like the new Radio buttons and I have used them just like normal buttons to initiate various actions. When one of the Radio Options are chosen an initailly hidden drop down appears and it's prompt contains the text for the user and in the drop down is OK?|Yes|NO which gives the YES/NO confirmation. This is really great and I think it looks good!
3. What I want to do in the code below is:
if loc:ActionConfirmation = 1 then !Yes has been chosen from the drop down
case p_web.gsv('loc:ReqAction') !these are the radio selections
of 'Update'
PoGinWorkUpd(p_web,p_web.gsv('loc:ginSelectedPo'))
of 'Clear'
PoGinWorkClear(p_web.gsv('loc:ginSelectedPo'))
of 'CreateGi'
PoGinCreate(p_web.gsv('loc:ginSelectedPo'))
of 'PrintGis'
--------------------------------------->in here put code that will run the print procedure PoGinPrintGis
---------------------------------------> and produce the PDF just like the button does in
--------------------------------------->it's own browser tab.
end
end
My desire is to be able to get rid of the BUTTON which works fine (because the template wraps everything up fine) and replace it with some code above. It would be ok to hide the button and somehow send it an event to emulate the click.
I hope that is clearer. If what I am asking cannot be done, so be it.
Thank you for your time.
Bye,
Hilton.
Many thanks for your replies, however, I probably did not describe the situation clearly.
1. I have added a button to the form that contains the RadioButtons/Drop Down and when clicking the new button the report pdf is created fine and appears in it's own browser tab - no problems.
2. I really like the new Radio buttons and I have used them just like normal buttons to initiate various actions. When one of the Radio Options are chosen an initailly hidden drop down appears and it's prompt contains the text for the user and in the drop down is OK?|Yes|NO which gives the YES/NO confirmation. This is really great and I think it looks good!
3. What I want to do in the code below is:
if loc:ActionConfirmation = 1 then !Yes has been chosen from the drop down
case p_web.gsv('loc:ReqAction') !these are the radio selections
of 'Update'
PoGinWorkUpd(p_web,p_web.gsv('loc:ginSelectedPo'))
of 'Clear'
PoGinWorkClear(p_web.gsv('loc:ginSelectedPo'))
of 'CreateGi'
PoGinCreate(p_web.gsv('loc:ginSelectedPo'))
of 'PrintGis'
--------------------------------------->in here put code that will run the print procedure PoGinPrintGis
---------------------------------------> and produce the PDF just like the button does in
--------------------------------------->it's own browser tab.
end
end
My desire is to be able to get rid of the BUTTON which works fine (because the template wraps everything up fine) and replace it with some code above. It would be ok to hide the button and somehow send it an event to emulate the click.
I hope that is clearer. If what I am asking cannot be done, so be it.
Thank you for your time.
Bye,
Hilton.
3
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.
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.
4
Web Server - Ask For Help / Re: Strange behaviour of Browse/Update c8nt6.13
« on: January 09, 2012, 03:56:45 AM »
Hi Bruce,
Strange, but it would not happen on any of your examples. Indeed, it would not happen on a copy of my app that I have used to send you examples of, only the main app. It seems to me that I may be wasting everybodys time, so for now I will leave it as it is not affecting me. It is probably a non issue.
Thanks,
Hilton.
Strange, but it would not happen on any of your examples. Indeed, it would not happen on a copy of my app that I have used to send you examples of, only the main app. It seems to me that I may be wasting everybodys time, so for now I will leave it as it is not affecting me. It is probably a non issue.
Thanks,
Hilton.
5
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.
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.
6
Web Server - Ask For Help / Re: c8/nt6.07 lookups not working
« on: December 07, 2011, 12:58:07 AM »
Hi Bruce,
Thanks, I see what you are saying. I have played with the sample I sent you and where I got my wires crossed, uncrossed them and it worked. I will now go through the rest of the app looking for crossed wires.
The thing that really threw me was the fact that it worked in version 5.43.
I am happy and will now plod thru' everything looking for errors. That will at least teach me to be consistent.
Bye until I next stumble,
Hilton.
Thanks, I see what you are saying. I have played with the sample I sent you and where I got my wires crossed, uncrossed them and it worked. I will now go through the rest of the app looking for crossed wires.
The thing that really threw me was the fact that it worked in version 5.43.
I am happy and will now plod thru' everything looking for errors. That will at least teach me to be consistent.
Bye until I next stumble,
Hilton.
7
Web Server - Ask For Help / Re: c8/nt6.07 lookups not working
« on: December 05, 2011, 04:49:21 PM »
Hi Bruce,
Attached please find:
1. htgex1.zip - compressed app, files etc
2. webdict.zip - compressed dictionary
'runninginst.txt' to guide you thru login, passwords etc.
Thank you very much,
Hilton.
[attachment deleted by admin]
Attached please find:
1. htgex1.zip - compressed app, files etc
2. webdict.zip - compressed dictionary
'runninginst.txt' to guide you thru login, passwords etc.
Thank you very much,
Hilton.
[attachment deleted by admin]
8
Web Server - Ask For Help / Re: c8/nt6.07 lookups not working
« on: December 05, 2011, 04:25:15 AM »
Hi Bruce,
I guess I did not make it clear enough - I am finding that the lookups DO NOT WORK in nt6.07.
I have tried the search button in the browse line - did not work.
I have tried the search button at the bottom - did not work
I tried deleting the browse and regenerating it - lookup did not work
However!!! I deleted the calling update and then regenerated it - now the lookups work.
I have also had to start redoing my order entry procedures as they ceased working since the conversion from nt5.41 to nt6. Now on nt6.07.
I can only assume from the above that the conversion process somehow has something lacking.
When I am feeling less discouraged I will try some more looking around and let you know the results.
Bye,
Hilton.
I guess I did not make it clear enough - I am finding that the lookups DO NOT WORK in nt6.07.
I have tried the search button in the browse line - did not work.
I have tried the search button at the bottom - did not work
I tried deleting the browse and regenerating it - lookup did not work
However!!! I deleted the calling update and then regenerated it - now the lookups work.
I have also had to start redoing my order entry procedures as they ceased working since the conversion from nt5.41 to nt6. Now on nt6.07.
I can only assume from the above that the conversion process somehow has something lacking.
When I am feeling less discouraged I will try some more looking around and let you know the results.
Bye,
Hilton.
9
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]
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]
10
Web Server - Ask For Help / Re: c8/nt6.06 Lookups not working
« on: December 02, 2011, 04:37:10 AM »
Hi Bruce,
My previous comments applied to a record I was trying to CHANGE.
I decided to try with an INSERT and the lookup did return a result, but it was never the choice I made.
During the INSERT if I tried to change the current choice, it behaved like the CHANGE did.
Hope that helps - will continue experimenting
Bye,
Hilton.
My previous comments applied to a record I was trying to CHANGE.
I decided to try with an INSERT and the lookup did return a result, but it was never the choice I made.
During the INSERT if I tried to change the current choice, it behaved like the CHANGE did.
Hope that helps - will continue experimenting
Bye,
Hilton.
11
Web Server - Ask For Help / Re: c8/nt6.06 Lookups not working
« on: December 02, 2011, 04:26:52 AM »
Hi Bruce,
1. The lookup procedure has the select button in the row of the browse.
2. I have tried clicking on the select button directly without clicking on the row first
3. I have tried clicking on the row first to highlight it and then clicking the select button in that row, but the result is the same,
the data in the calling procedure does not change.
Bye,
Hilton.
1. The lookup procedure has the select button in the row of the browse.
2. I have tried clicking on the select button directly without clicking on the row first
3. I have tried clicking on the row first to highlight it and then clicking the select button in that row, but the result is the same,
the data in the calling procedure does not change.
Bye,
Hilton.
12
Web Server - Ask For Help / Re: c8/nt6.06 Lookups not working
« on: December 01, 2011, 10:34:30 PM »
Hi Chris,
I have changed some of my lookups to confirm your findings and yes:
1. Form to popup no lookup page at all
2. Form to form lookup page arrives, however, clicking the select button in the lookup does not get any results at all
I do not have anything to readily change to the other things you tried, however, when I get some time will fiddle some more.
Bye,
Hilton.
I have changed some of my lookups to confirm your findings and yes:
1. Form to popup no lookup page at all
2. Form to form lookup page arrives, however, clicking the select button in the lookup does not get any results at all
I do not have anything to readily change to the other things you tried, however, when I get some time will fiddle some more.
Bye,
Hilton.
13
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.
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.
14
Web Server - Ask For Help / Re: c8/nt6 _ParentProc
« on: November 25, 2011, 03:53:43 AM »
Bruce,
Thanks for the prompt reply.
Hilton.
Thanks for the prompt reply.
Hilton.
15
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.
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.