Hi,
I’m a little frustrated with my code below. It sometimes works and at other times it doesn’t. The code below is in a shared action button that composes a document. Before the user can create a request, I need their information. If the information is not in the database, they are prompted to enter their info. on the development contact form. If its already there, then they can go ahead and create a request. I’ve create this process to prevent the user from typing their information everytime they need to create a new request. Anyway, this action button is in every view and at times it works and at other times it doesn’t work at all (even though the users information is already in the database) They continue to be prompted for their information. Should I be coding this differently. Any assistance would be greatly appreciated ![]()
@If(@IsError(@DbLookup(“”:“NoCache”;“”;“Development Contact”;requestor;2));
@Do(@Prompt([Ok];“Contact Information Missing!”;“Please fill out your contact information on the following form.” );@Command([Compose];“Development Contact”));
@Command([Compose];“Production Form”))