Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing NUll Values

Status
Not open for further replies.

hafta

Programmer
Nov 24, 2002
7
US
Hello Guys,

How do I pass NULL Parameter to a stored procedure report through RDC API.

My PowerBulider's code is as follows :
String ls_null
SetNull(ls_null)

crystalreport_base.ole_crx_subreport[1].ParameterFields.GetItemByName("@Name").EnableNullValue = TRUE
crystalreport_base.ole_crx_subreport[1].ParameterFields.GetItemByName("@Name").SetCurrentValue(ls_null)

What's wrong in above code. Please help me. I know how to do it using .NET and C# but not using RDC model in PowerBuilder.

Thanks
Dilemma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top