close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

insert with no recordset

Thread began 2/15/2011 12:17 pm by davidp420108 | Last modified 2/16/2011 3:57 pm by davidp420108 | 1718 views | 11 replies


insert with no recordset

i am confused on how the insert works in datassist. there is no recordset defined (at least not showing in the DW behaviors screen).

My structure is a dealer_tbl with a joined table called inventory_tbl ( i think it is a left joined but not sure).

I want to insert a new record into the inventory_table but i need some data from the dealer_tbl. If i were making a recordset, i would join them and it is easy enough. but i dont understand the DA insert record. do i just make a recordset and insert to it, or do i need to create a session variable when they log in? or can i modify the following code to be a JOIN?

be prepared for me to ask a couple of follow up questions :)

// WA Application Builder Insert
if (isset($_POST["Insert_x"])) // Trigger
$WA_connection = $Auto_Sales;
$WA_table = "inventory_tbl";
$WA_sessionName = "WADA_Insert_inventory_tbl";
$WA_redirectURL = "";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_indexField = "Inventory_ID";
$WA_fieldNamesStr = "Dealer_Name|Price|Make|Model|Year|Engine|Drivetrain|Transmission|Mileage|Ext_Color|Int_Color|Body_Style|VIN|Stock_Number|Description|Date_Online|Expires|pwr_windows|pwr_locks|rear_slider|DVD|3rd_seat|premium_sound|leather|bed_liner|premium_wheels|Dealer_TBL_Dealer_ID|Status|City|Contact_Phone";

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...