![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Don't link any tables. Build your own order-by stuff, using secondary indexes and setranges. As you land on a table, switch each table to the proper index, and set the appropriate range. This gives incredible flexibility in showing relations/records on screen. I did this with area codes, cities and zip codes. Click on an Area Code, you get the cit[y,ies] and zip code[s] associated with the area code. Click on a City, get the zip/area code[s] that go with the city. Click on a zip code, and you get the cit[y,ies]/area code[s] it applies to. NO links in the data model. Besides clicking, there was a search. As you begin typing in characters or numbers (you had to select the master type), the 'master type' table began filtering (setrange); once you arrived on a specific record, a click brought the 'child' records on-screen. This was a 3x implementation of a modified version of Liz's 'typeahead' demo. --------------------------------------------------------- Tony McGuire |
#4
| |||
| |||
|
|
I made 2 forms and it works _both_ways_! |
#5
| |||
| |||
|
|
I made 2 forms and it works _both_ways_! Pretty cool, huh? And you can change the index to various on the same form. Adds a considerable degree of flexibility, not to mention simply getting around the linked tables limitation of a datamodel. The form I made had 3 tables. With the proper indexes, I could start on any of them and drill down to whatever view I needed. Liz really is a genius. |
#6
| |||
| |||
|
|
But I thought the way I swiftly came up with Titles.switchIndex("authorNo") Titles.setRange(authors.authorID) without a single post to this group was neat! I was so chuffed that I took a 'wow' coffee and rusk break when I saw it work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |