I am trying to create some test data in a table named Registration and
layout Registration: I want to populate the DateofRegistation field with a
proper date.

All I get is a ? in the field, all records, indicating an invalid value I
assume.

I can enter a date in the field manually OK.

 

Script is;

Go to Layout["Registration"(Registration)]

Go To Record/Request/Page [First]

Set Variable [$count;Value 1]

Loop

If [$count<1000]

                Set Field [Registration::DateofRegistration: 1/1/2008]

End if

Etc. for other dates

Set Variable [$count; Value:$count+1]

Go To Record/Request/Page [Next;Exit after last]

End Loop

 

And was there a way to Copy / Paste this? Scriptmaker would not let me do
it.

 

FM Pro 8.5 advanced, windows.

 

Thanks for any help.

Ron Carr

Reply via email to