English
Online-Documentation

dbput function: data base, DBase, SQL

 

Michael
Wodrich
success% = @db("Put",s1,s2)

Syntax to v10.0: success% = @dbPut(s1,s2)

The String P:s2 becomes in area P:s1 the current Datensatzes written.

Parameter:
P:s1 - name the Field
P:s2 - New Content

The Return Value is 1, if the commands successful was. he's 0 (zero), if one Error auftrat (s.u.) or if attempts watts, with LINK:[DBPUT] one Memo-area To write. Hierfür is LINK:[dbPutMemo] To use.

During dbPut To Version 6.x everything kritiklos into Datentabelle written has, what then with the Indizierung (particularly with numerischen Feldern) To Problemen led, so becomes now everything screen and ggf. korrigiert and format:

T: Textfields go - How yet - ggf. on The Felflänge gekürzt. no Error.
n: Numerische boxes go screen and correctly format abgespeichert (rechtsbündig with führenden space and the definierten amount Nachkommastellen). If the with dbPut übergebene String not numerisch auszuwerten is, becomes dbPut not carryed out and gives 0 (zero) back.
L: Logische boxes: here becomes the first characters the input ausgewertet. The letters YyJjTt go as true gewertet and as "T" into scheduler geschrieben; with NnFf becomes one "F" written.
D: Datumsfelder must in the right db-stature (So how yet "JJJJMMTT") association go. Ausserdem must the date one gültiges gregorianisches date his. in the Fehlerfall gives dbPut 0 (zero) back.

in the Fehlerfall results no Error Message, separate the Return Value the function must of Programmer ausgewertet go: with 1 was everything OK, with 0 (zero) is a Error aufgetreten.

(in XBase famous under: REPLACE s1 WITH s2)

circa with the Feldnummer into Datenfeld To write becomes LINK:[dbPutField] inserted.

with numerischen Feldern can the data base-Content with LINKF:[Val] in a number transformed go, with LINKF:[Str] becomes again String from it.

for the Conversion of Datumsfeldern there The functions LINKF:[DToC] (String to date) and LINKF:[CToD] (date to String). this commands concerns only The "Arbeitskopie" the Datensatzes in memory. first with LINKF:[dbPutRec] becomes it for good into Datenbanktabelle written.

The Datenbankfelder Save any data as String. using tappt im dunkeln The installed Umwandlungsfunktionen.
 
Programmieren, das spannendste Detektivspiel der Welt.
01/19/38  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.709 Views

Untitledvor 0 min.
Ernst04/25/16
Untitled03/16/12
Georg12/13/11

Themeninformationen

this Topic has 1 subscriber:

Michael Wodrich (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie