|
dzirkelb1 -> RE: Updata Database and Null Values (3/2/2005 15:21:05)
|
The PK field is EvalCode...any of the fields that are Entryway(x), Front(x), Dining(x), etc etc (Dining1, Front2, Entryway2, etc etc)....here is the full, working (minus null values) update query: quote:
<!--#include file="../../../_fpclass/fpdblib.inc"--> <% if 0 then %> <SCRIPT Language="JavaScript"> document.write("<div style='background: yellow; color: black;'>The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.</div>"); </SCRIPT> <% end if %> <% fp_sQry="UPDATE tblSixDollarServiceResults SET StoreID=::StoreID::, Manager='::Manager::', FoodBuy='::FoodBuy::', Entryway1=::Entryway1::, Entryway2=::Entryway2::, Entryway3=::Entryway3::, EntrywayComments='::EntrywayComments::', Drive1=::Drive1::, Drive2=::Drive2::, Drive3=::Drive3::, Drive4=::Drive4::, Drive5=::Drive5::, Drive6=::Drive6::, DriveTime='::DriveTime::', DriveComments='::DriveComments::', Front1=::Front1::, Front2=::Front2::, Front3=::Front3::, Front4=::Front4::, FrontComments='::FrontComments::', Dining1=::Dining1::, Dining2=::Dining2::, Dining3=::Dining3::, Dining4=::Dining4::, Dining5=::Dining5::, Dining6=::Dining6::, DiningTime='::DiningTime::', Dining7=::Dining7::, Dining8=::Dining8::, Dining9=::Dining9::, Dining10=::Dining10::, Dining11=::Dining11::, DiningComments='::DiningComments::', Product1=::Product1::, Product2=::Product2::, Product3=::Product3::, Product4=::Product4::, Product5=::Product5::, Product6=::Product6::, Product7=::Product7::, Product8=::Product8::, ProductComments='::ProductComments::', AdditionalComments='::AdditionalComments::', Edited=1 WHERE (EvalCode=::EvalCode::)" fp_sDefault="FoodBuy=&EvalCode=" fp_sNoRecords="<tr><td colspan=16 align=""LEFT"" width=""100%""></td></tr>" fp_sDataConn="HardeesEnterData" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=0 fp_fTableFormat=True fp_fMenuFormat=False fp_sMenuChoice="" fp_sMenuValue="" fp_sColTypes="&" fp_iDisplayCols=16 fp_fCustomQuery=True BOTID=0 fp_iRegion=BOTID %> <!--#include file="../../../_fpclass/fpdbrgn1.inc"--> <!--#include file="../../../_fpclass/fpdbrgn2.inc"-->
|
|
|
|