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.
31
Web Server - Ask For Help / Re: Strange tab display
« on: February 25, 2012, 02:12:13 AM »
I would use Firebug in Firefox to highlight the tabs and inspect the CSS, and compare that with a "working" form's CSS.
Cheers
Rob
Cheers
Rob
32
Web Server - Ask For Help / Re: How to tell if Inserting a record
« on: February 24, 2012, 11:52:18 AM »
If I remember correctly, the variables used in the form procedure is loc:Act long() or loc:ation string(40).
Regards
Rob
Regards
Rob
33
Web Server - Ask For Help / Re: Strange tab display
« on: February 24, 2012, 11:46:16 AM »
You might have an override CSS Class on the NetWebForm's CSS Tab.
Cheers
Rob
Cheers
Rob
34
Web Server - Ask For Help / Re: SW 6.07 still not working
« on: February 22, 2012, 09:52:50 PM »
Secwin 6.07 is pretty fresh off the press though.
Cheers
Rob
Cheers
Rob
35
Web Server - Ask For Help / Re: Force record to be saved
« on: February 21, 2012, 01:12:45 PM »
Hi Ian
>>I have put a "Print" button on a web form that prints a report but I need it to force the record to be saved prior to running the report
If the print is compulsory, I would "remove" the print button and leave the save button on the form, but when the form is saved, I would call the print report procedure at an embed point "...following disk write".
If the print is not compulsory, you can change the form's save url to open your print form or webpage.
Cheers
Rob
>>I have put a "Print" button on a web form that prints a report but I need it to force the record to be saved prior to running the report
If the print is compulsory, I would "remove" the print button and leave the save button on the form, but when the form is saved, I would call the print report procedure at an embed point "...following disk write".
If the print is not compulsory, you can change the form's save url to open your print form or webpage.
Cheers
Rob
36
Web Server - Ask For Help / Re: Browse and Form on Same Page
« on: February 21, 2012, 10:52:53 AM »
Hi Gavin,
Which ever way I slice or dice my example I gave you, it still works. Hopefully you are on NetTalk 6??
What Bruce is saying though, is that a form on a form is not designed to work. So I was lucky. Unfortunately this is the only way I can get the solution to work for you out of the box, without some really fancy footwork and considerable time spend on this.
The risk of implementing the solution now, as it works on a form, is that it might stop working down the line when future changes are made to NetTalk. So probably best to change your UI design, until such time when we get an out of the box working example.
So I am thinking: You have netweb browse....below the netweb browse, the browse's netweb updateform...highlight a record on the netweb browse and the netweb form is populated with the selected row's data....a forward and backward button below the netweb form saves your changes and populates the next or previous record in the form.....and moves the netweb browse highlight bar as well...hmm.....were is Santa Claus when you need him or do we look for Santa and find Bruce? I just love finding work for others.....
Cheers
Rob
Which ever way I slice or dice my example I gave you, it still works. Hopefully you are on NetTalk 6??
What Bruce is saying though, is that a form on a form is not designed to work. So I was lucky. Unfortunately this is the only way I can get the solution to work for you out of the box, without some really fancy footwork and considerable time spend on this.
The risk of implementing the solution now, as it works on a form, is that it might stop working down the line when future changes are made to NetTalk. So probably best to change your UI design, until such time when we get an out of the box working example.
So I am thinking: You have netweb browse....below the netweb browse, the browse's netweb updateform...highlight a record on the netweb browse and the netweb form is populated with the selected row's data....a forward and backward button below the netweb form saves your changes and populates the next or previous record in the form.....and moves the netweb browse highlight bar as well...hmm.....were is Santa Claus when you need him or do we look for Santa and find Bruce? I just love finding work for others.....
Cheers
Rob
37
Web Server - Ask For Help / Re: Secwin Logon create - Email Issue
« on: February 21, 2012, 10:30:30 AM »
I get the same effect RJ, although it is different than the original problem posted here. I will get a sample data set to Geoff.
Cheers
Rob
Cheers
Rob
38
Web Server - Ask For Help / Re: Browse and Form on Same Page
« on: February 20, 2012, 09:30:49 PM »
Gavin,
A easier place to start is to why the example I send you does not compile. What are the compile errors which you are getting?
Cheers
Rob
A easier place to start is to why the example I send you does not compile. What are the compile errors which you are getting?
Cheers
Rob
39
Web Server - Ask For Help / Re: IIS and NTWS in the same server problem
« on: February 20, 2012, 10:21:06 AM »
Hi RJ
Port 88 is getting to the IIS server, hence the reply HTTP Error 404 - File or directory not found from IIS. So IF_NETTALK_WEBSERVER_IS RUNNING on the same server, then it seems IIS is high jacking the port 88 request. otherwise we would have seem the old website.
Michelis
So maybe we should confirm the basics first: Is your NTWS running on the same machine as your Service Providers' IIS machine? I originally assumed so. If it is the case, have a chat to them yes.
Cheers
Rob
Port 88 is getting to the IIS server, hence the reply HTTP Error 404 - File or directory not found from IIS. So IF_NETTALK_WEBSERVER_IS RUNNING on the same server, then it seems IIS is high jacking the port 88 request. otherwise we would have seem the old website.
Michelis
So maybe we should confirm the basics first: Is your NTWS running on the same machine as your Service Providers' IIS machine? I originally assumed so. If it is the case, have a chat to them yes.
Cheers
Rob
40
Web Server - Ask For Help / Re: Secwin Logon create - Email Issue
« on: February 20, 2012, 10:11:09 AM »
Hi Johan
Geoff is busy uploading a new build of SecWin (give it another 30 minutes) which fixes, I hope your problem as well.
Cheers
Rob
Geoff is busy uploading a new build of SecWin (give it another 30 minutes) which fixes, I hope your problem as well.
Cheers
Rob
41
Web Server - Ask For Help / Re: Form Date Field Broke
« on: February 19, 2012, 10:34:48 AM »
As far as I can remember, the supported date pictures are from @d1 to @d16. D17 and D18 are not supported. mm/dd/yy is @d1
Cheers
Rob
Cheers
Rob
42
Web Server - Ask For Help / Re: FM3 problem
« on: February 19, 2012, 07:28:37 AM »
Sounds like 1000 data folders warrants some more digging on your part there..good luck.
Cheers
Rob
Cheers
Rob
43
Web Server - Ask For Help / Re: FM3 problem
« on: February 19, 2012, 07:05:06 AM »
Hi John
First price is if you have a upg file in a dataset which did upgrade correctly (you would have to be sure that is the correct upg file though) and copy this file into the dataset's upg path which is having a problem. This should work.
FM comes with a upgview tool in the 3rdparty/bin folder called upgview. This might help you look at the upg file to see what version history and file structures it knows off.....have a look the the changes report in this tool as well. It give a you version to version history of what has changed. This will help you with second price below....
1 - Undo the changes you made in the dictionary. If you have a backup of the program in non-error 47 state, restore that version. Alternatively, if you are aware of the changes you have made to the dictionary to cause the error 47, and it is easily undone, then do so.
If you are unsure of the structure of the current TPS file on disk, use TopScan to view the file structure.
E.g.: TopScan File > File Layout.
At this time, set the file versions in your dictionary, run your program and touch all the files (if you can start with no upg file). Then make the relevant changes in dictionary and they files should upgrade
2 - Manually create a conversion program. Using the before and after file structures, you can manually create a conversion program in Clarion to get the file structures correct. Then repeat the paragraph above.
Cheers
Rob
First price is if you have a upg file in a dataset which did upgrade correctly (you would have to be sure that is the correct upg file though) and copy this file into the dataset's upg path which is having a problem. This should work.
FM comes with a upgview tool in the 3rdparty/bin folder called upgview. This might help you look at the upg file to see what version history and file structures it knows off.....have a look the the changes report in this tool as well. It give a you version to version history of what has changed. This will help you with second price below....
1 - Undo the changes you made in the dictionary. If you have a backup of the program in non-error 47 state, restore that version. Alternatively, if you are aware of the changes you have made to the dictionary to cause the error 47, and it is easily undone, then do so.
If you are unsure of the structure of the current TPS file on disk, use TopScan to view the file structure.
E.g.: TopScan File > File Layout.
At this time, set the file versions in your dictionary, run your program and touch all the files (if you can start with no upg file). Then make the relevant changes in dictionary and they files should upgrade
2 - Manually create a conversion program. Using the before and after file structures, you can manually create a conversion program in Clarion to get the file structures correct. Then repeat the paragraph above.
Cheers
Rob
44
Web Server - Ask For Help / Re: FM3 problem
« on: February 19, 2012, 06:27:15 AM »
I ignored the directories in my example, because they formed part of the file name in the design you have. I did modify the example I send you to confirm, and moved the employee1.tps file do webapp\1\employee1.tps and employee2.tps file do webapp\2\employee2.tps. the filenames were updated as well. The upg is still in webapp. An upgrade worked fine. So the concept and execution works.
Either you changed the file prefix? or I am starting to think that your upg file and dictionary changes have somewhere gone out of sync. So when FM tries to decide what to upgrade your files from, to the new structure in your dict, it can't find the matching current (old) file structure.
Cheers
Rob
Either you changed the file prefix? or I am starting to think that your upg file and dictionary changes have somewhere gone out of sync. So when FM tries to decide what to upgrade your files from, to the new structure in your dict, it can't find the matching current (old) file structure.
Cheers
Rob
45
Web Server - Ask For Help / Re: FM3 problem
« on: February 19, 2012, 04:37:44 AM »
Hi John
See the basic example attached. It is rough, but shows the concept and the upgrade works. login 1, password 1 and login 2, password 2 have two different employee files. Hope it helps.
Cheers
Rob
[attachment deleted by admin]
See the basic example attached. It is rough, but shows the concept and the upgrade works. login 1, password 1 and login 2, password 2 have two different employee files. Hope it helps.
Cheers
Rob
[attachment deleted by admin]