English
Online-Documentation

dbputfield function: data base, DBase, SQL

 

Michael
Wodrich
success% = @db("PutField",I1,s2)

Syntax to v10.0: success% = @dbPutField(I1,s2)

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

Parameter:
P:I1 - number 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 @DBPUTFIELD one Memo-area To write. Hierfür is LINK:[dbPutMemo] To use.

During @dbPutField 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 Feldlä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 dbPutField übergebene String not numerisch auszuwerten is, becomes dbPutField not carryed out and gives 0 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. Also must the date one gültiges gregorianisches date his. in the Fehlerfall gives dbPutField 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 is a Error aufgetreten.

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 LINK:[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.795 Views

Untitledvor 0 min.
Ernst04/25/16
Untitled03/16/12

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