home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a025 / 10.ddi / BROWSE.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1992-03-12  |  10.5 KB  |  324 lines

  1. PrimaryWindow
  2. Browse Mode Example
  3. ffffffffffffffff
  4. ffffffffffffffffffffffffffffffffoo
  5. ooffofoof
  6. fofoo
  7. ofoof
  8. ofofffffffffffffof
  9. ffffffffffffff
  10. offfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
  11. fffffffffffffo
  12. ffffffffffffff
  13. fffffffoo
  14. ffffffffffffffffffffffffffffffffff
  15. ffffffffffffffff
  16. Form1
  17. Select_Button
  18. Select for Browse
  19. Label1
  20. Author ID:
  21. Author_ID_Label
  22. Label2
  23. Last Name:
  24. Last_Name_Edit
  25. Next_Button
  26. Next Row
  27. First_Name_Edit
  28. Label7
  29. First Name:
  30. Label3
  31. Phone:
  32. Phone_Edit
  33. Update_Button
  34. Update Row
  35. Label8
  36. Address:
  37. Address_Edit
  38. Label4
  39. City:
  40. 6    City_Edit
  41. Cancel_Query_Button
  42. Cancel Query
  43. Label5
  44. State:
  45. State_Edit
  46. Label6
  47.     Zip Code:
  48. Zip_Code_Edit
  49. Command1
  50. About
  51. Command3
  52. Label9
  53.     Contract:
  54. Contract_Edit
  55. VBSQL1
  56. VBSQL
  57. SQL Msg/Err
  58. VBSQL1_Error
  59. SqlConn,
  60. Severity
  61. ErrorNum
  62. ErrorStru
  63. RetCodeY
  64. VBSQL1_Message
  65. Message
  66. State
  67. MsgStr
  68. Command1_Click7
  69. Logon_Form
  70. Command3_Click 
  71. SqlClose#
  72. SqlWinExit
  73. Command2_Click
  74. Results
  75. SqlCmd?
  76. SqlExec
  77. SqlResultsh
  78. SqlNextRow
  79. NOMOREROWS-
  80. Bitmap_Listu
  81. Sqldata
  82. Form_ClickK
  83. @    Form_Load
  84. DBLIBERR
  85. DBLibError
  86. Count
  87. List1
  88.     ListCount=
  89. CmdStrn
  90.     SqlSetOpt
  91.     SQLBUFFER
  92. SqlRows
  93. Current_Row_Value
  94. BUFFULL
  95.     SqlGetRow]
  96. Query_Pending
  97. Num_Rows_Value
  98. SqlCount?
  99. Counter_Label
  100. Caption
  101. Movie_Num_Value
  102. Title_Inputj
  103. Rating_Input=
  104.     ListIndex
  105. Description_Input-
  106. Next_Control
  107. Enabled_
  108. Previous_Control
  109. Delete_Control
  110. Clear_Control
  111. Insert_Control
  112. Update_Control
  113. Store_ID_ListE
  114. BUFFUL
  115. Num_Rows_In_Buffero
  116. Store_ID_List_Click:
  117. Row_Num
  118. Store_Name_Label
  119. Store_Address_Label
  120. City_Label^
  121. State_Label
  122.     Zip_LabelM
  123. SQLRefillBuffert
  124. SQLRefilBuffer6
  125. SQLFill
  126. Buffer
  127. SQLFillBuffer
  128. bNum_Rows_In_Buffer
  129.     SqlClrBuf
  130. NumRowsInBufferJ
  131. RowNum
  132. 6465106
  133.     NumRowsIn
  134. MOREROWS
  135. lrBuf3    
  136. owsInBuffer
  137. Buffer_Size
  138. Buffer_Size_Edit@
  139. Command4_Click
  140. SQLCanQuerya
  141.     ClearList(
  142. Clear_List
  143. Form_MouseMove
  144. Buttons    
  145. Shift
  146. Author_ID_List
  147. Author_ID_List_Click
  148. Name_Label`
  149. Address_Label
  150. Contract_Label
  151. Phone_Label
  152. Refill_Buffer_Click
  153. Refill_Buffer_Button_Click}
  154. Select_Into_Buffer_Button_Click{
  155. Cancel_Query_Button_Click
  156. Refill_Buffer_ButtonY
  157. Cancel_Query_Button
  158. Select_Into_Buffer_Button
  159. Label3_Click
  160. Text1l
  161. remSQLFillBuffer
  162. SqlFirstRow
  163. SqlLastRow
  164. Buffer_Size_Input
  165. Buffer_Status_Label
  166. ClearAuthorInformationo
  167. Previous_Button
  168. Next_Button
  169. Previous_Button_Click
  170. Next_Button_ClickW
  171. Buffer_Status_Label_Click
  172. QueryActive
  173. Row_Selected_Label'
  174. LoadAuthorInformation
  175. Buffer_Size_Edit_Change0
  176. Form_UnloadP
  177. Cancel
  178. SQLFillBuffeZ
  179. About_Formq
  180. Update_Button
  181. SqlUpdConnG    @
  182. Select_Button_Click        
  183. Select_Button\    
  184. Author_ID_Edit2
  185.     Name_Editf
  186. Phone_Edit
  187. Address_Edit
  188.     City_Edit
  189. State_Edit
  190. Zip_Edit
  191. Contract_Edit
  192. Author_ID_Edit_Change
  193. Name_Edit_Change
  194. Phone_Edit_Change
  195. Address_Edit_Change
  196. City_Edit_ChangeB
  197. State_Edit_Change
  198. Zip_Code_Edit_Change
  199. Contract_Edit_Change'
  200. NOMORERESULTS
  201. uthor_ID_Edit
  202. Zip_Code_Edit
  203. State_Code_EditF
  204. ElseCancel_Query_Button
  205. Cancel_Query;
  206. MousePointer
  207. Update_Button_Click
  208. Update_Botton
  209. QualA
  210. SqlQual
  211. Author_ID_Label9
  212. First_Name_Edit_Change
  213. Last_Name_Edit_Change
  214. Last_Name_Edit
  215. First_Name_Edit
  216. contract
  217.     SqlUpdCmd
  218. SqlUpdExecO
  219. BeginF
  220. Logon
  221. Logi%
  222. Loging
  223. InitializeAppliation
  224. InitializeApplication
  225. DisplayDBLIBError
  226. DisplaySQLErrorC
  227. MessageStr
  228. PrimaryWindow
  229. ExitApplication\
  230. CheckForTimestampColumn
  231. ExecuteSQLCommand
  232. Table_Found
  233. Database
  234. CheckForImageTable
  235. SUCCEED
  236. PrimaryWindowTitlez
  237. ChangePrimaryWindowCaption
  238. CheckTableForTimestampColumn
  239. SqlUse
  240. Servername2
  241. alter
  242. table
  243. authors
  244.     timestamp
  245. update:
  246. au_id
  247. Timestamp_Found
  248. GetDatabaseName
  249. FALSE
  250. DisplayResultRow
  251. UpdateArray
  252. TableNameArray
  253. LoadArrays
  254. LoadTableNameArray
  255. ProcessResultRow
  256. UpdateValueArray
  257. au_lname
  258. Label2_Click
  259. InitializeUpdateArray
  260. DatabaseName
  261. SqlNameH
  262. VBSQL1_Error
  263. VBSQL1_Message
  264. Command3_Click
  265. Form_Load
  266. Browse Mode Example"
  267. Cancel_Query_Button_Click
  268.  Cancel Queryc
  269. ClearAuthorInformation
  270. Next_Button_Click
  271. No more rows in table.
  272. Command1_Click
  273. Select_Button_Click
  274.  Send Query to SQL Serverl
  275. Select * from authors for browse
  276. Phone_Edit_Change
  277. not changed"
  278. Address_Edit_Change
  279. not changed"
  280. City_Edit_Change
  281. not changed"
  282. State_Edit_Change
  283. not changed"
  284. Zip_Code_Edit_Change
  285. not changed"
  286. Contract_Edit_Change
  287. not changed"
  288. Update_Button_Click
  289. update authors set "
  290. not changed"
  291.  Replace final comma with space before adding qual string
  292.  Now add qual string
  293. First_Name_Edit_Change
  294. not changed"
  295. Last_Name_Edit_Change
  296. not changed"
  297. CheckForTimestampColumn
  298.  Change context to pubs sample database 
  299. The SQL Server you have logged
  300. into (
  301. ) does not contain the
  302. Pubs sample database."
  303.  Check to see if sample authors table has a timestamp column
  304. If 'timestamp' in (select c.name from syscolumns c, 
  305. sysobjects o where c.id = o.id and o.name = 'authors') "
  306. select -1 else select 0 
  307.  Add timestamp columni
  308. alter table authors add timestamp timestamp null "
  309.  Now initialize the timestamp values
  310. update authors set au_id = au_id
  311. Form_Unload
  312. LoadTableNameArray
  313. au_lname
  314. au_fname
  315. phone"
  316. address"
  317. state"
  318. contract
  319. ProcessResultRow
  320.  Get Qual String
  321. authors"
  322. InitializeUpdateArray
  323. not changed"
  324.