I have two tables
Table 1:contracts
Table 2:service_type_locations
Table 1 contains the field
service_type_location
Table 2 contains only the field
servtypeloc
Table 2 only contains valid service type locations that is its only data item and I do have that field set as a character field and indexed.
Eventually while in Table 1 when entering or editing a record I want the user to be able to select from the valid Table 2 (servtypeloc) listed.
However first I need to create a form for Table 2 which allows for the adding of valid service locations.
I have created the table as described above and it is indexed.
I am now creating the form to allow viewing and eventually adding and editing of its contents.
I have embeded in the form from the toolbox a simple embeded browse object so the user can see all the current valid service locations. Then they can select from the browse one of displayed records which appears in the lower field editing area.
I know it's not complete yet, but I noticed this index sort problem which needed solving first.
I have attached images showing both the Form Design Mode and the Form View Mode (note that in the Form Design View it shows the data record items in the correct sorted order, A to Z by default.)
My problem is I can't seem to get the Form View Mode to automatically display the records in proper Ascending sorted order by default.
Since the only data field is indexed why does it not show the records by default in the proper ascending sort.
When in form design mode it shows the records in the correct sorted and indexed order but when in view mode it does not.
Thanks for any assistance.
Table 1:contracts
Table 2:service_type_locations
Table 1 contains the field
service_type_location
Table 2 contains only the field
servtypeloc
Table 2 only contains valid service type locations that is its only data item and I do have that field set as a character field and indexed.
Eventually while in Table 1 when entering or editing a record I want the user to be able to select from the valid Table 2 (servtypeloc) listed.
However first I need to create a form for Table 2 which allows for the adding of valid service locations.
I have created the table as described above and it is indexed.
I am now creating the form to allow viewing and eventually adding and editing of its contents.
I have embeded in the form from the toolbox a simple embeded browse object so the user can see all the current valid service locations. Then they can select from the browse one of displayed records which appears in the lower field editing area.
I know it's not complete yet, but I noticed this index sort problem which needed solving first.
I have attached images showing both the Form Design Mode and the Form View Mode (note that in the Form Design View it shows the data record items in the correct sorted order, A to Z by default.)
My problem is I can't seem to get the Form View Mode to automatically display the records in proper Ascending sorted order by default.
Since the only data field is indexed why does it not show the records by default in the proper ascending sort.
When in form design mode it shows the records in the correct sorted and indexed order but when in view mode it does not.
Thanks for any assistance.
Comment