Skip to Content
0
Former Member
Mar 09, 2009 at 05:32 PM

RecordSelectionFormula, a string is required.

38 Views

Hello.

I pass this string to a RecordSelectionFormula in a Crystal Reports document.

The report is developed with Crystal Reports 2008 and I use Visual Studio 2007.

"{incapalba.entrada} in " & cmbAlbaranDesde.Text & " to " & cmbAlbaranHasta.Text & " AND " & _

"{incapalba.serie} in '" & cmbSerieDesde.Text & "' to '" & cmbSerieHasta.Text & "' AND " & _

"{incapalba.cliente} in '" & cmbClienteDesde.Text & "' to '" & cmbClienteHasta.Text & "' AND " & _

"{inrepartos.numero} in " & cmbRepartoDesde.Text & " to " & cmbRepartoHasta.Text & " AND " & _

"{indetrepart.fecha}>=(date('" & FechaCRFormat(datFechaDesde.Text) & "')) AND " & _

"{indetrepart.fecha}<=(date('" & FechaCRFormat(datFechaHasta.Text) & "'))"

In Windows Server 2003 it works normally but in XP it does not work and launch a message telling "A string is required".

Why in XP?

The problem occurs with a simple "{incapalba.entrada}<= " & cmbAlbaranDesde.Text but only in XP.

Has anyone some ideas?

Thanks a lot.