DbNetSuiteVS 1.0 Now Available  

Tips / FAQ

Grid does not display data
When I run an application no grid is displayed, only the toolbar displays with 'undefined' next to some of the buttons.
Show Answer
This problem is caused by access being restricted to the server variable HTTP_REFERER. This is usually caused by a firewall.

If you are using Norton Personal Firewall, you can overcome this problem by doing the following;

1. Click 'Privacy Control'.
2. Remove the tick from the 'Enable Browser Privacy' check box and click 'OK'.
3. Refresh your application, and you should now see your data and the toolbar working correctly.

If this problem persists, contact support@dbnetlink.com

Hide Answer


Linking Multirow Forms
How can I link two multirow forms? I have tried using addLInkedEditForm, but with no success.
Show Answer
addLInkedEditForm is only suitable for use with single row forms. If you want to link multirow forms, you need some mechanism in the master grid to indicate the current row. This example shows how you can do this by appending a radio button to each row.

Show Me View Source

Hide Answer


Cancellation Message
I would like to generate a message when the user abandons an insert or update by hitting the cancel button. Can I do this?
Show Answer
Yes. Use the onEditCancel event and the message method to raise a message.

Show Me View Source

Hide Answer


Adding an embedded lookup to a form
How can I added an embedded lookup to an edit form.
Show Answer
You can do this by using the selectData method to select a value from another table using values entered by the user.

Show Me View Source

Hide Answer


Row Selection Checkboxes appearing conditionally
I would like to make the row selection checkboxes appear/disappear in a multirow form conditionally, depending on the value of another field in the row.
Show Answer
You can use the rowInitialisation function to obtain a reference to the selection checkbox (which has an id of 'dbneteditrowselector') and then set the display style depending on the value of the conditional field.

Show Me View Source

Hide Answer


Place Form into insert mode automatically
When the form is displayed, I would like it be in insert mode already, without requiring the user to click the insert button.
Show Answer
You can do this by calling the insertRecord method immediately after calling initialise.

Show Me View Source

Hide Answer