![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm learning FM Pro 7 after years doing Access and SQL Server. Making the adjustment pretty well, but one simple thing still eludes me. How can I accomplish the equivalent of what in SQL would be: SELECT Max([Date]) AS MAXDATE, tblPeople.Person FROM tblDates INNER JOIN tblPeople ON tblDates.IdNum = tblPeople.IdNum WHERE (((tblPeople.Person)="John")); That is to quite simply get the maximum value in a field but restricting to records in the table related to a value within another table. I need to get this type of value for display and autoentry purposes I suspect this is really simple and I just need to learn a new way to think about it. It seems like combining a Find command with a function, but I'm not sure how to do it. |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |