Results 1 to 6 of 6

Thread: Report help...

  1. #1
    Join Date
    Jul 2003
    Posts
    292

    Unanswered: Report help...

    I have a form which searches for records ... When the user hits enter another forms pops up and ask for your name and the company you work for.. The user enters in the information hit ok and the form closes and a report of the records the user ask for pops up with the users name and company on the report.... The users name and company information gets added to a seperate table.. What I want to know is .. is there another way of adding the users name and company to the report without having to store it in a table.. Each time a user enters in the record they want to see they have to enter in there name and company.. can be different person each time.. This is for reporting purpose..

    any ideas ?

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    465
    You can define users name and company like Public in some where and use them.
    Saludos
    Norberto

  3. #3
    Join Date
    Jul 2003
    Posts
    292
    hmmm how would you do this ??

    thanks for the response

  4. #4
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    465
    Sorry is in spanish:
    En este ejemplo se utiliza la instrucción Public a nivel de módulo (sección General) de un módulo estándar para declarar variables como públicas, es decir, disponibles para todos los procedimientos en todos los módulos de todas las aplicaciones a menos que Option Private Module esté activada.

    Public Número As Integer ' Variable entera Public.
    Public NombreMatriz(1 To 5) As String
    ' Variable matriz Public.
    ' Declaraciones múltiples, dos Variants y una Integer,
    ' todas Public.
    Public MiVar, TuVar, EstaVar As Integer
    Saludos
    Norberto

  5. #5
    Join Date
    Jul 2003
    Posts
    292
    could you translate that ?

  6. #6
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    465
    I tray:
    In this example the instruction Public is in use at level of module (General section) of a standard module for declaring variables as public, that is to say, available for all the procedures in all the modules of all the applications until Private Option yourself Modulate be activated.
    Public Número As Integer ' Variable entera Public.
    Public NombreMatriz(1 To 5) As String
    ' Variable matriz Public.
    ' Declaraciones múltiples, dos Variants y una Integer,
    ' todas Public.
    Public MiVar, TuVar, EstaVar As Integer
    Saludos
    Norberto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •