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: Parent Child Relationships in Mobile Mode
« on: June 05, 2014, 02:23:04 PM »
Hi Bruce,
You can see the effect in the the normal web73 example (attached). This is using all the default code with Clarion AutoInc:
1) Compile and run.
2) Open localhost:88
3) Click 'Customers'.
4) Click 'Add'.
5) Type in Customer Name.
6) Click 'Next'.
7) Click 'Add Invoice'.
Click 'Cancel'. Customer Name and ID are lost. Even if you clicked 'Save' when adding the invoice, the Customer data is still lost. This means you cannot add children while inserting the parent record in mobile mode.
Regards,
Trent
[attachment deleted by admin]
You can see the effect in the the normal web73 example (attached). This is using all the default code with Clarion AutoInc:
1) Compile and run.
2) Open localhost:88
3) Click 'Customers'.
4) Click 'Add'.
5) Type in Customer Name.
6) Click 'Next'.
7) Click 'Add Invoice'.
Click 'Cancel'. Customer Name and ID are lost. Even if you clicked 'Save' when adding the invoice, the Customer data is still lost. This means you cannot add children while inserting the parent record in mobile mode.Regards,
Trent
[attachment deleted by admin]
32
Web Server - Ask For Help / Re: NT 8.15 : Next button freezes browse
« on: June 05, 2014, 01:58:39 PM »
This is happening to me too 
Regards,
Trent

Regards,
Trent
33
Web Server - Ask For Help / Re: Calendar Button Tooltip
« on: June 05, 2014, 01:46:35 AM »
No worries will do!
Regards,
Trent
Regards,
Trent
34
Web Server - Ask For Help / Re: Parent Child Relationships in Mobile Mode
« on: June 05, 2014, 01:46:00 AM »
Just put the trace in as per above and the CUS:ID is being set correctly.
Yes I've put the prime in the 'Pre-Insert > End' embed of the UpdateInvoice form:
The INV:Customer is being set too when adding the Invoice record. The Customer name does not show in the field though.
Yes I've put the prime in the 'Pre-Insert > End' embed of the UpdateInvoice form:
Code: [Select]
do PrimeInvoice !<<< GWB
INV:Date = today()
INV:Customer = p_web.GSV('CUS:ID')
debug('INV:Customer = '& INV:Customer)
if INV:Customer
p_web.OpenFile(Customer)
clear(CUS:Record)
CUS:ID = INV:Customer
p_web.SetSQLTimeout(Customer,net:on)
if access:Customer.tryfetch(CUS:Key)
debug('Error on access:Customer.tryfetch(CUS:Key), errorcode('& errorcode() &') error('& error() &')')
end!If
p_web.SetSQLTimeout(Customer,net:off)
p_web.CloseFile(Customer)
end!if
The INV:Customer is being set too when adding the Invoice record. The Customer name does not show in the field though.
35
Web Server - Ask For Help / Re: Open Form from Link in Change Mode with Login Required
« on: June 05, 2014, 12:52:25 AM »
bumpity bump
36
Web Server - Ask For Help / Re: Parent Child Relationships in Mobile Mode
« on: June 05, 2014, 12:51:13 AM »
>> the linking field must be primed with the value from the parent
Just need a bit of clarification on this.
>> is the session value of the parent field set?
In the 'Pre-Insert > End' embed is where I insert a blank record with the GWB template, then change to Net:ChangeRecord if successful and set the parent's ID in the session value:
Is this what you mean?
Regards,
Trent
Just need a bit of clarification on this.
>> is the session value of the parent field set?
In the 'Pre-Insert > End' embed is where I insert a blank record with the GWB template, then change to Net:ChangeRecord if successful and set the parent's ID in the session value:
Code: [Select]
p_web.Trace('Insert Customer succeeded: '& CUS:ID )
p_web.SSV('CUS:ID',CUS:ID)
p_web.SetSessionValue('UpdateCustomers:Primed',1)
p_web.SSV('UpdateCustomers_CurrentAction',Net:ChangeRecord)
loc:act = Net:ChangeRecord
Is this what you mean?
Regards,
Trent
37
Web Server - Ask For Help / Re: Cancel Button Javascript Error
« on: June 05, 2014, 12:46:56 AM »
It does help thank you
38
Web Server - Ask For Help / Cancel Button Javascript Error
« on: June 04, 2014, 09:34:12 PM »
Hi Bruce,
On 8.13, getting the attached error when clicking on a 'Cancel' button on a form. Any ideas?
Regards,
Trent
[attachment deleted by admin]
On 8.13, getting the attached error when clicking on a 'Cancel' button on a form. Any ideas?
Regards,
Trent
[attachment deleted by admin]
39
Web Server - Ask For Help / Re: Calendar Button Tooltip
« on: June 04, 2014, 07:29:26 PM »
Hi Bruce,
This isn't fixed in v8.13.
Also the File Upload button still shows the tooltip as well. I've manually fixed the problems by using the below code:
p_web.Script('$(".ui-button").removeAttr("title");')
p_web.Script('$(".nt-fileinput-button").removeAttr("title");')
p_web.Script('$(".ui-datepicker-trigger").removeAttr("title");')
Regards,
Trent
This isn't fixed in v8.13.
Also the File Upload button still shows the tooltip as well. I've manually fixed the problems by using the below code:
p_web.Script('$(".ui-button").removeAttr("title");')
p_web.Script('$(".nt-fileinput-button").removeAttr("title");')
p_web.Script('$(".ui-datepicker-trigger").removeAttr("title");')
Regards,
Trent
40
Web Server - Ask For Help / Parent Child Relationships in Mobile Mode
« on: June 04, 2014, 07:27:55 PM »
Hi Bruce,
I have an issue where child records cannot be added at the same time the user adds the parent record. It works fine in desktop mode but not in mobile mode. Please see attached example, web73. It's MS SQL so you will need to create an SQL database. You will also need Geoff Bomford's AutoInc template as that's what we use instead of Clarion's AutoInc.
1) Restore the sql database included.
2) Compile and run the app.
3) Open localhost:88.
4) Click 'Customers'.
5) Add a new Customer:
5.1) Add Customer Name.
5.2) Add Customer Country.
5.3) Do NOT click 'Save'.
6) Click the 'Next' button.
7) Click the 'Add Invoice' button.
Click the 'Cancel' button. The Customer record is now lost. Even if you save the new Invoice the Customer record is lost.
Is what I'm trying to do possible in mobile mode or do I have to stop users from adding child records before the parent record is inserted and saved?
Regards,
Trent
[attachment deleted by admin]
I have an issue where child records cannot be added at the same time the user adds the parent record. It works fine in desktop mode but not in mobile mode. Please see attached example, web73. It's MS SQL so you will need to create an SQL database. You will also need Geoff Bomford's AutoInc template as that's what we use instead of Clarion's AutoInc.
1) Restore the sql database included.
2) Compile and run the app.
3) Open localhost:88.
4) Click 'Customers'.
5) Add a new Customer:
5.1) Add Customer Name.
5.2) Add Customer Country.
5.3) Do NOT click 'Save'.
6) Click the 'Next' button.
7) Click the 'Add Invoice' button.
Click the 'Cancel' button. The Customer record is now lost. Even if you save the new Invoice the Customer record is lost.Is what I'm trying to do possible in mobile mode or do I have to stop users from adding child records before the parent record is inserted and saved?
Regards,
Trent
[attachment deleted by admin]
41
Web Server - Ask For Help / Open Form from Link in Change Mode with Login Required
« on: June 03, 2014, 05:47:37 PM »
Hi Bruce,
I'm trying to allow users to open a form in change mode from a URL that has been emailed to them. What I've noticed is that this works successfully if a login is not required but fails if a login is required.
To replicate the problem:
1) Download the attached 'web3' example.
2) Compile and run.
3) Login with the demo credentials.
4) Open this link: http://localhost:88/mailboxesformcontrol?MAI:MailBoxNumber=28&PressedButton=Change_btn
5) It works!
6) Logout.
7) Open the same link above.
Login with the demo credentials.
9) An error will be displayed - it cannot fetch the record.
Is this possible when login is required?
Regards,
Trent
[attachment deleted by admin]
I'm trying to allow users to open a form in change mode from a URL that has been emailed to them. What I've noticed is that this works successfully if a login is not required but fails if a login is required.
To replicate the problem:
1) Download the attached 'web3' example.
2) Compile and run.
3) Login with the demo credentials.
4) Open this link: http://localhost:88/mailboxesformcontrol?MAI:MailBoxNumber=28&PressedButton=Change_btn
5) It works!
6) Logout.
7) Open the same link above.
Login with the demo credentials.9) An error will be displayed - it cannot fetch the record.
Is this possible when login is required?
Regards,
Trent
[attachment deleted by admin]
42
Web Server - Ask For Help / Re: Script Error 8.13
« on: June 03, 2014, 01:42:09 PM »
Thank you Bruce, apps are now working successfully.
Regards,
Trent
Regards,
Trent
43
Web Server - Ask For Help / Re: Script Error 8.13
« on: June 02, 2014, 02:13:35 PM »
Hi Bruce,
There is definitely a problem with 8.13. My app is showing the same issues as Neils. Attached is example web3 that also has the same problem.
Regards,
Trent
[attachment deleted by admin]
There is definitely a problem with 8.13. My app is showing the same issues as Neils. Attached is example web3 that also has the same problem.
Regards,
Trent
[attachment deleted by admin]
44
Web Server - Ask For Help / Re: Mobile Mode 'Cancel' Button Bug
« on: June 01, 2014, 11:05:40 PM »
Thank you Bruce.
45
Web Server - Ask For Help / Re: Mobile Mode 'Cancel' Button Bug
« on: May 31, 2014, 03:22:40 AM »
Hi Debra,
Shouldn't the confirm message be disabled in mobile mode automatically so you can still use it in desktop mode if you wish?
Regards,
Trent
EDIT: I can confirm that turning this setting off does not resolve the issue.
Shouldn't the confirm message be disabled in mobile mode automatically so you can still use it in desktop mode if you wish?
Regards,
Trent
EDIT: I can confirm that turning this setting off does not resolve the issue.