Jump to content

ChrisAnderson

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ChrisAnderson

  1. Hey people, I apologize if this is the wrong forum. Been a while since I used AutoIt. The last version I had - 6 = 7 years ago - had a popup for all warnings and errors that I could bypass and run/compile anyway. Such as I might have a variable defined in an IF statement - yes, bad coding practice. Please spare me all the "variable only take X amount of memory" or are "all stored in Y stack". I'm looking at some OLD legacy code. But the latest SciTE and AutoIt doesn't seem to have that in it anymore Or was there an additional download I needed to get to have that? I need to make a very small change, but it won't compile or run due to a few warnings (no errors). Any help would be appreciated.
  2. I realize this is a very old topic, but whenever I go to parse through my MySQL DB any text because a number - not the text.. ;**************************************** ; Get all Non-Active Articles ;**************************************** If Not _EzMYSql_Query('SELECT * FROM rars_articles WHERE IsActive = 1;') Then MsgBox(0, 'Query Error', 'Error: ' & @error & @CR & 'Error string: ' & _EzMySql_ErrMsg()) Exit Else For $i = 1 To _EzMySql_Rows() Step 1 $a1Row = _EzMySql_FetchData() MsgBox (0, "ID ", $a1Row[0] + 0) MsgBox (0, "Date", $a1Row[1] + 0) MsgBox (0, "Section", $a1Row[2] + 0) MsgBox (0, "Title", $a1Row[3] + 0) MsgBox (0, "Author", $a1Row[4] + 0) ;_ArrayDisplay($a1Row, "Result: " & $i) Next EndIf Where this should return a Text return for "Section", "Title", and "Author" it is returning 0 for each of those rows. Yet _ArrayDisplay displays them correctly: What am I doing wrong, please?
×
×
  • Create New...