General information
Category:
Coding, syntax & commands
Title:
My view keeps moving to its last record
Ok I know that I should have used a private data environment but......
My view (v_ticket) keeps moving to its last record
I have a form (form1) that uses the public data environment.
this form manages the table v_ticket.
It calls another form (form2) which also uses the public data environment.
Form2 does not attempt to establish its own environment and has datasession set to public.
Form2 has a listbox on it that has nothing to do with v_ticket.
when the init event for my first object on form2 runs, the record pointer in v_ticket jumps to the last record.
This appears to be a sign of V_ticket getting requeried but I am not sure thats what is happening.
I suppose I can bodge my way out of the problem this by putting the record pointer back to where it should be but I wondered if someone can explain to me what is happening here.
I dont want to change the code to work with a private data session unless I have to because the form2 makes many references to a record in v_ticket.
Any help at all much appreciated
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only