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.


Messages - Richard I

Pages: [1] 2 3 ... 26
1
Web Server - Ask For Help / Re: Desktop File path
« on: May 30, 2024, 04:32:15 PM »
Thanks Sean and others,
Yes I understand the limitations as outlined.
I am using Amazon virtual servers to host and if possible I am trying to limit users access to those server's desktop.
Saving to the Servers backup is currently an option in the app with the users cutting  and paste back to their local

However I have found I can using the File Download app  bring the backup folder back as a zip file.
which suits and makes it elegant but, the question now is how to programmatically get WinZip to perform the creation  of a zip file
Stu Andrews in this thread mentioned rar backups as a possible solution - i am exploring that.
 
Cheers
Richard



2
Web Server - Ask For Help / Re: Desktop File path
« on: May 29, 2024, 06:58:05 PM »
Ron,
In my post you will note I am trying to direct a folder to the users desktop
It appears that the dos filepath template available in Clarion is not applicable to Webapps

So Im creating a folder, copying tps files to it and then the intention is to copy that folder to the users desktop
(The backup routine is working and currently the user needs to navigate to the app folder,copy and paste)

Its similar intent to the  file download app but a folder does not have a suffix.

I await in eager anticipation.....
Regards,
Richard

3
Web Server - Ask For Help / Desktop File path
« on: May 28, 2024, 09:17:52 PM »
Hello
I have a backup routine with a string field called loc:desktopfilepath
I want the user to be able to lookup  their own local desktop  path so the created folder is copied there....
Is there a way?
Thanks Richard
NT 14.22

   IF p_web.GSV('loc:Desktopfilepath') = ''
         locsite = 'VisaBackup'&'-'&FORMAT(today(),@D11)       !  loc:Alert ='Desktop filepath is empty - populate location'
      ELSE
         locsite =  p_web.GSV('loc:Desktopfilepath')&'\VisaBackup'&'-'&FORMAT(today(),@D11)
      END
   
      CreateDirectory(locsite)
      copy('User.tps',locsite)
etc

4
Thanks for that useful Tip Bruce
Cheers
Richard

5
Web Server - Ask For Help / Re: Solved - Login window not centered
« on: April 17, 2024, 03:01:07 PM »
Thanks Bruce,

I solved the issue last night-
In my Custom.css file in the login-form-width I had cleverly included !Important
on one of the early lines
I removed that and recompiled  - solved  ! Now login form nicely centered

Cheers
Richard

6
Bruce,
I thought one supported the other so I have always deleted both.....
I will force a change and see which one deleted allows the change

7
Hello
Why do I need to delete the clw and the obj for some changes to take effect?

for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a  recompile.
I have the same issue when changing column  header names, and button renaming

Thanks
Richard
C 11.1.13855EE
NT 14.20


8
Thank you Jane- Works Perfectly

I left the code in the ServerSide Code in  a Button, but removed the report name from Onclick
Then I created a second button  "write Report" and included the Reportname in OnClick
Ran them both
Report has the Count !!!
Cheers
Richard

9
Hi
I have a report where I am totalling the number of records being displayed  using loc:Count+=1
A stop statement  into the Serverside code  returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')

My problem is getting the count value to display in the Header of the report.

Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...

loctotal     = p_web.GSV('loc:Count')
where loc:Total is a long N_4

But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20


10
Hi Bruce,
 the problem of freezing applied to On the browse line buttons
Simply removed them and just using the below browse change delete buttons which will hide with security applied.
Thanks
Richard

11
Web Server - Ask For Help / Re: Login window not centered
« on: March 29, 2024, 11:10:52 AM »
Two Screen shots Jeff

12
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 07:45:23 PM »
thanks
In the login Tab properties
All fields from Labels to Suppress are set as Default
is that correct?
I attach my Custom CSS in case.......

Cheers
Richard

13
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 07:26:22 PM »
Yes I do thanks....

14
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 01:26:48 PM »
Thanks Jeff,
No Joy with Control F5
I have replaced in the Form Div  ' nt-fix-center nt-width-300px'
 with
' nt-fix-center login-form-width'

and added my custom Css file into ThisWebServer Settings ->Styles ->Files as
'rji-custom.css'-Browser:All
Ran Gzipall

For completeness ,this is my custom CSS
.login-form-width{
   width: 300px; !important;
   line-height: 1.0em;
   margin: 0 auto;
}

On Running the login form spans the page as per attachment.....
Cheers
Richard

15
Web Server - Ask For Help / Freezing when applying security to buttons
« on: March 28, 2024, 01:23:10 AM »
Using NT 14.20
I want to hide the <delete> and <change>  buttons on Forms and Browses by User security level.
On  the Security Tab of the button , Im changing "default" to YES and adding 100 as the security level,
compile and run...
On the Browse for example scrolling by using "next" the Browse freezes and greys out.
Returning to "default" restores normal function.

Can you check this please Bruce?
Cheers
Richard

Pages: [1] 2 3 ... 26