PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Problem with memo fields
Problem with memo fields
Iniciado por HIS 21, 27,sep. 2016 11:55 - No hay respuesta
Miembro registrado
12 mensajes
Publicado el 27,septiembre 2016 - 11:55
Goodmorning everybody,

I have a big problem while using memo attributes, I will explane my problem with an example:

I have a file with 4 itmes, id, photo1, proto2, photo3.

I start to put record on the file with hLinkMemo() and hAdd().

First record, no problem, all works fine and, at the end of insertion, I've one record with 3 photos.

After adding the first record, I do hReset() and hLinkMemo(file, attribute), for all the memo items of the file to clear the link between image files and the record.

Second record: I add a record with only the photo1 item linked to an image and I don't use the others memo items. The record takes, for the photo2 and photo3 items, the images associated with the photo2 and photo3 items of the first record, then I've, at the end:

first record,
photo1 = x
photo2 = y
photo3 = z

second record,
photo1 = w
photo2 = y (instead of NULL)
photo3 = z (instead of NULL)

Can somebody help me with this problem?

Thanks.