Hello all,
i am very new to the FM and i have v.4.1.
- To be very straight, i want to import data from SQL server to FM pro using ODBC which i was able to do but i am unable to pass dynamic sql i mean dynamic parameters while using ODBC dialog which has the title "specify ODBC sql query for <odbcname>", for intance i want to get records from a table having serial_no > x and i am not able to pass the parameter here.
- I have tried it using sql plugin where i am able to contruct the sql query dynamically, got connection to sql Db and executed the query using SQL Plugin commands like
Execute("SQL-Open","odbc|uname|pass") -to establish connection
Execute("SQL-execQuery","select query") -run a query on the open DB connection
but i am unable to fetch the data from the query results and unable to use the commands like
Execute("SQL-getRow","") -to get a row
Execute("SQL-getColumn","") -to get a column
please also guide me on how to pull data from sql server's different tables on one layout of FM.
can i pull data from more than 1 table on a single lay out?
these tables will be independent of each other.
this is very urgent...
waiting for the replies with some solutions...
thanks all in advance..