This topic is locked
[SOLVED]

 default record to be added to add page of master details

9/4/2012 12:08:35 AM
ASPRunnerPro General questions
A
admin author

Hi,
how can we assign default records when we access add page of one master detail form. Master and detail is on same page.
Thanks & regards

Sami

Sergey Kornilov admin 9/4/2012

What are "default records". Need some sort of example or a screenshot.

A
admin author 9/6/2012

Hi,
when user click add button (for header and detail screen) then instead of blank screen it should look like as follow, hope I could explain.
Header Detail Add screen
generally when user arrive to add screen, it comes blank and then user adds record. Purpose is to save time as always these fix record will be there for this screen and only amount field will be edited accordingly before save.
thanks & regards

Sami

Sergey Kornilov admin 9/6/2012

I see what you saying.
Unfortunately ASPRunnerPro doesn't have such functionality. This can be implemented as a custom solution only. Contact support directly for a quote.
Another option that can probably work for you is to add master record and few details records programmatically and then point user to the Edit page (as opposed to the Add page).

A
admin author 9/6/2012

Thanks Sergey,
Second workaround solution, i have already implemented which is prgramaticaly adding and redirecting to edit page. but i have issue in this as i am using temporary table and every time i am deleting all record of that table and inserting required record. but in this case only issue is that if same time two user processing then it may delete other user temporary record.
aynway thanks
Sami

Sergey Kornilov admin 9/6/2012

Try to add an UserID field to temporary table so multiple users can use it at the same time. Make sure each user only deletes it's own records there.

A
admin author 9/7/2012

Thanks & appreciate you guidance.
I will try the same.
Thanks & regards

Sami