E
E
Eugene2018-01-16 08:50:25
Oracle
Eugene, 2018-01-16 08:50:25

How to validate oracle db field in Delphi?

In general, what is the goal. Check for a Null field, and if empty, enter the current date, and if an error, then the error number in the error field.
The question is this. It is connected not through ADO. Through DOA components
Transferred to the TOracleSession form, logged in the session and added a dataset, specifying the above session data source.
So here's how to refer to a table field in Delphi So that
you can do it like this:

if (поле таблицы от 1 до конца) = NULL
then записать в это поле DateToStr(nsow)+TimeToStr(nsow)
else записать в поле error информацию от ошибке

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2018-01-16
@tsklab

added dataset
Add fields to it and work with them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question