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: Login window not centered
« on: March 28, 2024, 04:08:50 PM »
Richard,
Jane is correct, see the attached image to see where I added my custom class in the login form template.
Jeff
Jane is correct, see the attached image to see where I added my custom class in the login form template.
Jeff
32
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 09:46:18 AM »
Hi Richard,
I'm working on some NT 14.20 apps today and noticed the same. Try pressing CTRL-F5, this clears the browser cache and resets things. Working here to center the login screen.
Jeff
I'm working on some NT 14.20 apps today and noticed the same. Try pressing CTRL-F5, this clears the browser cache and resets things. Working here to center the login screen.
Jeff
33
Web Server - Ask For Help / Multi-Site host question
« on: March 26, 2024, 05:30:14 AM »
Hi Bruce,
I have the multi-site host running on two servers. One host has 8 dll apps running, the other has two dll apps running. All this runs great. However, when there is a new version of NetTalk posted, I must recompile the multi-site host and all individual apps with the same version of NetTalk. Then, copy the dll's and web folders to each server. This is becoming very time consuming. Will it ever be possible to mix NT versions of apps in the future? Or, is there a way to do this now?
Thanks,
Jeff King
I have the multi-site host running on two servers. One host has 8 dll apps running, the other has two dll apps running. All this runs great. However, when there is a new version of NetTalk posted, I must recompile the multi-site host and all individual apps with the same version of NetTalk. Then, copy the dll's and web folders to each server. This is becoming very time consuming. Will it ever be possible to mix NT versions of apps in the future? Or, is there a way to do this now?
Thanks,
Jeff King
34
Web Server - Ask For Help / Re: New Partial Save button introduced in 14.17
« on: March 26, 2024, 05:23:54 AM »
Hi Bruce,
Just a quick note that 14.20 has solved the issue with the Partial Save button. Thanks!
Just a quick note that 14.20 has solved the issue with the Partial Save button. Thanks!
35
Web Server - Ask For Help / Re: New Partial Save button introduced in 14.17
« on: March 19, 2024, 09:57:01 AM »
Bruce,
Thanks! I'll try 14.20 as soon as it is released.
Jeff
Thanks! I'll try 14.20 as soon as it is released.
Jeff
36
Web Server - Ask For Help / Re: New Partial Save button introduced in 14.17
« on: March 16, 2024, 06:13:42 PM »
Hi Bruce,
I was able to duplicate the issue in the Web1 example app. I have attached a zip file with the app, dct and tps files needed.
I added a GUID field to the mailbox.tps file and set it as unique. In the Validate Insert, 2Inside embed I coded to set the GUID. I added a Partial Save button to the MailboxesFormControl.
To duplicate the error message, Insert a new record with the Mailbox form, and click the Partial Save button twice.
That should do it.
Thanks for looking at this.
Jeff
I was able to duplicate the issue in the Web1 example app. I have attached a zip file with the app, dct and tps files needed.
I added a GUID field to the mailbox.tps file and set it as unique. In the Validate Insert, 2Inside embed I coded to set the GUID. I added a Partial Save button to the MailboxesFormControl.
To duplicate the error message, Insert a new record with the Mailbox form, and click the Partial Save button twice.
That should do it.
Thanks for looking at this.
Jeff
37
Web Server - Ask For Help / New Partial Save button introduced in 14.17
« on: March 15, 2024, 07:12:52 AM »
Hi Bruce,
I have been experimenting with the Partial Save button added with NT 14.17. I have a GUID field in my tables, which is set as unique. This causes a problem:
When adding a new record the form is in insert mode. Clicking the Partial Save button saves the record, including the GUID field and sets the form to change mode. Upon clicking the Partial Save button again (while in change mode), an error pops up about a duplicate key on the GUID field.
Maybe I can add code to change the GUID when using the Partial Save button, but this does not seem to be a good idea. For now, I have set the Partial Save button to be disabled when in insert mode. Any thoughts on how to handle this issue better?
Thanks,
Jeff
I have been experimenting with the Partial Save button added with NT 14.17. I have a GUID field in my tables, which is set as unique. This causes a problem:
When adding a new record the form is in insert mode. Clicking the Partial Save button saves the record, including the GUID field and sets the form to change mode. Upon clicking the Partial Save button again (while in change mode), an error pops up about a duplicate key on the GUID field.
Maybe I can add code to change the GUID when using the Partial Save button, but this does not seem to be a good idea. For now, I have set the Partial Save button to be disabled when in insert mode. Any thoughts on how to handle this issue better?
Thanks,
Jeff
38
Web Server - Ask For Help / Re: Refresh form fields after a pop-up form closes
« on: March 13, 2024, 03:05:56 PM »
Osquiabro,
I have this working now. I am doing the refresh in the GotFocusBack/End embed as follows:
do refresh::Enr:BCS_Status
do refresh::Enr:BCS_Upstaging
do refresh::Enr:DCISionRT_Upstaging
For some reason, this embed was not "firing" earlier in my testing. Works as expected now.
Thanks,
Jeff
I have this working now. I am doing the refresh in the GotFocusBack/End embed as follows:
do refresh::Enr:BCS_Status
do refresh::Enr:BCS_Upstaging
do refresh::Enr:DCISionRT_Upstaging
For some reason, this embed was not "firing" earlier in my testing. Works as expected now.
Thanks,
Jeff
39
Web Server - Ask For Help / Re: Refresh form fields after a pop-up form closes
« on: March 13, 2024, 09:52:14 AM »
Hi Ron,
Thanks for your input. I have tried both the regular table based form and the memory form. Still, I don't see how to refresh the two fields on the main form, after closing the pop-up form. I'll keep working on this.
Jeff
Thanks for your input. I have tried both the regular table based form and the memory form. Still, I don't see how to refresh the two fields on the main form, after closing the pop-up form. I'll keep working on this.
Jeff
40
Web Server - Ask For Help / Refresh form fields after a pop-up form closes
« on: March 12, 2024, 07:31:46 PM »
Hello all,
Using NT 14.19. I have a form that displays many fields from a table called surgery. Two fields are also displayed at the bottom, from another table (enrollment), in view only mode, as seen in the attached image. The custom button on this form calls a "browse less" form as a pop-up, on the enrollment file. On this form, the two fields can be edited. Upon returning to the calling form, the fields are not updated. I would like them to update as soon as returning from the pop-up. I have tried calling a Do refresh::My:Field from the GotFocusBack embed without success. How can I refresh the two fields or the entire form when retuning from the pop-up?
Thanks,
Jeff King
Using NT 14.19. I have a form that displays many fields from a table called surgery. Two fields are also displayed at the bottom, from another table (enrollment), in view only mode, as seen in the attached image. The custom button on this form calls a "browse less" form as a pop-up, on the enrollment file. On this form, the two fields can be edited. Upon returning to the calling form, the fields are not updated. I would like them to update as soon as returning from the pop-up. I have tried calling a Do refresh::My:Field from the GotFocusBack embed without success. How can I refresh the two fields or the entire form when retuning from the pop-up?
Thanks,
Jeff King
41
Web Server - Ask For Help / Re: Login window not centered
« on: March 06, 2024, 09:00:51 AM »
Hi Bruce,
I added it to the login-form-width as seen here:
.login-form-width{
width: 350px;
line-height: 1.0em;
margin: 0 auto;
}
Seems to work as needed.
Thanks,
Jeff
I added it to the login-form-width as seen here:
.login-form-width{
width: 350px;
line-height: 1.0em;
margin: 0 auto;
}
Seems to work as needed.
Thanks,
Jeff
42
Web Server - Ask For Help / Re: Re: Save form as user selects tabs?
« on: March 05, 2024, 10:52:45 AM »
Hello all,
I think I have a fix. I added an item to my custom css;
margin: 0 auto;
This has centered the Login Form like before.
Jeff King
I think I have a fix. I added an item to my custom css;
margin: 0 auto;
This has centered the Login Form like before.
Jeff King
43
Web Server - Ask For Help / Login window not centered
« on: March 05, 2024, 08:50:13 AM »
Hi Bruce,
I updated to NT 14.19. Now my login form is left justified, see attached. I have the Form Div set at: ' nt-fix-center login-form-width'.
Nothing else has changed in my app. I simply re-compiled after updating to NT 14.19. With NT 14.13 the login form was centered.
I have spent more than an hour trying to fix this without success. All my NT 14.13 apps now have the login form left justified as does the example app Web3. Anything change with CSS formatting since NT 14.13?
Thanks,
Jeff
I updated to NT 14.19. Now my login form is left justified, see attached. I have the Form Div set at: ' nt-fix-center login-form-width'.
Nothing else has changed in my app. I simply re-compiled after updating to NT 14.19. With NT 14.13 the login form was centered.
I have spent more than an hour trying to fix this without success. All my NT 14.13 apps now have the login form left justified as does the example app Web3. Anything change with CSS formatting since NT 14.13?
Thanks,
Jeff
44
Web Server - Ask For Help / Re: Save form as user selects tabs?
« on: March 05, 2024, 06:54:47 AM »
Bruce,
Thanks! I found the mention of the new "partial save" button in the release docs of 14.17. I'll update and try that. Sounds like exactly what I need.
Jeff
Thanks! I found the mention of the new "partial save" button in the release docs of 14.17. I'll update and try that. Sounds like exactly what I need.
Jeff
45
Web Server - Ask For Help / Save form as user selects tabs?
« on: March 04, 2024, 06:04:50 PM »
Hello everyone,
I have a complex form with multiple tabs and many fields on each tab. Using NT 14.13.
A user has requested that the form save "partial" results to the file as they select the many tabs. Then, when done, they will select the Save button for a final save to disk. I created a local routine that I try calling from the Tab Changed embed:
SaveTabContents ROUTINE
Access:CRF001_Surgeon.Open()
Access:CRF001_Surgeon.UseFile()
CRF001Sx:Study_ID = p_web.GSV('CRF001Sx:StudyID_key')
Access:CRF001_Surgeon.Fetch(CRF001Sx:StudyID_key)
p_web.SessionQueueToFile(CRF001_Surgeon)
Access:CRF001_Surgeon.TryUpdate()
Access:CRF001_Surgeon.Close()
EXIT
So far, this does not update the file. Maybe a problem with the code in the routine or I'm using the wrong embed to call this? Any thoughts?
Thanks,
Jeff King
I have a complex form with multiple tabs and many fields on each tab. Using NT 14.13.
A user has requested that the form save "partial" results to the file as they select the many tabs. Then, when done, they will select the Save button for a final save to disk. I created a local routine that I try calling from the Tab Changed embed:
SaveTabContents ROUTINE
Access:CRF001_Surgeon.Open()
Access:CRF001_Surgeon.UseFile()
CRF001Sx:Study_ID = p_web.GSV('CRF001Sx:StudyID_key')
Access:CRF001_Surgeon.Fetch(CRF001Sx:StudyID_key)
p_web.SessionQueueToFile(CRF001_Surgeon)
Access:CRF001_Surgeon.TryUpdate()
Access:CRF001_Surgeon.Close()
EXIT
So far, this does not update the file. Maybe a problem with the code in the routine or I'm using the wrong embed to call this? Any thoughts?
Thanks,
Jeff King