![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I'm using FM5/Windows and we are converting to SQL Server. I have 200+ layouts most of which are customer letters. I'm trying find how to list all the layouts with a specific portal field with a maximum of 5 rows. Any ideas ?? Even having to list all the layouts to find the portal field would be a real help |
#3
| |||
| |||
|
|
Hi I'm using FM5/Windows and we are converting to SQL Server. I have 200+ layouts most of which are customer letters. I'm trying find how to list all the layouts with a specific portal field with a maximum of 5 rows. Any ideas ?? Even having to list all the layouts to find the portal field would be a real help |
)
#4
| |||
| |||
|
|
George Lewycky wrote: Hi I'm using FM5/Windows and we are converting to SQL Server. I have 200+ layouts most of which are customer letters. I'm trying find how to list all the layouts with a specific portal field with a maximum of 5 rows. Any ideas ?? Even having to list all the layouts to find the portal field would be a real help This may not be relevant to FM5 George (too distant a memory), but in later versions: Not very elegant, but you could loop step the layouts, parse the layout fields to a global, and pattern match on the target field (or filter) You know the specific portal field, so that is good e.g. calc: FieldNames ( g_FileNameA ; g_layoutNameA) example field: IncomeLines_income_portal::income_id As for the portal row max, that would require a bit more creativity, but after identifying the layouts with the portal rel, a go to field ( finding a common field may be an issue) and loop records, set counter ... would be how I would tackle it It might be practical to use a demo version FM10 to convert the fm5, and digest that; but fm5 to fm 10 may open a different can of worms. But necessity being the mother and all... |
![]() |
| Thread Tools | |
| Display Modes | |
| |