Recent

Author Topic: [solved] DBGrid and Integer  (Read 2226 times)

php_Teufel

  • Newbie
  • Posts: 3
[solved] DBGrid and Integer
« on: November 26, 2012, 11:31:22 am »
Hello,

I'm new to Lazarus and I've th following Problem.

I want to edit an SQLite Table in a DBGrid, for DataAccess I use ZEOSDB

The Table has following format:

field1 : varchar(3)
field2 : varchar(1)
field3 : integer
field4 : varchar(30)

All Fields ars shown correct, but if I want to change the value of field3 I only can input one digit.

Can anybody help me?

Volker
« Last Edit: February 26, 2013, 10:21:38 am by php_Teufel »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: DBGrid and Integer
« Reply #1 on: November 26, 2012, 12:16:05 pm »
Wilkommen, Volker!

Don't use Zeos, but when asking questions on the forum, it helps to specify your operating system, Lazarus version (+FPC version if not using a stable Laz version), and in this case the Zeos version. If you're not using Zeos 7, I'd think the Zeos guys would recomment upgrading to Zeos 7.

Finally, you posted this in the LCL section of the forum; a better place for these kind of questions would be the Databases section.

Hope somebody can answer your question instead of telling how you should be asking questions ;)

regards,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018