D
Daniel Jacobs
I want to set the default value of a table based form field to be the highest
current value of that record + 1. I assumed that I would simply put a SQL
statement in the default value property as below...
=(SELECT Max(t_consignment_lines.line_number) +1
FROM t_consignment_lines
where t_consignment_lines.customer_name=" "J Smith" AND
t_consignment_lines.customer_reference="1")
However, all I get is "#Name?" in the field.
Can somebody tell me what I am doing wrong please
current value of that record + 1. I assumed that I would simply put a SQL
statement in the default value property as below...
=(SELECT Max(t_consignment_lines.line_number) +1
FROM t_consignment_lines
where t_consignment_lines.customer_name=" "J Smith" AND
t_consignment_lines.customer_reference="1")
However, all I get is "#Name?" in the field.
Can somebody tell me what I am doing wrong please