Hi to all!
Next scenario:
I am having a dataform which has as main datasource a buffered view.
There are other tables involved in this form which have relation with maindata-source.
Problem:
After I create a new record using append blank the buffered view shows value of autoinc field 0 (zero).
As I need that value to keep relations with other tables involved I am looking for a generic solution.
I tried GETAUTOINCVALUE function but as far as I found that function retrieves the correct value after I have committed my new record. That is unwanted while still data must be input prior to commit that new generated record.
Any suggestions how to retrieve correct value?
TIA
-Bart
Next scenario:
I am having a dataform which has as main datasource a buffered view.
There are other tables involved in this form which have relation with maindata-source.
Problem:
After I create a new record using append blank the buffered view shows value of autoinc field 0 (zero).
As I need that value to keep relations with other tables involved I am looking for a generic solution.
I tried GETAUTOINCVALUE function but as far as I found that function retrieves the correct value after I have committed my new record. That is unwanted while still data must be input prior to commit that new generated record.
Any suggestions how to retrieve correct value?
TIA
-Bart