2 Fields in a record unique
Posted: Tue Aug 31, 2010 5:41 am
I tried to program that 2 fields in a record must be unique or the user get a error message. One of the field is a TEXT the other a DATE. Each day only one time the same text. My problem is that I have not any programmer skills(except CNC Machines and a bit basic from my old c64 or the config.ini from Q3A;) ).
I tried to transform the two fields to a group but nothing is working. Also I´m unable to script it for only one field in Xataface. In phpmysql is it no problem. But that didn´t help me...
Hope somebody can help me.
field 1: placa(TEXT)
field 2: fecha(DATE)
both unique with trigger
message for unique: the record is saved
message for not unique: record is not unique. Please check your datas.(not saved)
Thx for any help.
I tried to transform the two fields to a group but nothing is working. Also I´m unable to script it for only one field in Xataface. In phpmysql is it no problem. But that didn´t help me...
Hope somebody can help me.
field 1: placa(TEXT)
field 2: fecha(DATE)
both unique with trigger
message for unique: the record is saved
message for not unique: record is not unique. Please check your datas.(not saved)
Thx for any help.