Re: Save Record($vptr_Table->)

2018-06-11 Thread Jody Bevan via 4D_Tech
Arnaud de Montard: Thanks, I will keep these in mind. These kinds of things are ‘hard’ to deal with until one comes upon the solution. The thing is to remember doing it, then it is not so bad. Jody > On Jun 11, 2018, at 2:56 AM, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: >

Re: Save Record($vptr_Table->)

2018-06-11 Thread Arnaud de Montard via 4D_Tech
> Le 10 juin 2018 à 23:18, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Sujit: > > I do not think it is a table number issue in our code. We built the local > pointer early into the new process by code similar to > $vptr_Table:=->[StandardOrder] > > In one last try, before g

Re: ​Save Record($vptr_Table->)

2018-06-10 Thread steve simpson via 4D_Tech
On Sun, Jun 10, 2018 at 5:01 PM, ​ ​ Jody Bevan wrote: The method that this err occurs in is used hundreds of time throughout the > system. All record saves go through it. > ​[snip] > ​Jody, do you happen to have a "mandatory" field in this table that normally gets filled in but in this one inst

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
Sujit: I do not think it is a table number issue in our code. We built the local pointer early into the new process by code similar to $vptr_Table:=->[StandardOrder] In one last try, before giving up on the few hours of code I wrote and go to my backup from last night, I compacted the structur

Re: Save Record($vptr_Table->)

2018-06-10 Thread Sujit Shah via 4D_Tech
t;> Hi Doug: > >> > >> I wrote this code in the method with the problem line: > >> > >> If (Table name($vptr_Table)="StandardOrder") > >>SAVE RECORD([StandardOrder]) > >> Else > >>SA

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
>> Hi Doug: >> >> I wrote this code in the method with the problem line: >> >> If (Table name($vptr_Table)="StandardOrder") >>SAVE RECORD([StandardOrder]) >> Else >>SAVE RECORD($vptr_Table->) >> End

Re: Save Record($vptr_Table->)

2018-06-10 Thread Pat Bensky via 4D_Tech
hod with the problem line: > > If (Table name($vptr_Table)="StandardOrder") > SAVE RECORD([StandardOrder]) > Else > SAVE RECORD($vptr_Table->) > End if > > The line traces and knows to use the correct branch. Therefore it does not >

Re: Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
Hi Doug: I wrote this code in the method with the problem line: If (Table name($vptr_Table)="StandardOrder") SAVE RECORD([StandardOrder]) Else SAVE RECORD($vptr_Table->) End if The line traces and knows to use the correct branch. Therefore it

Re: Save Record($vptr_Table->)

2018-06-10 Thread Douglas von Roeder via 4D_Tech
Jody: Try using the actual table name. What’s in//disable the trigger. On Sun, Jun 10, 2018 at 12:50 PM Jody Bevan via 4D_Tech < 4d_tech@lists.4d.com> wrote: > The method that this err occurs in is used hundreds of time throughout the > system. All record saves go through it. > > I have a record

Save Record($vptr_Table->)

2018-06-10 Thread Jody Bevan via 4D_Tech
The method that this err occurs in is used hundreds of time throughout the system. All record saves go through it. I have a record I used Add Record which opened up our ‘Input’ form. Within the Form Method On Load I update information in the record, and from the User Interface I update informat