O$ Build list from tab separated text file
Mike Rowan
michael.rowan3 at gmail.com
Sun Nov 6 01:40:25 UTC 2022
Thanks for reminding me of that command, Dan. And so quickly.
On Sun, Nov 6, 2022 at 11:53 AM <dlr at futurechalk.com> wrote:
> Hello,
>
> # Routine to import flat file
> #
> Set import file name [P_FULL_FILE_NAME]
> Switch P_TYPE_CD
> Case 'CD'
> Prepare for import from file Delimited (commas)
> Case 'TD'
> Prepare for import from file Delimited (tabs)
> Case 'UD'
> Prepare for import from file Delimited (user delimiter)
> Case 'FX'
> Prepare for import from file One field per line
> Case 'XML'
> End Switch
>
> Import data list-name
>
> Do O_FILE_OPS.$closefile(P_FULL_FILE_NAME) Returns L_ERROR_CD
>
> It has been awhile, but be something similar.
>
>
> Dan Ridinger
>
> > On Nov 5, 2022, at 6:06 PM, Mike Rowan <michael.rowan3 at gmail.com> wrote:
> >
> > Hi
> >
> > I have a four column list of integers, tab separated, which I would like
> to
> > import into an Omnis list.
> > I can pick it apart the hard way, but I wonder if there is an Omnis
> command
> > or other trick to make life easier?
> >
> > Anyone know? Thanks.
> > _____________________________________________________________
> > Manage your list subscriptions at https://lists.omnis-dev.com
> > Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
More information about the omnisdev-en
mailing list