Search results

  1. I

    Open different reports depending on a field.

    Thanks, but still continues to use the same report form for all cases
  2. I

    Open different reports depending on a field.

    Hi, thanks for the replies. here is the file. tipolinfoma is a number variable. what I need is from the form "CDTList_Print", that the "Print report para CDT" button opens the report for the records. I have 2 types of reports: DLBCLReport and LFReport. I need to open DLBCLReport when...
  3. I

    Open different reports depending on a field.

    Hi MarkK, thanks for the replay. I have tried an if else funcion: Private Sub PrintCDTBtn_Click() If Tipolinfoma = "1" Then DoCmd.OpenReport "DLBCLReport", acViewPreview Else: DoCmd.OpenReport "LFReport", acViewPreview End If End Sub --> this opens just LFReport for all records. I...
  4. I

    Open different reports depending on a field.

    Hi all! I need your help to write a code for a button (on click). I need to open reports from a record list, but depending on the field lymphomatype I need different reports. So if lymphomatype is 1, I need to use report1, if lymphomatype is 2, report2, and so on. Any ideas? Thanks in advance Ivan
Top Bottom