G
gert birkner
hi,
my form has to be filled with data from a stored procedure "getFirmaList"
with no parameters (SQL Server 2000). It always returns at least 1 record an
max. <50.
When I open the form on my developer station (office developer), everything
is fine, the Combo is filled with those records, the form´s parameters are
set correct and the form shows the correct data from the sp "getKundenDaten"
When I open this form on another client with access 2003 installed (like my
client), then access raeises the error (translated) "unallowed usage of
NULL".
Me.FirmenNr.ItemData(0) is indeed NULL. On my Client it has the correct
value.
When I execute the stored proc "getFirmaList" on the client machine I get
all the records correct.
Why fills access the form on my machine perfect and on any other machine not
at all.
Private Sub Form_Open(Cancel As Integer)
Me.FirmenNr.RowSource = "getFirmaList"
Me.FirmenNr = Me.FirmenNr.ItemData(0)
Me.InputParameters = "@firmennr int=" & CStr(FirmenNr)
Me.RecordSource = "getKundenDaten"
End Sub
my form has to be filled with data from a stored procedure "getFirmaList"
with no parameters (SQL Server 2000). It always returns at least 1 record an
max. <50.
When I open the form on my developer station (office developer), everything
is fine, the Combo is filled with those records, the form´s parameters are
set correct and the form shows the correct data from the sp "getKundenDaten"
When I open this form on another client with access 2003 installed (like my
client), then access raeises the error (translated) "unallowed usage of
NULL".
Me.FirmenNr.ItemData(0) is indeed NULL. On my Client it has the correct
value.
When I execute the stored proc "getFirmaList" on the client machine I get
all the records correct.
Why fills access the form on my machine perfect and on any other machine not
at all.
Private Sub Form_Open(Cancel As Integer)
Me.FirmenNr.RowSource = "getFirmaList"
Me.FirmenNr = Me.FirmenNr.ItemData(0)
Me.InputParameters = "@firmennr int=" & CStr(FirmenNr)
Me.RecordSource = "getKundenDaten"
End Sub