How do I write the value of the autonumber field to a single line data field?

How do I write the value of the autonumber field to a single line data field?

Hi everyone,

I'm new to Creator, so please excuse the dumb questions...

I have two forms, Person and Cases. Each form has two fields - Name and Client_ID.  Person.Client_ID is an auto number field, but Cases.Client_ID is a single line data field. Cases.Name is a lookup based on Person.Name. I'm trying to update Cases.Client_ID on input with the value in Person.Client_ID, based on the looked up value in Cases.Name.

When I compile the script I get the following error message :

"Variable 'Client_ID' is already defined of data type 'STRING' but trying to update 'BIGINT' data type"

How do I write the value of the autonumber field to a single line data field?

Thanks
Sam