|
|
Clarion 6 - General
Started by Vernon Smith at 09-16-2008 10:18 AM. Topic has 3 replies.
 
 
|
|
Sort Posts:
|
|
|
|
09-16-2008, 10:18 AM
|
Vernon Smith
Joined on 01-28-2006
Arkansas, USA
Posts 40
|
|
|
good day.
I have a CW6 app in which I am running into a binding issue. I have a window open with a browse on a table filtered by the primary key. There is a different window in which the user can enter information and i post an event to the first window to do some processing. The second window also accesses tables used by the first window. When I enter data on the second window and post the event to the first all works fine, but if I then try and hit one of the buttons on the first window to access a browse connected to it i get the following error: (Bind has not been called for PRE:FieldName (1011) attempting to open the view. Filter and Range limits ignored)
PRE:FieldName is the primary key field I am filtering on.
I have checked and these fields are bound in the browse. How do I fix this error?
thanks in advance,
Vernon Smith
|
|
|
|
|
Report
|
|
|
|
09-16-2008, 10:46 AM
|
samir
Joined on 05-21-2008
Posts 28
|
|
|
Hello Vernon,
Properly written filters should not provoke bind errors. The error lies in the filter used.
You can omit these filters one at a time until you find the culprit one.
Regards,
Samir
|
|
|
|
|
Report
|
|
|
|
09-16-2008, 11:42 AM
|
Vernon Smith
Joined on 01-28-2006
Arkansas, USA
Posts 40
|
|
|
Samir,
It’s a simple Browse Range limit field.
The fields are bound in the Hot Fields tab.
How should I do it differently?
Thanks,
Vernon
|
|
|
|
|
Report
|
|
|
|
09-16-2008, 2:52 PM
|
samir
Joined on 05-21-2008
Posts 28
|
|
|
Hello Vernon,
1- Use Brw1.SetFilter method.
2- Get the Browse filtered on a passed value.
3- Use the notify and notification to communicate with the browse.
4- When the browse receives a notification that the filter changed, issue Brw1.ApplyFilter followed by Brw1.ResetSort(1).
5- If your Driver is SQL, use Brw1.setFilter('SQL(field='& value)','Priority').
6- I would do a selective export of the procedures in question to try them alone in a new fresh application.
7- If you can not find a solution, issue post( event:closeWindow) followed by start(theBrowse).
Regards.
Samir
|
|
|
|
|
Report
|
|
|
|
|
Clarion Communi... » Clarion » Clarion 6 - Gen... » Re: Binding issue ...
|
|
|
|