I have what should be a very simple problem.
I have a very simple form - local table for one user - that I have them enter data from.
This gets saved in table New_one. I then fill in some additional fields with values entered using the following in a Do while not EOF.
Replace Startdate with ASTRDATE
Basically populating 2 fields with 1 data entry before they are appended to another table.
If I run the program in the command window it works fine.
When I add it to the application none of the "REPLACE" statements work.
I have tried:
Replace New_one.Startdate with New_one.ASTRDATE
just to be more specific but even that doesn't work.
I use the file, select it, go to the top record then start my DO WHILE.
Again it works fine from the command window but not the executable.
I've run into this before and have solved it by scatter memvar and issuing m.field2=m.field1 then gather memvar - but figured I should learn why the replace command doesn't work.
Thanks.
I have a very simple form - local table for one user - that I have them enter data from.
This gets saved in table New_one. I then fill in some additional fields with values entered using the following in a Do while not EOF.
Replace Startdate with ASTRDATE
Basically populating 2 fields with 1 data entry before they are appended to another table.
If I run the program in the command window it works fine.
When I add it to the application none of the "REPLACE" statements work.
I have tried:
Replace New_one.Startdate with New_one.ASTRDATE
just to be more specific but even that doesn't work.
I use the file, select it, go to the top record then start my DO WHILE.
Again it works fine from the command window but not the executable.
I've run into this before and have solved it by scatter memvar and issuing m.field2=m.field1 then gather memvar - but figured I should learn why the replace command doesn't work.
Thanks.