M
mindlike
I have an unbound textbox "txtTicker" in a form where I would like to enter a
ticker ie. "IBM" to pull a rating "SchwabGrade" from a table "Model Data"
into another textbox "txtSER". The table is in L:"\Member\EventData.mdb"
I'm using this code below to try and do it: I continue to get the error:
Run time error 3061. Too few parameters. Expected 1. Seen lots of commentary
on the web about this error, but none that address my situation. Could
someone please help.
Set dbs = OpenDatabase("L:\Member\EventData.mdb")
Set rst = dbs.OpenRecordset("PARAMETERS " & Me.txtTicker & " Text(255);
SELECT [Model Data].SchwabGrade FROM [Model Data] WHERE ((([Model
Data].CompanySymbol) = " & Me.txtTicker & "))")
tickerField = rst
Me.txtSER = tickerField
dbs.Close
thanks in advance for any help
ticker ie. "IBM" to pull a rating "SchwabGrade" from a table "Model Data"
into another textbox "txtSER". The table is in L:"\Member\EventData.mdb"
I'm using this code below to try and do it: I continue to get the error:
Run time error 3061. Too few parameters. Expected 1. Seen lots of commentary
on the web about this error, but none that address my situation. Could
someone please help.
Set dbs = OpenDatabase("L:\Member\EventData.mdb")
Set rst = dbs.OpenRecordset("PARAMETERS " & Me.txtTicker & " Text(255);
SELECT [Model Data].SchwabGrade FROM [Model Data] WHERE ((([Model
Data].CompanySymbol) = " & Me.txtTicker & "))")
tickerField = rst
Me.txtSER = tickerField
dbs.Close
thanks in advance for any help