Recent

Author Topic: How do I link the text box to a field in the database  (Read 783 times)

elzawey2020

  • New Member
  • *
  • Posts: 32
How do I link the text box to a field in the database
« on: July 11, 2019, 01:46:34 pm »
Hi guys
You are running an Android application connected to a data base
How do I link the text box to a field in the database? I can not find the text box within the tools in Lazuras
How to solve this problem

 :( :( :( :( :( :( :(

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: How do I link the text box to a field in the database
« Reply #1 on: July 11, 2019, 03:25:02 pm »
What "text box", which class is it?

I don't really know for Android, but Lazarus has TDBEdit, TDBMemo, TDBText, etc. all of which have a "Field" property to connect them to a specific DB field.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: How do I link the text box to a field in the database
« Reply #2 on: July 11, 2019, 05:42:52 pm »
@elzawey2020

Do you use LAMW? In the LAMW package you can find more than a hundred demos and there are 3 of them are about SQLite.

 

TinyPortal © 2005-2018