Recent content by LyleMartin

  1. L

    Field Type with TOracleQuery

    OK I figured it out. Don't know why it even compiled the other way. But this is more what the method call should look like. Query.FieldDBType(QueryStyles.FieldAsString('disp_field_i'))=otClob For size it shoudl be Query.FieldSize('field_name') Thanks anyway. I knew if I posted a message...
  2. L

    Field Type with TOracleQuery

    Hello, I am trying to do something like the following. if Query.Field('field_name').FieldType=otClob I have also tried Query.Field('field_name').FieldDBType=otClob Of course it is more complicated than that.. it really looks like: Query.Field.(otherQuery.field('something')).FieldType (or...
  3. L

    TOracleQuery Exception

    I figured it out. With the web application I cannot access the TOracleQuery object directly. It is passed to another object. Cannot do Mainmodule.Query.Clear; Have to do passsedqueryobjectname.Querynewname.Clear; Both will compile -- so it is hard to find the error. This may make some...
  4. L

    TOracleQuery Exception

    I am writing a web application in Delphi 7 Pro. I use the DOA TOracleQuery object called Query to log the user on -- that works fine. Later in my code I do the following (similar to the logon query). Query.Clear; Query.SQL.Add(sqlstr); Query.Execute; I get an exception on the Query.Clear...
Back
Top