Get value of Session in Record Selection

  • Thread starter Thread starter Alison Givens
  • Start date Start date
A

Alison Givens

Hi,

I want two Session values in my record selection query. The come out of an
other webform.
When I do it hardcoded, it works.
How dow I do this with the Session values?

Hardcoded:
Dim strSQL As String
strSQL = "ToText({AlleProductieveProjectUrenVerdeeldOverFilialen.Periode})
= '200409'"
strSQL = strSQL & " AND
ToText({AlleProductieveProjectUrenVerdeeldOverFilialen.Periode}) <= '200510'
myReport.RecordSelectionFormula = strSQL

What I want:
the values '200409' should be the Session.Item("BeginPeriode")
the value '200510' should be the Session.Item("EindPeriode")

Kind regards,
Alison
 
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
 
strSQL = "ToText({AlleProductieveProjectUrenVerdeeldOverFilialen.Periode})
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top