Can i use database alias with dataasist?
will dataassist 2.0.6 recognize database alias names? It seems like it does not recognize them.
will dataassist 2.0.6 recognize database alias names? It seems like it does not recognize them.
No, it will not recognize alias names, only the original names that are assigned in the table.
ok how do i get around this problem because im getting an error saying
Ambiguous column name. i have several tables joined together via left joins.
i made the mistake of naming column names the same in 2 tables.
in the code that references the column name, you need to add the table name.
Send a copy of your page and I will show an example of what needs to be changed.
'comparison list additions
WADbSearch1_whereClause=BuildFilterString("products.master_cat","" & cStr( Request.QueryString("gauges") ) & "","","=",0,WADbSearch1_wildCard,WADbSearch1_dateSeparator,WADbSearch1_whereClause)
WADbSearch1_whereClause=BuildFilterString("products.catagory","" & cStr( Request.QueryString("auto") ) & "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_dateSeparator,WADbSearch1_whereClause)
WADbSearch1_whereClause=BuildFilterString("products.sub_cat","" & cStr( Request.QueryString("gauge_size") ) & "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_dateSeparator,WADbSearch1_whereClause)
WADbSearch1_whereClause=BuildFilterString("products.sub_cat_2","" & cStr( Request.QueryString("gauge_type") ) & "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_dateSeparator,WADbSearch1_whereClause)
my table is products so i added this to the query and it seems to work. Anywhere else i need to change it? would be nice if next release 2.0.7 just included the table name in front of the query section of code.
that should be all that needs to change.
I will add a feature request.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.