Check Box and table

Hi all,

I have a question about forms, check box and table.

I have to implement this pseudo-function

This is the structure of the form:

CheckBox boolean,

FieldA ___________

FieldB ___________

FieldC___________

FieldD___________

IF CheckBox TRUE

THEN FieldD is filled with data contained in a Field that belongs to a table

ELSE FieldD is filled with data contained in FieldC that referres to a field in another table.

I don’t understad how I can get data and put them in FieldD

FieldD := FieldC

Is that what you mean? The := is used to assign a value to a variable. And the value can be found in the SourceExpr property on the TextBox.