<% OPTION EXPLICIT '============================================ ' ' {webroot}/Tech/Family_Include.asp ' ' Entry Fields: ' ' Form Action: ' ' Code Action: ' ' ' '============================================ ' ' Code Changes ' ------------ ' July 24, 2001 - LWT ' - New Unit ' '============================================ %> <% '----------------------------------------------------------------------------------------- '- Declare local variables '----------------------------------------------------------------------------------------- DIM objConn ' Connection object DIM objRS, objRS2 ' Recordset object DIM sSQL, sSQL2 ' For SQL statements DIM sErrorMsg ' Local error message sErrorMsg = "" DIM iManufacturerID ' Stores ID of manufacturer selected in dropdown DIM iModelID ' Stores ID of selected phone model DIM iCurrentModelID ' Stores ID of selected phone model DIM bIsOnChangeAction ' Flag for when form is submitted by selecting a manufacturer from dropdown DIM bIsSubmission ' Flag indicating the form was submitted via the submit button bIsSubmission=FALSE DIM sLogoFilename ' Manufacturer logo filename from database DIM sPhoneImageFilename ' Phone image filename from database DIM objFS ' file system object DIM tmpStr DIM tmpInt '----------------------------------------------------------------------------------------- '- Initialize Local Objects '----------------------------------------------------------------------------------------- ON ERROR RESUME NEXT '- Set up the database connection SET objConn = Server.CreateObject("ADODB.Connection") '- Open database connection objConn.Open Application("Ositech_ConnectionString") '- Explicitly Create a recordset object SET objRS = Server.CreateObject("ADODB.Recordset") SET objRS2 = Server.CreateObject("ADODB.Recordset") IF Err.Number <> 0 THEN Session("sProblemEncounteredErrorString")="Error opening database." Response.Redirect("/aspModules/Errors/Failure_ProblemEncountered.asp") END IF ON ERROR GOTO 0 'create the file system object SET objFS = CreateObject("Scripting.FileSystemObject") '----------------------------------------------------------------------------------------- '- Determine the form mode '----------------------------------------------------------------------------------------- IF Request.Form("IsOnChangeAction")="trueNokia" THEN bIsSubmission=TRUE iManufacturerID=1 iModelID=Request.Form("NokiaModelID") END IF IF Request.Form("IsOnChangeAction")="trueMotorola" THEN bIsSubmission=TRUE iManufacturerID=2 iModelID=Request.Form("MotorolaModelID") END IF '----------------------------------------------------------------------------------------- '- Functions and Subroutines '----------------------------------------------------------------------------------------- '************************************************************************ ' sub to populate a dropdown from a lookup table '************************************************************************ SUB PopulateLookupDropDown(sTableName,sValueColName,sTextColName,iSelectedValue,sWhereClause) sSQL2= "" sSQL2 = sSQL2 & "SELECT " & sValueColName & "," & sTextColName & " " sSQL2 = sSQL2 & "FROM " & sTableName & " " sSQL2 = sSQL2 & sWhereClause objRS2.Open sSQL2,objConn WHILE NOT objRS2.EOF Response.Write "" objRS2.MoveNext WEND objRS2.Close END SUB %> Products :: Wireless Cellular Data Products
   
         
   
 
Cellular Data Products
Wireline Products
Cellular Data FAQs
What is CellFlex?
Cellular Checklist
Technologies At Work




To see which Wireless Cellular Data Product from Ositech is right for you, simply look up your model number in the pull-down menu for the brand of phone you own, and see which Ositech product is right for you. See each product's individual page for further information and compatibility lists.

If you already own a PC Card from Ositech and are looking for a wireless upgrade kit, please see the Wireless Cellular Data Upgrade Kit entry in Ositech's Accessories section, otherwise, please find your phone below:
" name="myForm"> <% IF NOT TRUE THEN %> <% END IF %>
<% '------------------------------------------------------------------------ '- Handle display of phone models after the form has been submitted '------------------------------------------------------------------------ IF bIsSubmission THEN '------------------------------------------------------ '- First, obtain the LOGO for the selected manufacturer '------------------------------------------------------ ' sSQL = "SELECT ManufacturerLogoLarge FROM Manufacturers WHERE ManufacturerID=" & iManufacturerID ' ON ERROR RESUME NEXT ' objRS.Open sSQL, objConn ' '- Obtain the logo graphic name ' IF NOT objRS.EOF THEN ' sLogoFilename = TRIM(objRS("ManufacturerLogoLarge")) ' IF sLogoFilename<>"" THEN ' '- Verify existence of logo graphic ' sLogoFilename="/images/ManufacturerLogos/" & sLogoFilename ' IF objFS.FileExists(Server.MapPath(sLogoFilename)) THEN ' '- Display logo graphic '

' END IF ' END IF ' END IF ' IF objRS.State=adStateOpen THEN objRS.Close ' IF Err.Number <> 0 THEN ' Session("sProblemEncounteredErrorString")="Error opening Manufacturers table." ' Response.Redirect("/aspModules/Errors/Failure_ProblemEncountered.asp") ' END IF ' ON ERROR GOTO 0 '------------------------------------------------------ '- Retrieve and display data for phone(s) '------------------------------------------------------ sSQL = "" sSQL = sSQL & "SELECT " sSQL = sSQL & " Products.ProductShortName, " sSQL = sSQL & " Products.ProductPageName, " sSQL = sSQL & " PhoneTable.PhoneID, " sSQL = sSQL & " PhoneTable.ManufacturerID, " sSQL = sSQL & " PhoneTable.PhoneName, " sSQL = sSQL & " PhoneTable.PhoneImageFilename, " sSQL = sSQL & " PhoneModeTable.PhoneModeName, " sSQL = sSQL & " Phone_ProductLinkingTable.OsitechProduct " sSQL = sSQL & "FROM Products " sSQL = sSQL & " INNER JOIN ((PhoneModeTable " sSQL = sSQL & " INNER JOIN PhoneTable " sSQL = sSQL & " ON PhoneModeTable.PhoneModeID = PhoneTable.PhoneModeID) " sSQL = sSQL & " INNER JOIN Phone_ProductLinkingTable " sSQL = sSQL & " ON (PhoneTable.PhoneID = Phone_ProductLinkingTable.PhoneID) " sSQL = sSQL & " AND (PhoneTable.PhoneID = Phone_ProductLinkingTable.PhoneID)) " sSQL = sSQL & " ON (Products.ProductID = Phone_ProductLinkingTable.ProductID) " sSQL = sSQL & " AND (Products.ProductID = Phone_ProductLinkingTable.ProductID) " sSQL = sSQL & "WHERE PhoneTable.ManufacturerID=" & iManufacturerID & " " '- Special case... if iModelID is 999, then display ALL phones IF iModelID<>999 THEN sSQL = sSQL & "AND PhoneTable.PhoneID=" & iModelID END IF ON ERROR RESUME NEXT objRS.Open sSQL, objConn IF Err.Number <> 0 THEN Session("sProblemEncounteredErrorString")="Error opening Phone table." Response.Redirect("/aspModules/Errors/Failure_ProblemEncountered.asp") END IF ON ERROR GOTO 0 %> <% DO WHILE NOT objRS.EOF '- Obtain the Phone Image name sPhoneImageFilename = TRIM(objRS("PhoneImageFilename")) IF sPhoneImageFilename<>"" THEN '- Verify existence of graphic sPhoneImageFilename="/images/PhoneImages/" & sPhoneImageFilename IF NOT objFS.FileExists(Server.MapPath(sPhoneImageFilename)) THEN '- Set to "Image not available" graphic sPhoneImageFilename="/images/PhoneImages/PhoneImageNotAvailable.gif" END IF ELSE '- Set to "Image not available" graphic sPhoneImageFilename="/images/PhoneImages/PhoneImageNotAvailable.gif" END IF %> <% LOOP %>
Phone Type Analog,
Digital or
Dual Mode
Compatible
Ositech Products
 <% =objRS("PhoneName")%>  <% =objRS("PhoneModeName")%> <% '------------------------------------------------------------ '- There may be multiple records for each PhoneID within the ' database. We want to display only a single table row for ' each of the records, with multiple lines for the "Ositech ' Compatible Product" column. '------------------------------------------------------------ iCurrentModelID = objRS("PhoneID") DO WHILE (iCurrentModelID = objRS("PhoneID")) AND NOT objRS.EOF iCurrentModelID = objRS("PhoneID") %> <% ' get the next record objRS.MoveNext IF objRS.EOF THEN EXIT DO LOOP '------------------------------------------------------------ %>
 
  • <% '- The objRS("OsitechProduct") field will usually contain ' a string like JoC, 5oC KoH etc. corresponding to the ' shortform name of the card. We need to provide a hyperlink ' on these shortforms to the actual product page. For the ' current record, we also have available ProductShortName ' and ProductPageName. ProductShortName is the string we will ' try to find a match on within the OsitechProduct field. If ' we DO find a match, we will provide a hyperlink to the ' string stored in the ProductPageName field ' ' Determine if there is a match of ProductShortName within OsitechProduct tmpInt = Instr(objRS("OsitechProduct"),objRS("ProductShortName")) IF tmpInt > 0 THEN '- Replace the ProductShortName string found within the OsitechProduct string ' with a hyperlink to ProductPageName string tmpStr = "" & objRS("ProductShortName") & "" Response.Write Replace(objRS("OsitechProduct"),objRS("ProductShortName"),tmpStr) ELSE '- Just display the raw OsitechProduct field Response.Write objRS("OsitechProduct") END IF %>
    <% END IF '------------------------------------------------------------------------ %>

    ©2010, Ositech Communications Inc.
    Ositech's Privacy Policy. For copyright information and our legal disclaimer, please click here
     

    <% '- Clean up ON ERROR RESUME NEXT IF IsObject(objRS) THEN IF objRS.State=adStateOpen THEN objRS.Close SET objRS = nothing END IF IF IsObject(objConn) THEN IF objConn.State=adStateOpen THEN objConn.Close SET objConn = nothing END IF SET objFS = nothing ON ERROR GOTO 0 %>