Arrays
Richard Kreiss
rkreiss at gccconsulting.net
Tue Jun 25 14:24:05 PDT 2013
Same client:
filePro 5.6.10
Server: windows Server 2008
I have a number of routines that post data from on file to another where arrays are mapped to the sequential fields on the current file and an array is mapped to the matching fields in the other file.
Dim foobar(22):1;dim newfile(22):file(1)
Lookup to newfile free
::Ct="1"
Loop_po:ct lt "22":newfile[ct]=foobar[ct];ct=ct+"1";GOTO loop_po
The above has worked well for a couple of years. Recently it has not been working properly. By that I mean, some fields values are posted and other not. Phone numbers and date fields are not being posted.
The data is being imported from a csv file and then formatted to filePro field edits before being posted to the first import file. The import is checked and them posted to a second file during which more data is added before posting the actual working file.
I modified the posting file to not use the arrays.
Has anyone noticed or seen this problem?
Richard Kreiss
GCC Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7395 bytes
Desc: not available
Url : http://mailman.celestial.com/pipermail/filepro-list/attachments/20130625/be8b147f/attachment.bin
More information about the Filepro-list
mailing list