Question : referencing form variables in adp views

hi,

I'd like to reference a combo box in a view -could u tell me the syntax for it?

i gather its something like N'forms!main!combo' but i'm getting nowhere with it

ordinary access syntax doesn't parse

thanks

dis

Answer : referencing form variables in adp views

In a .adp you can not use the query designer to reference form variables. Because the query designer is actually a view to the SQL Server query designer which of course does not know what an access form is.

You can reference the form variables by either building the complete SQL string in code or by using a stored procedure which you feed the form variables as parameters.
Random Solutions  
 
programming4us programming4us