Resumen Parametros en Crystal Report

Mensaje enviado por Mabel Apellido <mabmoore@yahoo.com>


1. Si tu parámetro va a un stored procedure:

StoredProcParam Property

[form.]Report.StoredProcParam(Parameter Array
Index%)[= newParameter$]

Ejemplo:

Report1.StoredProcParam(0) = "06/14/1989"

Remarks

StoredProcParam sets the value of the specified parameter in a SQL database table that is based on a stored procedure. Pass the value you wish to set the parameter to as a string. If the parameter expects a different data type, you still must pass the value as a string. For example, to pass the integer value 396, use the string "396".


2. Si lo que querés es cargar una fórmula:

Report1.Formulas(0) = "Nombre= '" & strNombre & "'"

------------------
Mab



Resumen Resumen

Visual Basic Página de Visual Basic

Página principal Página principal

www.jrubi.com