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: Upgrade to 11.14
« on: June 22, 2019, 10:47:42 PM »
Using Base theme
2
Web Server - Ask For Help / Upgrade to 11.14
« on: June 22, 2019, 10:47:02 PM »
CL 11
NT 11.14
Getting a no matching prototype available compile error on the Clip() below.
case loc:menuStyle3
of net:web:ddm
packet.append('<ul data-icon="'& clip() & '">' & p_web.CRLF)
end
NT 11.14
Getting a no matching prototype available compile error on the Clip() below.
case loc:menuStyle3
of net:web:ddm
packet.append('<ul data-icon="'& clip() & '">' & p_web.CRLF)
end
3
Web Server - Ask For Help / Re: Form not saving fields
« on: April 24, 2019, 06:59:37 AM »
That was it Bruce, I was getting too fancy using Local fields.
When I called the class that I was using and used the form fields then used SSV - All worked fine.
Thanks all.
When I called the class that I was using and used the form fields then used SSV - All worked fine.
Thanks all.
4
Web Server - Ask For Help / Re: Form not saving fields
« on: April 19, 2019, 06:41:20 AM »
Thanks Robert,
Here is what I did
Loc:LinesPaid = Billing.PayLines(pChrs,pChrsPerLine)
p_web.SSV('CVF:LinesPaid',Loc:LinesPaid)
Billing is a little class I wrote to learn, it just returns lines paid.
Brian.
Here is what I did
Loc:LinesPaid = Billing.PayLines(pChrs,pChrsPerLine)
p_web.SSV('CVF:LinesPaid',Loc:LinesPaid)
Billing is a little class I wrote to learn, it just returns lines paid.
Brian.
5
Web Server - Ask For Help / Form not saving fields
« on: April 19, 2019, 01:56:17 AM »
Cl 11
NT 11.07
Regular form coming from a browse
On Update I do some calculations within the form and the correct numnbers are generated and the fields refreshed. See the image.
When I save the the form the two calculated fields revert to zero? Using debugview++ I have checked the fields and they all look correct. Looked at ValidateRecord in case there was something going on there but there is not.
Looks like saomething is happening after I click the Save button but I have no ideas what?
Brian.
NT 11.07
Regular form coming from a browse
On Update I do some calculations within the form and the correct numnbers are generated and the fields refreshed. See the image.
When I save the the form the two calculated fields revert to zero? Using debugview++ I have checked the fields and they all look correct. Looked at ValidateRecord in case there was something going on there but there is not.
Looks like saomething is happening after I click the Save button but I have no ideas what?
Brian.
6
Web Server - Ask For Help / GSV vs GetValue
« on: April 18, 2019, 10:33:11 PM »
CL 10
NT 11.07
Hi All, sorry I know this is has been rehashed a few times but for some reason I still get confused as to when to use different calls.
The Session View (GSV and SSV): Exist on a specific thread?
GetValue and SetValue are used when?
If I am on a form populated from a table and changing values on that form dependent on other field changes, can I use the direct field name without the above?
Brian.
NT 11.07
Hi All, sorry I know this is has been rehashed a few times but for some reason I still get confused as to when to use different calls.
The Session View (GSV and SSV): Exist on a specific thread?
GetValue and SetValue are used when?
If I am on a form populated from a table and changing values on that form dependent on other field changes, can I use the direct field name without the above?
Brian.
7
Web Server - Ask For Help / Re: Refresh a field in another tab
« on: April 13, 2019, 03:40:41 AM »
Sorry, by 'All Looks good' I meant that the field in question does have the correct data in it. It just does not refresh the form.
I suppose what I am asking is how do I force the refresh for the field on the form.
When I look at the code I see
do ValidateValue::btn_crcusdir ! copies value to session value if valid.
! Start of "After Validate New Value"
! [Priority 4000]
! Set the File Locations if fields are empty
IF CLIP(cus:UploadLocation) = ''
Loc:uploadLocation = p_web.GSV('DataPath') &'\' &p_web.GetValue('cus:CustomerCode') &'\Uploads'
p_web.Trace('XXX: ' &Loc:uploadLocation)
cus:UploadLocation = CLIP(Loc:uploadLocation)
p_web.Trace('XXX: ' &cus:UploadLocation)
END
! End of "After Validate New Value"
p_web.PushEvent('parentupdated')
do Refresh::btn_crcusdir ! Button "Send new value to server"
do Refresh::cus:UploadLocation !(GenerateFieldReset)
do Refresh::cus:TemplateLocation !(GenerateFieldReset)
do Refresh::cus:CoverLoc !(GenerateFieldReset)
p_web.ntForm(loc:formname,'ready') ! 8.67 (in case the form was not the originator of the Ajax call)
! Start of "After Validate New Value, After sending replies"
! [Priority 5000]
The fields do not refresh
Thanks.
I suppose what I am asking is how do I force the refresh for the field on the form.
When I look at the code I see
do ValidateValue::btn_crcusdir ! copies value to session value if valid.
! Start of "After Validate New Value"
! [Priority 4000]
! Set the File Locations if fields are empty
IF CLIP(cus:UploadLocation) = ''
Loc:uploadLocation = p_web.GSV('DataPath') &'\' &p_web.GetValue('cus:CustomerCode') &'\Uploads'
p_web.Trace('XXX: ' &Loc:uploadLocation)
cus:UploadLocation = CLIP(Loc:uploadLocation)
p_web.Trace('XXX: ' &cus:UploadLocation)
END
! End of "After Validate New Value"
p_web.PushEvent('parentupdated')
do Refresh::btn_crcusdir ! Button "Send new value to server"
do Refresh::cus:UploadLocation !(GenerateFieldReset)
do Refresh::cus:TemplateLocation !(GenerateFieldReset)
do Refresh::cus:CoverLoc !(GenerateFieldReset)
p_web.ntForm(loc:formname,'ready') ! 8.67 (in case the form was not the originator of the Ajax call)
! Start of "After Validate New Value, After sending replies"
! [Priority 5000]
The fields do not refresh
Thanks.
8
Web Server - Ask For Help / DoubleDrop menu
« on: April 08, 2019, 01:37:50 AM »
CL 11
NT 11.07
Theme Base
Where can I find a good example of Doubledrop menu. Looked at the examples, Basic Menu and Menu(56) but they don't show much.
When testing does not behave the way I expected. Want Menu at top of screen that has drop menu attached which in turn shows menu choices.
NT 11.07
Theme Base
Where can I find a good example of Doubledrop menu. Looked at the examples, Basic Menu and Menu(56) but they don't show much.
When testing does not behave the way I expected. Want Menu at top of screen that has drop menu attached which in turn shows menu choices.
9
Web Server - Ask For Help / Refresh a field in another tab
« on: April 06, 2019, 03:25:29 AM »
Hi All,
Cl 11
NT 11.07
String Th: 3.06
Want to refresh a field in another tab. Looks like all the values are being picked up but the field does not refresh.
Field CustomerCode On Tab 0 - UploadLocation on tab - 4.
User enters code then tabs out of the field, server side code constructs a Directory and path
All looks good.
Brian.
Cl 11
NT 11.07
String Th: 3.06
Want to refresh a field in another tab. Looks like all the values are being picked up but the field does not refresh.
Field CustomerCode On Tab 0 - UploadLocation on tab - 4.
User enters code then tabs out of the field, server side code constructs a Directory and path
All looks good.
Brian.
10
Web Server - Ask For Help / Buttons at bottom of table
« on: February 12, 2019, 04:40:06 AM »
CL 11
NT 11.05
Theme base
When the browse is generated and displayed the Insert, Copy etc buttons are at the bottom of the screen
Not immediately below the table, which is where I want them.
See Image attached. Is there a setting I'm missing or?
This is n ot true for all browses, I think it might have something to do with how the browse was created, wizard, template etc.
Brian.
NT 11.05
Theme base
When the browse is generated and displayed the Insert, Copy etc buttons are at the bottom of the screen
Not immediately below the table, which is where I want them.
See Image attached. Is there a setting I'm missing or?
This is n ot true for all browses, I think it might have something to do with how the browse was created, wizard, template etc.
Brian.
11
Web Server - Ask For Help / Start Menu Open
« on: February 11, 2019, 05:45:03 AM »
NT 11.05
base theme
Cl 11
When I set the menu option to 'Start menu open' does not seem to work in 11.05?
I also noticed that all the menu choices have the flag set as well, I don't remember doing this.
base theme
Cl 11
When I set the menu option to 'Start menu open' does not seem to work in 11.05?
I also noticed that all the menu choices have the flag set as well, I don't remember doing this.
12
Web Server - Ask For Help / Re: Mobile Automatic Vehicle Location System webinar
« on: February 11, 2019, 05:41:27 AM »
Echo that thanks on the webinar - great webinar well done.
13
Web Server - Ask For Help / Re: Pop Up Form not working
« on: February 08, 2019, 06:27:16 AM »
Thanks Bruce,
The issue was not on the first tab. The error indicated which one and I just deleted and created the tab again and all works fine.
The issue was not on the first tab. The error indicated which one and I just deleted and created the tab again and all works fine.
14
Web Server - Ask For Help / Re: Pop Up Form not working
« on: February 07, 2019, 12:46:12 AM »
Thanks Bruce - Did as you said but don't understand what I am looking at. See attached image.
PostgreSQL backend.
Maybe tonight at Nettalk Webinar?
PostgreSQL backend.
Maybe tonight at Nettalk Webinar?
15
Web Server - Ask For Help / Pop Up Form not working
« on: February 05, 2019, 03:58:27 AM »
NT 11.05
CL 11
String Theory 3
Theme base
Simple Table (On a memform)
Form in Popup mode
Two forms one for edit other for insert
Insert Form works fine - I upload files on this form which become children of the record I'm adding
If I do not upload a file and save then the popup works fine
If I add a file I get a blank popup
If I change the the form to non popup then also works fine
See image of popup when children have been added.
Going around in circles with this one.
Brian.
CL 11
String Theory 3
Theme base
Simple Table (On a memform)
Form in Popup mode
Two forms one for edit other for insert
Insert Form works fine - I upload files on this form which become children of the record I'm adding
If I do not upload a file and save then the popup works fine
If I add a file I get a blank popup
If I change the the form to non popup then also works fine
See image of popup when children have been added.
Going around in circles with this one.
Brian.