It's looking like this..
Subroutine On_Form_Exit( )
If @UpDate { @Save If odate > Date_Post { Xpost(@fn,oname,"vendors!vname", odate,"VLU","") Xpost(@fn,oname,"vendors!vname", opo,"po #","") }
@exit } If @Add and @Isblank(oname) { @exit } If @add { @save If odate > Date_Post { Xpost(@fn,oname,"vendors!vname", odate,"VLU","") Xpost(@fn,oname,"vendors!vname", opo,"po #","") }
@exit }
End Subroutine
The save and exit part works well but its not posting the data... Is " " or blank, less than a date? example in the above code If Date_Post is blank and odate is not it should post (if I have spelled everything right and have all the ducks where they are supposed to be)
|