![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FM10 I have a CHEQUE LOG for US and Cdn cheque books. I want to insert two boxes in the header of a table layout that will show the last US and the last Cdn cheque number so that when I create a new record (cheque record) I know the next number. In my setup US cheques are numbered US0001 etc. and Cdn, CD0001 etc.. Any suggests or ideas on how to best do this? |
#3
| |||
| |||
|
|
Buckbuck <buck.matthe... (AT) yahoo (DOT) com> wrote: FM10 I have a CHEQUE LOG for US and Cdn cheque books. I want to insert two boxes in the header of a table layout that will show the last US and the last Cdn cheque number so that when I create a new record (cheque record) I know the next number. In my setup US cheques are numbered US0001 etc. and Cdn, CD0001 etc.. Any suggests or ideas on how to best do this? What I do here: create indexable number field or number result calc fields that hold only the numbers of the ID (0001 instead of CD0001). Same with a text field or text result calc field for US and CD. Create a TO of the same table, joining the present records type (US or CD) with itself (match: all US for a US, all CD for a CD). Use the max function to determi the highest number of the related records. --http://clk.ch |
#4
| |||
| |||
|
|
On Mar 23, 4:34=A0am, c... (AT) tele2 (DOT) ch (Christoph Kaufmann) wrote: Buckbuck <buck.matthe... (AT) yahoo (DOT) com> wrote: FM10 I have a CHEQUE LOG for US and Cdn cheque books. I want to insert two boxes in the header of a table layout that will show the last US and the last Cdn cheque number so that when I create a new record (cheque record) I know the next number. In my setup US cheques are numbered US0001 etc. and Cdn, CD0001 etc.. Any suggests or ideas on how to best do this? What I do here: create indexable number field or number result calc fields that hold only the numbers of the ID (0001 instead of CD0001). Same with a text field or text result calc field for US and CD. Create a TO of the same table, joining the present records type (US or CD) with itself (match: all US for a US, all CD for a CD). Use the max function to determi the highest number of the related records. Sorting the relationship by check number and using Last() would be much faster I believe. |
)![]() |
| Thread Tools | |
| Display Modes | |
| |