I am able to establish a connection to AS400 using ODBC socket and connection string. However, my account does not have enough permissions to see any data. I would like users to pass their authentication to AS400 via a Coldfusion form. Any ideas on params? Should they look like this:
<cfparam name="FORM.username" default="Your Username">
<cfparam password="FORM.password" default="Enter Password">
If so, then will they pass to AS400?
1 person found this helpful
Disclaimer: I'm not familiar with MAPICS.
If are trying connect to MAPIC using an OBDC or JDBC DSN setup in ColdFusion and execute SQL statements via CFQUERY you might try using the password and username attributes of CFQUERY.
<cfquery name="myQuery" datasource="myMapicsDsn" username="#form.username#" password="#form.password#">
<!--- your query here --->
Thanks Bob. I got it going using jt400.jar. I have to make another post because the data is returning gibberish in some places.